SPARC64: update localplt.data
[glibc.git] / ChangeLog
blob13adc3551db3f47c6f1992652382fad6dcc700ac
1 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
5 2016-06-30  Anton Blanchard  <anton@samba.org>
7         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
9         s_sinf-ppc64.
10         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
11         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
15 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
20         e_expf-ppc64.
21         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
22         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
23         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
24         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
26 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
28         [BZ #20277]
29         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
30         when SHARED is defined.
32 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
34         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
35         (index_arch_Prefer_ERMS): Likewise.
36         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
37         __memcpy_erms for Prefer_ERMS.
38         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
39         (__memmove_erms): Enabled for libc.a.
40         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
41         __memmove_erms or Prefer_ERMS.
42         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
43         __mempcpy_erms for Prefer_ERMS.
44         * sysdeps/x86_64/multiarch/memset.S (memset): Return
45         __memset_erms for Prefer_ERMS.
47 2016-06-30  Andreas Schwab  <schwab@suse.de>
49         [BZ #20262]
50         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
51         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
52         of memory.
54 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
56         [BZ #18645]
57         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
58         (test-extras): Add tst-cleanupx4aux.
59         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
60         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
61         tst-cleanupx4aux.o.
62         * nptl/tst-cleanupx4aux.c: New file.
64 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
66         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
68 2016-06-29  Andreas Schwab  <schwab@suse.de>
70         [BZ #20260]
71         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
72         address before the beginning of the string as an integer to avoid
73         array-bounds warning.
75 2016-06-28  Richard Henderson  <rth@redhat.com>
77         * elf/elf.h (EM_BPF): New.
78         (EM_NUM): Update.
79         (R_BPF_NONE, R_BPF_MAP_FD): New.
81         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
82         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
83         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
84         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
85         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
86         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
87         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
88         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
89         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
90         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
91         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
92         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
93         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
94         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
95         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
96         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
97         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
98         (EM_NUM): Update.
100 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
102         [BZ #18960]
103         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
104         Set _nl_current_LC_CATEGORY_used to two instead of one.
106 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
108         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
109         (do_test): ... this.
110         (TEST_FUNCTION): New macro.
111          Include test-skeleton.c.
112         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
113         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
115 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
117         [BZ #15479]
118         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
119         floating-point environment rather than just control word.
120         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
121         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
122         floating-point environment, with "invalid" exceptions merged in,
123         rather than just control word.
124         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
125         * math/libm-test.inc (trunc_test_data): Do not allow spurious
126         "inexact" exceptions.
128         [BZ #15479]
129         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
130         floating-point environment rather than just control word.
131         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
132         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
133         floating-point environment, with "invalid" exceptions merged in,
134         rather than just control word.
135         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
136         * math/libm-test.inc (floor_test_data): Do not allow spurious
137         "inexact" exceptions.
139         [BZ #15479]
140         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
141         floating-point environment rather than just control word.
142         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
143         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
144         floating-point environment, with "invalid" exceptions merged in,
145         rather than just control word.
146         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
147         * math/libm-test.inc (ceil_test_data): Do not allow spurious
148         "inexact" exceptions.
150 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
152         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
153         __libc_vfork.
154         (__vfork) [IS_IN (libc)]: Remove alias.
155         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
156         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
157         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
159 2016-06-24  Torvald Riegel  <triegel@redhat.com>
161         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
162         of atomic_compare_and_exchange_bool_rel.
163         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
164         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
165         catomic_compare_and_exchange_bool_rel): Remove.
166         * sysdeps/aarch64/atomic-machine.h
167         (atomic_compare_and_exchange_bool_rel): Likewise.
168         * sysdeps/alpha/atomic-machine.h
169         (atomic_compare_and_exchange_bool_rel): Likewise.
170         * sysdeps/arm/atomic-machine.h
171         (atomic_compare_and_exchange_bool_rel): Likewise.
172         * sysdeps/mips/atomic-machine.h
173         (atomic_compare_and_exchange_bool_rel): Likewise.
174         * sysdeps/microblaze/atomic-machine.h
175         ( __arch_compare_and_exchange_bool_8_rel,
176         __arch_compare_and_exchange_bool_16_rel): Likewise.
177         * sysdeps/powerpc/atomic-machine.h
178         ( __arch_compare_and_exchange_bool_8_rel,
179         __arch_compare_and_exchange_bool_16_rel): Likewise.
180         * sysdeps/powerpc/powerpc32/atomic-machine.h
181         ( __arch_compare_and_exchange_bool_32_rel,
182         __arch_compare_and_exchange_bool_64_rel): Likewise.
183         * sysdeps/powerpc/powerpc64/atomic-machine.h
184         ( __arch_compare_and_exchange_bool_32_rel,
185         __arch_compare_and_exchange_bool_64_rel): Likewise.
186         * sysdeps/tile/atomic-machine.h
187         (atomic_compare_and_exchange_bool_rel): Likewise.
189 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
191         [BZ #20296]
192         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
193         when either argument is a NaN.
194         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
195         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
197         * math/libm-test.inc (snan_value_ld): New macro.
198         (isgreater_test_data): Add sNaN tests.
199         (isgreaterequal_test_data): Likewise.
200         (isless_test_data): Likewise.
201         (islessequal_test_data): Likewise.
202         (islessgreater_test_data): Likewise.
203         (isunordered_test_data): Likewise.
204         (nextafter_test_data): Likewise.
205         (nexttoward_test_data): Likewise.
206         (remainder_test_data): Likewise.
207         (remquo_test_data): Likewise.
208         (significand_test_data): Likewise.
209         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
211 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
213         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
214         environment macros are defined.
215         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
217 2016-06-23  Florian Weimer  <fweimer@redhat.com>
219         [BZ #20191]
220         Implement vtable verification in libio.
221         * Makerules (shlib.lds): Place __libc_IO_vtables section.
222         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
223         * debug/vdprintf_chk.c (__vdprintf_chk): Call
224         _IO_new_file_init_internal instead of _IO_file_init.
225         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
226         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
227         * libio/Makefile (routines): Add vtables.
228         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
229         (_IO_init): Remove, not for internal use.
230         (_IO_init_internal): Declare, internal replacement for _IO_init.
231         (_IO_file_init): Remove, not for internal use.
232         (_IO_new_file_init): Remove, not for internal use.
233         (_IO_new_file_init_internal): Declare, internal replacement for
234         _IO_new_file_init.
235         (_IO_old_file_init): Remove, not for internal use.
236         (_IO_old_file_init_internal): Declare, internal replacement for
237         _IO_old_file_init.
238         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
239         internal use.
240         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
241         Declare.
242         (libio_vtable): New macro.
243         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
244         functions.
245         * libio/fileops.c (_IO_new_file_init_internal): Rename from
246         _IO_new_file_init.
247         (_IO_new_file_init): New externally visible wrapper which disables
248         vtable verification.
249         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
250         Define as vtables.
251         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
252         (_IO_init): New externally visible wrapper which disables
253         vtable verification.
254         * libio/iofdopen.c (_IO_new_fdopen): Call
255         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
256         comment.
257         * libio/iofopen.c (__fopen_internal): Call
258         _IO_new_file_init_internal instead of _IO_file_init.
259         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
260         Define as vtables.
261         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
262         _IO_new_file_init_internal instead of _IO_file_init.
263         * libio/iopopen.c (_IO_new_popen): Likewise.
264         (_IO_proc_jumps): Define as vtable.
265         * libio/iovdprintf.c (_IO_vdprintf): Call
266         _IO_new_file_init_internal instead of _IO_file_init.
267         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
268         (__open_memstream): Call _IO_init_internal instead of _IO_init.
269         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
270         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
271         _IO_old_file_init.
272         (_IO_old_file_init): New externally visible wrapper which disables
273         vtable verification.
274         (_IO_old_file_jumps): Define as vtable.
275         * libio/oldiofdopen.c (_IO_old_fdopen): Call
276         _IO_old_file_init_internal instead of _IO_old_file_init.
277         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
278         * libio/oldiopopen.c (_IO_old_popen): Likewise.
279         (_IO_old_proc_jumps): Define as vtable.
280         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
281         Define as vtables.
282         * libio/vtables.c: New file.
283         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
284         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
285         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
286         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
287         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
288         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
289         instead of _IO_init.
291 2016-06-23  Florian Weimer  <fweimer@redhat.com>
293         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
295 2016-06-23  Florian Weimer  <fweimer@redhat.com>
297         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
298         potentially unused.
300 2016-06-22  Florian Weimer  <fweimer@redhat.com>
302         * test-skeleton.c (write_message): New function.
303         * malloc/tst-mallocfork2.c (write_message): Remove.
304         * debug/tst-longjmp_chk2.c (write_indented): New function.
305         (write_message): Remove.
306         (stackoverflow_handler): Call write_indented.
308 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
310         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
311         "inexact" exceptions after fnstenv.
312         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
313         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
314         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
316 2015-06-22  Zack Weinberg  <zackw@panix.com>
318         * sysdeps/generic/bits/hwcap.h: Moved to ...
319         * bits/hwcap.h: Here.
321 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
323         * sysdeps/aarch64/memcpy.S (memcpy):
324         Further tuning for performance.
326 2016-06-21  Florian Weimer  <fweimer@redhat.com>
328         [BZ #20284]
329         * malloc/arena.c (reused_arena): Do not return NULL if we start
330         out with a non-corrupted arena.
332 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
334         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
335         * misc/tst-preadvwritev.c: New file.
336         * misc/tst-preadvwritev64.c: Likewise.
337         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
338         usage.
339         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
340         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
341         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
342         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
344 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
346         [BZ #19654]
347         * sysdeps/x86_64/fpu/Makefile: Added new tests.
348         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
349         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
350         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
351         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
352         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
353         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
354         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
355         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
356         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
357         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
358         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
359         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
360         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
361         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
362         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
363         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
364         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
365         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
366         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
367         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
368         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
369         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
370         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
371         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
372         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
374 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
376         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
377         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
379 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
381         * sysdeps/aarch64/memcpy.S (memcpy):
382         Rewrite of optimized memcpy and memmove.
383         * sysdeps/aarch64/memmove.S (memmove): Remove
384         memmove code (merged into memcpy.S).
386 2016-06-20  Florian Weimer  <fweimer@redhat.com>
388         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
389         * sysdeps/generic/dl-dtv.h: New file.
390         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
391         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
392         (dtv_t): Remove.
393         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
394         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
395         (dtv_t): Remove.
396         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
397         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
398         (dtv_t): Remove.
399         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
400         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
401         (dtv_t): Remove.
402         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
403         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
404         (dtv_t): Remove.
405         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
406         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
407         (dtv_t): Remove.
408         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
409         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
410         (dtv_t): Remove.
411         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
412         (dtv_t): Remove.
413         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
414         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
415         (dtv_t): Remove.
416         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
417         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
418         (dtv_t): Remove.
419         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
420         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
421         (dtv_t): Remove.
422         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
423         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
424         (dtv_t): Remove.
425         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
426         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
427         (dtv_t): Remove.
428         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
429         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
430         (dtv_t): Remove.
431         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
432         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
433         (dtv_t): Remove.
434         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
435         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
436         (dtv_t): Remove.
438 2016-06-20  Florian Weimer  <fweimer@redhat.com>
440         Revert symbol poisoning of  __malloc_initialize_hook.
441         * include/stdc-predef.h (__malloc_initialize_hook): Remove
442         poisoning.
443         * malloc/Makefile: Remove un-poisoning.
444         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
445         instead of old__malloc_initialize_hook.
446         * malloc/malloc-hooks.h: Likewise.
447         * malloc/malloc.c: Likewise.
448         * malloc/mcheck-init.c: Likewise.
450 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
452         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
454 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
456         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
457         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
458         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
459         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
461 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
463         * NEWS: Mention addition of nextup and nextdown.
464         * manual/arith.texi: Document nextup and nextdown.
465         * manual/libm-err-tab.pl: Add nextup and nextdown.
466         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
467         * math/Versions (libm): Add GLIBC_2.24.
468         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
469         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
470         Add new test.
471         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
472         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
473         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
474         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
475         (nextup_test_data): Likewise.
476         (nextdown_test_data): Likewise.
477         * math/s_nextdown.c: New file.
478         * math/s_nextdownf.c: Likewise.
479         * math/s_nextdownl.c: Likewise.
480         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
481         F(nextup): New function.
482         F(nextdown): Likewise.
483         * math/tgmath.h: Add nextup and nextdown.
484         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
485         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
486         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
487         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
488         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
489         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
490         Add nextup and nextdown.
491         (CFLAGS-nldbl-nextup.c): New variable.
492         (CFLAGS-nldbl-nextdown.c): Likewise.
493         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
494         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
495         * sysdeps/nacl/libm.abilist: Update.
496         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
497         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
498         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
499         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
500         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
501         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
502         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
503         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
504         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
505         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
506         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
507         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
510         Likewise.
511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
513         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
514         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
515         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
516         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
517         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
520         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
521         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
522         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
523         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
525 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
527         * manual/pattern.texi: Fix typos & grammar errors.
529 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
531         * manual/search.texi: Fix typos & grammar errors.
533 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
535         * manual/message.texi: Fix typos & grammar errors.
537 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
539         * manual/contrib.texi: Fix spelling typos.
540         * manual/crypt.texi: Likewise.
541         * manual/filesys.texi: Likewise.
542         * manual/locale.texi: Likewise.
543         * manual/message.texi: Likewise.
544         * manual/nss.texi: Likewise.
545         * manual/string.texi: Likewise.
547 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
549         * manual/locale.texi: Fix typos & grammar errors.
551 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
553         * manual/charset.texi: Fix typos & grammar errors.
555 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
557         * manual/string.texi: Fix typos.
559 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
561         * manual/ctype.texi: Fix typos.
563 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
565         * manual/memory.texi: Fix various typos & grammar errors.
567 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
569         [BZ #20255]
570         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
571         * math/libm-test.inc (fdim_test_data): Add another test.
573         [BZ #6796]
574         [BZ #20255]
575         [BZ #20256]
576         * math/s_fdim.c: Include <math_private.h>.
577         (__fdim): Use math_narrow_eval on result.
578         * math/s_fdimf.c: Include <math_private.h>.
579         (__fdimf): Use math_narrow_eval on result.
580         * sysdeps/i386/fpu/s_fdim.S: Remove file.
581         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
582         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
583         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
584         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
585         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
586         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
587         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
588         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
589         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
590         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
591         * math/libm-test.inc (fdim_test_data): Expect errno setting on
592         overflow.  Add sNaN tests.
594         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
595         fpclassify.
596         * math/s_fdimf.c (__fdimf): Likewise.
597         * math/s_fdiml.c (__fdiml): Likewise.
599 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
601         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
602         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
604         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
605         ifunc'ed strcasecmp/strncasecmp.
606         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
607         [EALIGN]: Removed.
608         [END]: Likewise.
609         [__strcasecmp]: Define instead of the above to control symbol name.
610         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
611         for __strcasecmp_power8.
612         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
613         for __strncasecmp_power8.
614         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
615         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
616         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
617         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
618         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
619         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
621 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
623         [BZ #20252]
624         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
625         arguments when second argument is a NaN.
626         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
627         qNaN tests.
629         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
630         (conj_test_data): Likewise.
631         (copysign_test_data): Likewise.
632         (creal_test_data): Likewise.
633         (fma_test_data): Likewise.
634         (fmod_test_data): Likewise.
636         [BZ #20250]
637         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
638         itself.
639         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
640         zero input to itself.
641         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
642         Likewise.
643         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
644         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
645         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
646         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
647         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
649 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
651         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
652         * nptl/tst-cancel4-common.c: New file.
653         * nptl/tst-cancel4-common.h: Likewise.
654         * nptl/tst-cancel4.c: Move common definitions to
655         tst-cancel4-common.{c,h} file.
656         * nptl/tst-cancel4_1.c: New test.
657         * nptl/tst-cancel4_2.c: New test.
659 2016-06-13  Florian Weimer  <fweimer@redhat.com>
661         [BZ #20248]
662         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
663         (write_message): New function.
664         (stackoverflow_handler): Call it instead of printf, to avoid
665         excessive stack usage by printf.
666         (do_test): Restore SIGSEGV, SIGBUS default handlers.
668 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
670         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
671         (prio_inherit_missing): Remove define.
672         * sysdeps/unix/sysv/linux/arm/kernel-features.h
673         (__ASSUME_FUTEX_LOCK_PI): Likewise.
674         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
675         Likewise.
676         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
677         (__ASSUME_FUTEX_LOCK_PI): Likewise.
678         * sysdeps/unix/sysv/linux/mips/kernel-features.h
679         (__ASSUME_FUTEX_LOCK_PI): Likewise.
680         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
681         (__ASSUME_FUTEX_LOCK_PI): Likewise.
683 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
685         [BZ #19670]
686         [BZ #19672]
688         * io/test-lfs.c (do_prepare): Use xmalloc.
689         * io/tst-fcntl.c (do_prepare): Likewise.
690         * libio/tst-fopenloc.c (do_bz17916): Likewise.
691         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
692         * login/tst-utmp.c (do_prepare): Likewise.
693         * posix/tst-exec.c (do_prepare): Likewise.
694         * posix/tst-pathconf.c (prepare): Likewise.
695         * posix/tst-spawn.c (do_prepare): Likewise.
696         * posix/tst-truncate.c (do_prepare): Likewise.
697         * rt/tst-aio.c (do_prepare): Likewise.
698         * rt/tst-aio64.c (do_prepare): Likewise.
700 2016-06-11  Florian Weimer  <fweimer@redhat.com>
702         [BZ #20237]
703         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
704         (get*ent): Set entidx to NULL during initialization.  If entidx is
705         NULL, start iteration from the beginning.
707 2016-06-11  Florian Weimer  <fweimer@redhat.com>
709         * malloc/malloc.c (musable): Return correct size for dumped fake
710         mmapped chunk.
712 2016-06-11  Florian Weimer  <fweimer@redhat.com>
714         [BZ #20222]
715         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
716         (_IO_cookie_write): Likewise.
717         (_IO_cookie_seek): Likewise.
718         (_IO_cookie_close): Likewise.
719         (_IO_old_cookie_seek): Likewise.
720         (set_callbacks): New function.
721         (_IO_cookie_init): Call set_callbacks to copy callbacks.
723 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
725         * locale/programs/localedef.c (oldstyle_tables): Remove.
726         * locale/programs/localedef.h (oldstyle_tables): Likewise.
728 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
730         [BZ #20240]
731         * math/Makefile (CFLAGS-s_modf.c): New variable.
732         (CFLAGS-s_modff.c): Likewise.
733         (CFLAGS-s_modfl.c): Likewise.
734         * math/libm-test.inc (modf_test_data): Add sNaN tests.
736 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
738         [BZ #20215]
739         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
740         [!__GNUC_PREREQ (3,2)]: Likewise.
742 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
744         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
745         (msghdr.msg_controllen): Likewise.
746         (cmsghdr.cmsg_len): Likewise.
747         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
748         ptw-oldsendmsg.
749         (CFLAGS-oldrecvmsg.c): Remove rule.
750         (CFLAGS-oldsendmsg.c): Likewise.
751         (CFLAGS-recvmsg.c): Add rule.
752         (CFLAGS-sendmsg.c): Likewise.
753         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
754         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
755         (CFLAGS-recvmsg.c): Remove rule.
756         (CFLAGS-sendmsg.c): Likewise.
757         (CFLAGS-oldrecvmsg.c): Likewise.
758         (CFLAGS-oldsendmsg.c): Likewise.
759         (CFLAGS-recvmmsg.c): Likewise.
760         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
761         to kernel defined interfaces.
762         (msghdr.msg_controllen): Likewise.
763         (cmsghdr.cmsg_len): Likewise.
764         (msghdr.__glibc_reserved1): Remove member.
765         (msghdr.__glibc_reserved2): Likewise.
766         (cmsghdr.__glibc_reserved1): Likewise.
767         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
768         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
769         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
770         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
771         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
772         version.
773         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
774         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
775         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
776         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
777         Remove recvmsg and sendmsg.
778         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
779         Likewise.
780         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
781         Likewise.
782         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
783         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
784         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
785         Likewise.
786         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
787         Likewise.
788         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
789         [libc] (GLIBC_2.24): Likewise.
790         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
791         Likewise.
792         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
793         Likewise.
794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
795         [libc] (GLIBC_2.24): Likewise.
796         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
797         Likewise.
798         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
799         Likewise.
800         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
801         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
802         Likewise.
803         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
804         Likewise.
805         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
806         Likewise.
807         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
808         Likewise.
809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
810         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
811         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
812         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
813         version for {recv,send,recm,sendm}msg.
814         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
815         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
816         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
817         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
818         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
819         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
820         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
821         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
822         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
823         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
824         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
825         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
827         Likewise.
828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
829         Likewise.
830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
832         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
833         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
834         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
835         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
836         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
837         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
840         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
841         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
842         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
844 2016-06-10  Florian Weimer  <fweimer@redhat.com>
846         [BZ #19564]
847         Remove __malloc_initialize_hook from the API.
848         * malloc/malloc.h (__malloc_initialize_hook): Remove.
849         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
850         #pragma GCC poison.
851         * malloc/malloc-hooks.h: New file.
852         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
853         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
854         (old__malloc_initialize_hook): Rename from
855         __malloc_initialize_hook to evade poisoning.  Turn into compat
856         symbol.
857         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
858         __malloc_initialize_hook.
859         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
860         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
861         * manual/memory.texi (Hooks for Malloc): Remove
862         __malloc_initialize_hook.  Adjust hook example.
864 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
866         [BZ #20235]
867         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
868         itself.
869         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
870         * math/libm-test.inc (log2_test_data): Add sNaN tests.
872         [BZ #20234]
873         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
874         infinity or NaN input to itself.
876         [BZ #20233]
877         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
878         to itself.
880         [BZ #20232]
881         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
882         itself.
884 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
886         * sysdeps/x86_64/start.S (_start): Always indirect branch to
887         __libc_start_main via GOT.
889 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
891         * sysdeps/x86_64/memcopy.h: New file.
892         * sysdeps/x86_64/wordcopy.c: Likewise.
894 2016-06-09  Florian Weimer  <fweimer@redhat.com>
896         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
897         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
898         <cstdlib>.
899         (optimization_barrier): New.
900         (do_test): Use it.  Call quick_exit in the global namespace.
901         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
902         instead of <cstdlib>, <thread>.
903         (optimization_barrier): New.
904         (non_main_thread): Adjust declaration.  Call optimization_barrier.
905         Call quick_exit in the global namespace.
906         (do_test): Call optimization_barrier.  Use pthread_create,
907         pthread_join instead of std::thread.
909 2016-06-09  Andreas Schwab  <schwab@suse.de>
911         [BZ #19755]
912         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
913         new entries in auto-propagate mode.
914         * nscd/grpcache.c (cache_addgr): Likewise.
916 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
918         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
919         New functions.
920         (add_temp_file): Use them.
922 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
924         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
926 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
928         [BZ #20229]
929         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
930         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
931         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
933         [BZ #20228]
934         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
935         itself.
936         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
937         * math/libm-test.inc (log10_test_data): Add sNaN tests.
939         [BZ #20227]
940         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
941         itself.
942         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
943         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
944         * math/libm-test.inc (log_test_data): Add sNaN tests.
946         [BZ #20226]
947         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
948         itself.
949         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
950         * math/libm-test.inc (exp_test_data): Add sNaN tests.
951         (exp10_test_data): Likewise.
952         (expm1_test_data): Likewise.
954         [BZ #20225]
955         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
956         itself.
957         * math/s_ldexpf.c (__ldexpf): Likewise.
958         * math/s_ldexpl.c (__ldexpl): Likewise.
959         * math/w_scalbln.c (__w_scalbln): Likewise.
960         * math/w_scalblnf.c (__w_scalblnf): Likewise.
961         * math/w_scalblnl.c (__w_scalblnl): Likewise.
962         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
963         (scalbln_test_data): Likewise.
965         [BZ #20224]
966         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
967         argument to itself.
968         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
970 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
972         [BZ #19776]
973         * sysdeps/x86_64/memcpy.S: Make it dummy.
974         * sysdeps/x86_64/mempcpy.S: Likewise.
975         * sysdeps/x86_64/memmove.S: New file.
976         * sysdeps/x86_64/memmove_chk.S: Likewise.
977         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
978         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
979         * sysdeps/x86_64/memmove.c: Removed.
980         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
981         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
982         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
983         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
984         Likewise.
985         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
986         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
988         memcpy-sse2-unaligned, memmove-avx-unaligned,
989         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
990         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
991         (__libc_ifunc_impl_list): Replace
992         __memmove_chk_avx512_unaligned_2 with
993         __memmove_chk_avx512_unaligned.  Remove
994         __memmove_chk_avx_unaligned_2.  Replace
995         __memmove_chk_sse2_unaligned_2 with
996         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
997         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
998         with __memmove_avx512_unaligned.  Replace
999         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1000         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1001         with __memcpy_chk_avx512_unaligned.  Remove
1002         __memcpy_chk_avx_unaligned_2.  Replace
1003         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1004         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1005         Replace __memcpy_avx512_unaligned_2 with
1006         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1007         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1008         with __mempcpy_chk_avx512_unaligned.  Remove
1009         __mempcpy_chk_avx_unaligned_2.  Replace
1010         __mempcpy_chk_sse2_unaligned_2 with
1011         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1012         Replace __mempcpy_avx512_unaligned_2 with
1013         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1014         Replace __mempcpy_sse2_unaligned_2 with
1015         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1016         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1017         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1018         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1019         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1020         (ENTRY): Removed.
1021         (END): Likewise.
1022         (ENTRY_CHK): Likewise.
1023         (libc_hidden_builtin_def): Likewise.
1024         Don't include ../memcpy.S.
1025         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1026         __memcpy_chk_avx512_unaligned_erms and
1027         __memcpy_chk_avx512_unaligned.  Use
1028         __memcpy_chk_avx_unaligned_erms and
1029         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1030         Default to __memcpy_chk_sse2_unaligned.
1031         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1032         Change function suffix from unaligned_2 to unaligned.
1033         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1034         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1035         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1036         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1037         (ENTRY): Removed.
1038         (END): Likewise.
1039         (ENTRY_CHK): Likewise.
1040         (libc_hidden_builtin_def): Likewise.
1041         Don't include ../mempcpy.S.
1042         (mempcpy): New.  Add a weak alias.
1043         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1044         __mempcpy_chk_avx512_unaligned_erms and
1045         __mempcpy_chk_avx512_unaligned.  Use
1046         __mempcpy_chk_avx_unaligned_erms and
1047         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1048         Default to __mempcpy_chk_sse2_unaligned.
1050 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1052         [BZ #19881]
1053         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1054         into ...
1055         * sysdeps/x86_64/memset.S: This.
1056         (__bzero): Removed.
1057         (__memset_tail): Likewise.
1058         (__memset_chk): Likewise.
1059         (memset): Likewise.
1060         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1061         defined.
1062         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1063         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1064         (__memset_zero_constant_len_parameter): Check SHARED instead of
1065         PIC.
1066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1067         memset-avx2 and memset-sse2-unaligned-erms.
1068         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1069         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1070         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1071         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1072         (__bzero): Enabled.
1073         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1074         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1075         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1076         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1077         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1078         (memset): Removed.
1079         (__memset_chk): Likewise.
1080         (MEMSET_SYMBOL): New.
1081         (libc_hidden_builtin_def): Replace __memset_sse2 with
1082         __memset_sse2_unaligned.
1083         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1084         __memset_chk_sse2 and __memset_chk_avx2 with
1085         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1086         Use __memset_chk_sse2_unaligned_erms or
1087         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1088         __memset_chk_avx512_unaligned_erms and
1089         __memset_chk_avx512_unaligned.
1091 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1093         * math/gen-auto-libm-test.c (fp_format_desc): remove
1094         suffix member.
1095         (output_generic_value): Remove usage of suffix member,
1096         and the resulting unuse of the fp_format argument.
1097         (output_for_one_input_case): Remove unused fp_format
1098         parameter.
1100         * math/auto-libm-test-out: Regenerate.
1102         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1103         usage with TEST_COND_ibm128.
1104         (TEST_COND_flt_32): Remove.
1105         (TEST_COND_dbl_64): Remove.
1106         (TEST_COND_ldbl_96_intel): Remove.
1107         (TEST_COND_ldbl_96_m68k): Remove.
1108         (TEST_COND_ldbl_128): Remove.
1110 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1112         * auto-libm-test-in:
1113         Replace flt-32 usage with binary32.
1114         Replace dbl-64 usage with binary64.
1115         Replace ldbl-intel-96 usage with intel96.
1116         Replace ldbl-m68k-96 usage with m68k96.
1117         Replace ldbl-128ibm usage with ibm128.
1118         Replace ldbl-128 usage with binary128.
1120         * auto-libm-test-out: Regenerate.
1122 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1124         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1125         (parse_ulps): Dynamically generate type name matching
1126         string from all_floats.
1127         (get_ulps): Generate the ulps as an array instead.
1128         (output_ulps): Dynamically compose the type based
1129         on the number of supported formats, and print
1130         the indices as type specific helper macros.
1132         * math/libm-test.inc: Remove comment about CHOOSE.
1133         (ulp_data): Generate the type in libm-test-ulps.h.
1134         (ULP_IDX): New macro.
1135         (find_ulps): Update usage of max_ulp.
1137         * math/test-double-vlen2.h (CHOOSE): Remove.
1138         * math/test-double-vlen4.h (CHOOSE): Likewise.
1139         * math/test-double-vlen8.h (CHOOSE): Likewise.
1140         * math/test-float.c (CHOOSE): Likewise.
1141         * math/test-float-finite.c (CHOOSE): Likewise.
1142         * math/test-double.c (CHOOSE): Likewise.
1143         * math/test-double-finite.c (CHOOSE): Likewise.
1144         * math/test-idouble.c (CHOOSE): Likewise.
1145         * math/test-ifloat.c (CHOOSE): Likewise.
1146         * math/test-ildoubl.c (CHOOSE): Likewise.
1147         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1148         * math/test-ldouble.c (CHOOSE): Likewise.
1150         * math/test-float.h (TEST_FLOAT): Remove.
1151         * math/test-double.h (TEST_DOUBLE): Likewise.
1152         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1154 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1156         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1157         (parse_args): Strip C suffix from floating point literals
1158         typed with 'f' and wrap them with LIT().
1160         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1161         (test_ff_f_data_nexttoward): Rename to
1162         (test_fj_f_data): New struct.
1163         (nexttoward_test_data): Relabel tests as
1164         TEST_fj_f instead of TEST_ff_f.
1166 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1168         Emacs bug 23726.
1169         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1170         (__libc_realloc): Correct size computation for dumped fake mmapped
1171         chunks.
1173 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1175         [BZ #20219]
1176         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1177         to itself.
1178         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1180         [BZ #20218]
1181         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1182         to itself.
1183         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1185 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1187         [BZ #20195]
1188         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1189         check to ...
1190         (init_cpu_features): Here.
1192 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1194         [BZ #20214]
1195         * sysdeps/unix/sysv/linux/bits/in.h
1196         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1197          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1198         Define to 1.
1199         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1200          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1201         Define to 0.
1202         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1203         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1205 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1207         [BZ #20198]
1208         * stdlib/Makefile (tests): Add tst-quick_exit, and
1209         tst-thread-quick_exit.
1210         [ifeq ($(have-cxx-thread_local),yes)]
1211         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1212         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1213         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1214         (LDLIBS-tst-thread-quick_exit): Likewise.
1215         [ifneq ($(have-cxx-thread_local),yes)]
1216         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1217         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1218         If run_dtors is true call __call_tls_dtors.
1219         (exit): Call __run_exit_handlers with run_dtors set to true.
1220         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1221         definition.
1222         * stdlib/quick_exit.c (quick_exit): Remove function.
1223         (__new_quick_exit): New function.
1224         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1225         function.
1226         * stdlib/tst-quick_exit.cc: New file.
1227         * stdlib/tst-thread-quick_exit.cc: New file.
1228         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1229         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1230         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1231         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1232         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1233         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1234         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1235         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1236         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1237         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1238         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1239         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1240         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1241         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1242         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1243         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1248         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1249         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1250         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1251         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1252         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1255         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1256         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1257         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1259 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1261         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1262         a typo in comments.
1264 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1266         [BZ #20213]
1267         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1268         argument to itself.
1269         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1271 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1273         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1274         required flags.
1275         (CFLAGS-pwritev64.c): Likewise.
1276         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1277         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1278         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1279         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1280         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1281         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1282         syscall from auto-generation.
1283         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1284         [WORDSIZE == 64] (pwritev64): Remove macro.
1285         [!PWRITEV] (PWRITEV): Likewise.
1286         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1287         [!PWRITEV] (PWRITE): Likewise.
1288         [!PWRITEV] (OFF_T): Likewise.
1289         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1290         (LO_HI_LONG): Remove macro.
1291         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1292         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1293         (PWRITEV): Remove macro.
1294         (PWRITEV_REPLACEMENTE): Likewise.
1295         (PWRITE): Likewise.
1296         (OFF_T): Likewise.
1297         (pwritev64): New function.
1298         * nptl/tst-cancel4.c (tf_writev): Add test.
1300         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1301         required flags.
1302         (CFLAGS-preadv64.c): Likewise.
1303         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1304         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1305         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1306         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1307         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1308         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1309         syscall from auto-generation.
1310         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1311         [WORDSIZE == 64] (preadv64): Remove macro.
1312         [!PREADV] (PREADV): Likewise.
1313         [!PREADV] (PREADV_REPLACEMENT): Likewise.
1314         [!PREADV] (PREAD): Likewise.
1315         [!PREADV] (OFF_T): Likewise.
1316         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1317         (LO_HI_LONG): Remove macro.
1318         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1319         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1320         (PREADV): Remove macro.
1321         (PREADV_REPLACEMENTE): Likewise.
1322         (PREAD): Likewise.
1323         (OFF_T): Likewise.
1324         (preadv64): New function.
1325         * nptl/tst-cancel4.c (tf_preadv): Add test.
1327 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1329         [BZ #20212]
1330         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1331         argument to itself.
1332         * math/libm-test.inc (acos_test_data): Add sNaN tests.
1334 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1336         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1337         New symbol defined as libc_hidden_def.
1338         (strcasestr): Became a weak alias to __strcasestr.
1339         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1340         according to multi-arch support.  Move __stpncpy hidden
1341         definition from here to...
1342         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
1343         symbol stpncpy.
1344         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1345         libc_hidden_builtin_def.
1346         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1347         memset symbol to use when multi-arch support is available.
1349 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1351         * dlfcn/tst-rec-dlopen.c: Include string.h.
1353 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1355         * manual/install.texi: Remove mention of --without-tls
1356         * INSTALL: Regenerate.
1358 2016-06-05  Florian Weimer  <fweimer@redhat.com>
1360         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1361         Remove.
1362         (call_function, interposed_malloc_called): New variables.
1363         (malloc): New function.
1364         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
1365         and clear call_function as needed.
1367 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
1369         * include/wchar.h (__wmemset): Use __typeof.
1371 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
1373         * include/wchar.h (__wmemset): Declare function without typeof.
1375 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
1377         [BZ #20205]
1378         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1379         exponent when incrementing negative subnormal with low mantissa
1380         word zero.
1381         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1382         Add another test.
1384 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1386         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1387         __wmemset instead of wmemset.
1389 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1391         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1392         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1393         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1394         __USE_KERNEL_IPV6_DEFS to 0.
1395         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1396         Update comment.
1398 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1400         [BZ #19861]
1401         Do not use IFUNC resolver with potentially unrelocated symbol.
1402         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1403         (DEFINE_FORK): Remove macro and inline definition.
1404         (fork_alias): Renamed from fork_ifunc.
1405         (__fork_alias): Renamed from __fork_ifunc.
1407 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1409         [BZ 19653]
1410         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1411         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1413 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1415         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1416         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1417         i386-linux-gnu).
1418         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1419         Set to no.
1420         * sysdeps/mach/hurd/configure: Refresh.
1422 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1424         [BZ #20178]
1425         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1426         on failure instead of exit.
1428 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1430         [BZ #3629]
1431         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1432         of POSIX.1-2008.
1434 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1436         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1437           Use PLT entry for calling _hurd_self_sigstate.
1439 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1441         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1442         available logical processors with SMT level type sharing L2
1443         cache for Intel processors.
1445 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1447         [BZ #20160]
1448         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1449         argument to itself before returning the result.
1450         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1451         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1452         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1453         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1454         Likewise.
1455         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1456         Likewise.
1457         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1458         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1459         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1460         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1461         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1462         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1464         [BZ #20160]
1465         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1466         argument to itself before returning the result.
1467         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1468         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1469         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1470         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1471         Likewise.
1472         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1473         Likewise.
1474         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1475         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1476         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1477         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1478         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1479         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1481 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1483         * libm-test.inc: Replace usage of M_El with
1484         (lit_e): New macro.
1486 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1488         * libm-test.inc: Replace usage of M_PI_4l with
1489         (lit_pi_4_d): New macro.
1491 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1493         * libm-test.inc: Replace usage of M_PIl with
1494         (lit_pi): New macro.
1496 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1498         * libm-test.inc: Replace usage of M_PI2l with
1499         (lit_pi_2_d): New macro.
1501         * math/test-double.h (LITM): New macro.
1502         * math/test-float.h (LITM): Likewise.
1503         * math/test-ldouble.h (LITM): Likewise.
1505 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1507         * libm-test.inc (M_PI_34l): Rename to
1508         (lit_pi_3_m_4_d): New Macro.
1509         (M_PI_34_LOG10El): Rename to
1510         (lit_pi_3_m_4_ln10_m_d): New Macro.
1511         (M_PI2_LOG10El): Rename to
1512         (lit_pi_2_ln10_m_d):  New Macro.
1513         (M_PI4_LOG10El): Rename to
1514         (lit_pi_4_ln10_m_d):  New Macro.
1515         (M_PI_LOG10El): Rename to
1516         (lit_pi_ln10_d):  New Macro.
1518 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1520         [BZ #20157]
1521         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1522         determine whether to negate low half if [_ARCH_PPCGR], and integer
1523         comparison otherwise.
1524         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1525         determine whether to negate low half.
1527         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1528         (NO_TEST_INLINE_DOUBLE): Likewise.
1529         (TEST_COND_x86_64): Likewise.
1530         (TEST_COND_x86): Likewise.
1531         (M_PI_6l): Likewise.
1533 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1535         * math/libm-test.inc:
1536         (TEST_FLOAT): Change usage to TEST_COND_binary32.
1537         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1538         (TEST_LDOUBLE): Update usage to evaluate as true if
1539         the guarded tests match the property being tested.
1540         (LDBL_MAX_EXP): Change to MAX_EXP.
1541         (LDBL_MIN_EXP): Change to MIN_EXP.
1542         (LDBL_MANT_DIG): Change to MANT_DIG, except for
1543         nexttoward tests.
1545 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1547         * math/libm-test.inc:
1548         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1549         (TYPE_MIN): Likewise.
1550         (TYPE_TRUE_MIN): Likewise.
1551         (TYPE_MAX): Likewise.
1552         (MIN_EXP): Likewise.
1553         (MAX_EXP): Likewise.
1554         (MANT_DIG): Likewise.
1556         (FSTR_MAX): New macro.
1557         (__CONCATX): Likewise.
1558         (QTYPE_STR): Likewise.
1559         (TEST_COND_binary32): Likewise.
1560         (TEST_COND_binary64): Likewise.
1561         (TEST_COND_binary128): Likewise.
1562         (TEST_COND_ibm128): Likewise.
1563         (TEST_COND_intel96): Likewise.
1564         (TEST_COND_m68k96): Likewise.
1566         (TEST_COND_flt_32): Redefine as equivalent format test macro.
1567         (TEST_COND_dbl_64): Likewise.
1568         (TEST_COND_ldbl_96_intel): Likewise.
1569         (TEST_COND_ldbl_96_m68k): Likewise.
1570         (TEST_COND_ldbl_128): Likewise.
1571         (TEST_COND_ldbl_128ibm): Likewise.
1573         (plus_zero): Redefine using LIT macro.
1574         (minus_zero): Likewise.
1575         (plus_infty): Redefine as (INF).
1576         (minux_infty): Redefine as (-INF).
1577         (max_value): Redefine as TYPE_MAX.
1578         (min_value): Redefine as TYPE_MIN.
1579         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1581         (print_float): Refactor to use snprintf to convert FLOAT values
1582         to string. This brings it closer to dropin replacement of strtof
1583         for the TS 18661 defined types.
1584         (update_stats): Likewise.
1585         (print_complex_function_ulps): Likewise.
1586         (print_max_error): Likewise.
1587         (print_complex_max_error): Likewise.
1588         (check_float_internal): Likewise.
1590         * math/test-float.h (PREFIX): New macro.
1591         (LIT): Likewise.
1592         (TYPE_STR): Likewise.
1593         (FTOSTR): Likewise.
1595         * math/test-double.h (PREFIX): New macro.
1596         (LIT): Likewise.
1597         (TYPE_STR): Likewise.
1598         (FTOSTR): Likewise.
1600         * math/test-ldouble.h (PREFIX): New macro.
1601         (LIT): Likewise.
1602         (TYPE_STR): Likewise.
1603         (FTOSTR): Likewise.
1605 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1607         [BZ #20156]
1608         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1609         to itself when zero or not finite.
1610         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1611         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1612         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1613         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1615 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
1617         [BZ #20153]
1618         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1619         x * x + x for infinities and NaNs.
1621         [BZ #20151]
1622         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1623         argument to itself before returning result.
1624         (__ieee754_y0l): Likewise.
1625         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1626         (__ieee754_y1l).
1628         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1629         (atan_test_data): Likewise.
1630         (ceil_test_data): Likewise.
1631         (cos_test_data): Likewise.
1632         (cosh_test_data): Likewise.
1633         (erf_test_data): Likewise.
1634         (exp2_test_data): Likewise.
1635         (fabs_test_data): Likewise.
1636         (floor_test_data): Likewise.
1637         (ilogb_test_data): Likewise.
1638         (j0_test_data): Likewise.
1639         (j1_test_data): Likewise.
1640         (jn_test_data): Likewise.
1641         (lgamma_test_data): Likewise.
1642         (lrint_test_data): Likewise.
1643         (llrint_test_data): Likewise.
1644         (logb_test_data): Likewise.
1645         (lround_test_data): Likewise.
1646         (llround_test_data): Likewise.
1647         (nearbyint_test_data): Likewise.
1648         (rint_test_data): Likewise.
1649         (round_test_data): Likewise.
1650         (sin_test_data): Likewise.
1651         (sincos_test_data): Likewise.
1652         (sinh_test_data): Likewise.
1653         (sqrt_test_data): Likewise.
1654         (tan_test_data): Likewise.
1655         (tanh_test_data): Likewise.
1656         (tgamma_test_data): Likewise.
1657         (trunc_test_data): Likewise.
1658         (y0_test_data): Likewise.
1659         (y1_test_data): Likewise.
1660         (yn_test_data): Likewise.
1662         * math/libm-test.inc: Update comment about NaN testing.
1663         (TEST_SNAN): New macro.
1664         (snan_value): Likewise.
1665         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1666         (fpclassify_test_data): Add sNaN tests.
1667         (isfinite_test_data): Likewise.
1668         (isinf_test_data): Likewise.
1669         (isnan_test_data): Likewise.
1670         (isnormal_test_data): Likewise.
1671         (issignaling_test_data): Likewise.
1672         (signbit_test_data): Likewise.
1673         * math/gen-libm-test.pl (%beautify): Add snan_value.
1674         (show_exceptions): Add argument $test_snan.
1675         (parse_args): Handle snan_value as non-finite.  Update call to
1676         show_exceptions.
1677         * math/Makefile (libm-test-no-inline-cflags): Add
1678         -fsignaling-nans.
1680 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1682         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1683         (CFLAGS-oldsendmsg.c): Add rule.
1684         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1685         Correct recvmsg symbol name.
1686         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1687         Likewise.
1689 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1691         * sysdeps/unix/sysv/linux/Makefile
1692         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1693         oldsendmmsg.
1694         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1695         sendmmsg.
1696         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1697         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1698         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1699         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1701         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1702         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1704         Likewise.
1705         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1706         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1707         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1708         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1709         iovlen and controllen fields to adjust to POSIX specification.
1710         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1712         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1713         and change to correct expected type.
1714         (msghdr.msg_controllen): Likewise.
1715         (cmsghdr.cmsg_len): Likewise.
1716         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1717         expected POSIX assumption about the size.
1718         (msghdr.msg_controllen): Likewise.
1719         (msghdr.__glibc_reserved1): Likewise.
1720         (msghdr.__glibc_reserved2): Likewise.
1721         (cmsghdr.cmsg_len): Likewise.
1722         (cmsghdr.__glibc_reserved1): Likewise.
1723         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1724         Add ptw-oldrecvmsg and ptw-oldsendmsg.
1725         (CFLAGS-sendmsg.c): Remove rule.
1726         (CFLAGS-recvmsg.c): Likewise.
1727         (CFLAGS-oldsendmsg.c): Add rule.
1728         (CFLAGS-oldrecvmsg.c): Likewise.
1729         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1730         recvmsg and sendmsg.
1731         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1732         Likewise.
1733         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1734         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1735         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1736         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
1737         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1738         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1739         Likewise.
1740         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1741         Likewise.
1742         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
1743         Likewise.
1744         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
1745         Likewise.
1746         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1747         Likewise.
1748         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1749         Likewise.
1750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
1751         (GLIBC_2.24): Likewise.
1752         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1753         Likewise.
1754         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1755         Likewise.
1756         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1757         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1758         Likewise.
1759         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1760         Likewise.
1761         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1762         Likewise.
1763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
1764         (GLIBC_2.24): Likewise.
1765         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
1766         Likewise.
1767         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
1768         Likewise.
1769         * sysdeps/unix/sysv/linux/Makefile
1770         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
1771         (CFLAGS-sendmsg.c): Add rule.
1772         (CFLAGS-recvmsg.c): Likewise.
1773         (CFLAGS-oldsendmsg.c): Likewise.
1774         (CFLAGS-oldrecvmsg.c): Likewise.
1775         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
1776         initialization.
1777         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1778         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1779         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
1780         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1781         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
1782         iovlen and controllen fields to adjust to POSIX specification.
1783         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1784         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
1785         added recvmsg and sendmsg.
1786         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1787         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1788         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1789         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1790         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1791         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1792         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1793         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1794         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1795         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1796         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1797         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1799         Likewise.
1800         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1802         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1803         Likewise.
1804         Likewise.
1805         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1806         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1807         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1808         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1809         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1810         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1812         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1814         Likewise.
1815         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1816         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1818         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
1819         from auto-generation.
1820         (sendmsg): Likewise.
1821         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
1822         (sendmsg): Likewise.
1823         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
1824         (sendmsg): Likewise.
1825         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
1826         (sendmsg): Likewise.
1827         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
1828         (sendmsg): Likewise.
1829         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
1830         (sendmsg): Likewise.
1831         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
1832         Likewise.
1833         (sendmsg): Likewise.
1834         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
1835         (sendmsg): Likewise.
1836         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1837         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1838         Remove.
1839         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1840         Likewise.
1841         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1842         Undefine.
1843         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1844         Likewise.
1845         * sysdeps/unix/sysv/linux/kernel-features.h
1846         (__ASSUME_SENDMSG_SYSCALL): Define.
1847         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1848         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1849         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1850         Remove.
1851         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1852         Likewise.
1853         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1854         Undefine.
1855         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1856         Likewise.
1857         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1858         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1859         Remove.
1860         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1861         Likewise.
1862         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1863         Undefine.
1864         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1865         Likewise.
1866         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1867         (__ASSUME_SENDMSG_SYSCALL): Undefine.
1868         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1869         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1870         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1871         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1872         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1873         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1874         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1876 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1878         * stdlib/gen-tst-strtod-round.c: Add backslash to
1879         compile command in comment.
1880         (printfp): Remove the literal suffix, and define an infinite
1881         value as INF to avoid expansion clash with INFINITY.
1882         (round_str): Remove the literal suffix.
1883         (round_for_all): Likewise, remove the now duplicate ldbl-64
1884         entry, and remove some magic constants.
1886         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
1887         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
1888         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
1889         (_CONCAT): New macro.
1890         (CONCAT): Likewise.
1891         (CHOOSE_ld): Likewise.
1892         (CHOOSE_f): Likewise.
1893         (CHOOSE_d): Likewise.
1894         (FTYPE_MEMBER): Likewise.
1895         (BOOL_MEMBER): Likewise.
1896         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
1897         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
1898         (_XNTRY): Likewise.
1899         (XNTRY): Likewise.
1900         (_ENTRY): Likewise.
1901         (ENTRY): Likewise.
1902         (test_exactness): Generate members via macro.
1903         (test_results): Likewise.
1904         (test): Update members.
1905         (TEST): Redefine using new macros.
1906         (INF): New macro.
1907         (fetestmodes): New structure.
1908         (do_test): Refactor to be type generic.
1909         (test_in_one_mode): Refactor duplicate code into
1910         (GEN_ONE_TEST): New macro.
1912         * stdlib/tst-strtod-round-data.h: Regenerate.
1914         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
1915         Extend to pass additional arbitrary parameters to
1916         generators.
1918 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
1920         [BZ #15479]
1921         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
1922         floating-point state after first floating-point operation on
1923         input.  Restore full floating-point state instead of just rounding
1924         mode.
1925         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1926         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1927         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1928         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1929         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1931         [BZ #15479]
1932         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
1933         floating-point state after first floating-point operation on
1934         input.  Restore full floating-point state instead of just rounding
1935         mode.
1936         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1937         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1938         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1939         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1940         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1942 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1944         [BZ #19727]
1945         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1946         valid high surrogate.
1947         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1948         of an utf16 surrogate.
1949         * iconv/gconv_simple.c (BODY): Likewise.
1950         * iconvdata/bug-iconv12.c: New file.
1951         * iconvdata/Makefile (tests): Add bug-iconv12.
1953 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1955         [BZ #19726]
1956         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1957         outptrp in case of an illegal input.
1958         * iconv/tst-iconv6.c: New file.
1959         * iconv/Makefile (tests): Add tst-iconv6.
1961 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1963         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1964         an error in case of a value in range of an utf16 low surrogate.
1966 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1968         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1969         an error in case of a value in range of an utf16 low surrogate.
1971 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1973         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1974         Move to ...
1975         * sysdeps/s390/Makefile: ... here.
1976         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1977         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1978         (BRANCH_ON_COUNT): New define.
1979         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1980         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1981         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1982         run on s390-32, too.
1983         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1984         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1985         run on s390-32, too.
1986         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1987         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1988         run on s390-32, too.
1990 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1992         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1993         etf3eh or new vector loop-variant.
1995 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1997         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1998         etf3eh or new vector loop-variant.
2000 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2002         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2003         or new vector loop-variant.
2005 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2007         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2008         Rename to TR_LOOP and usage of tr instead of troo instruction.
2010 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2012         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2013         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2015 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2017         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2018         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2019         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2020         New override define.
2021         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2023 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2025         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2026         * sysdeps/s390/configure.ac: Add test for S390 vector register
2027         support in gcc.
2028         * sysdeps/s390/configure: Regenerated.
2030 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2032         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2033         Install file from $(objpfx)gconv-modules.
2034         ($(objpfx)gconv-modules): Concatenate architecture specific file
2035         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2036         * sysdeps/s390/gconv-modules: New file.
2037         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2038         Deleted.
2039         ($(objpfx)gconv-modules-s390): Deleted.
2040         (sysdeps-gconv-modules): New variable.
2042 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2044         [BZ #15479]
2045         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2046         of immediate operand to rounding instruction.
2047         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2048         Likewise.
2049         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2050         Likewise.
2051         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2052         Likewise.
2054 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2056         * math/libm-test.inc (MIN_EXP): Directly define as
2057         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2059 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2061         * math/libm-test.inc (MANT_DIG): Directly define as
2062         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2064 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2066         * stdlib/gen-tst-strtod-round.c (main):
2067           Change usage to more closely match the generated
2068           output.  Add usage and compilation instructions.
2069           (string_to_fp): Add and use FILE* parameter as
2070           output target.
2071           (print_fp): Likewise.
2072           (round_str): Likewise.
2073           (round_for_all): Likewise.
2074         * stdlib/tst-strtod-round.c (tests): Move into
2075         * stdlib/tst-strtod-round-data.h: New file.
2077 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2079         [BZ #15479]
2080         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2081         (__round): Do not force "inexact" exception.
2082         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2083         variable.
2084         (__round): Do not force "inexact" exception.
2085         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2086         (__roundf): Do not force "inexact" exception.
2087         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2088         (__roundl): Do not force "inexact" exception.
2089         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2090         (__roundl): Do not force "inexact" exception.
2091         * math/libm-test.inc (round_test_data): Do not allow spurious
2092         "inexact" exceptions.
2094         [BZ #15479]
2095         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2096         exception in comment.
2097         (huge): Remove variable.
2098         (__floor): Do not force "inexact" exception.
2099         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2100         "inexact" exception in comment.
2101         (huge): Remove variable.
2102         (__floor): Do not force "inexact" exception.
2103         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2104         exception in comment.
2105         (huge): Remove variable.
2106         (__floorf): Do not force "inexact" exception.
2107         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2108         exception in comment.
2109         (huge): Remove variable.
2110         (__floorl): Do not force "inexact" exception.
2112         [BZ #15479]
2113         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2114         exception in comment.
2115         (huge): Remove variable.
2116         (__ceil): Do not force "inexact" exception.
2117         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2118         "inexact" exception in comment.
2119         (huge): Remove variable.
2120         (__ceil): Do not force "inexact" exception.
2121         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2122         (__ceilf): Do not force "inexact" exception.
2123         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2124         exception in comment.
2125         (huge): Remove variable.
2126         (__ceill): Do not force "inexact" exception.
2128 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2130         * config.h.in (BIND_NOW): New.
2131         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2132         * configure: Regenerated.
2133         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2134         indirect branch via the GOT slot.
2136 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2138         [BZ #19765]
2139         * sysdeps/s390/mempcpy.S: New File.
2140         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2141         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2142         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2143         Add mempcpy variants.
2144         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2145         (memcpy): Adjust to be usable from mempcpy entry point.
2146         (__memcpy_mvcle): Likewise.
2147         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2148         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2149         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2150         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2151         (__memcpy_z10): Likewise.
2152         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2154 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2156         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2157         Remove __GI_ symbol.
2158         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2159         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2160         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2161         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2162         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2163         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2165 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2167         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2168         Use cghi instead of chi to compare 64bit value.
2170 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2172         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2173         Jump to 1MB check before executing mvc-loop.
2175 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2177         [BZ #6527]
2178         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2179         unconditionally.
2180         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2182 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2184         * stdlib/tst-strtod6.c (do_test): Use new type generic
2185         invocation of the test function.
2186         (test): Refactor into ...
2187         (TEST_STRTOD): New macro base function.
2189 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2191         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2192         (TEST_STRTOD): New macro.
2193         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2195 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2197         * stdlib/tst-strtod6.c (do_test): Use new type generic
2198         invocation of the test function.
2199         (test): Refactor into ...
2200         (TEST_STRTOD): New macro base function.
2202 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2204         CVE-2016-4429
2205         [BZ #20112]
2206         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2207         payload.
2209 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2211         [BZ #20111]
2212         * bits/sockaddr.h (_SS_SIZE): Define.
2213         * bits/socket.h (_SS_SIZE): Remove.
2214         (_SS_PADSIZE): Adjust to account for all padding.
2215         (struct sockaddr_storage): Update comment.  Avoid implicit
2216         padding.
2217         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2218         (_SS_PADSIZE): Adjust to account for all padding.
2219         (struct sockaddr_storage): Update comment.  Avoid implicit
2220         padding.
2221         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2222         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2223         (_SS_PADSIZE): Adjust to account for all padding.
2224         (struct sockaddr_storage): Update comment.  Avoid implicit
2225         padding.
2226         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2227         __SS_SIZE is 126 in this version.
2228         * inet/tst-sockaddr.c: New file.
2229         * inet/Makefile (tests): Add tst-sockaddr.c
2230         (tst-sockaddr.c): Compile with non-strict aliasing.
2232 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2234         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2235         [XPG3 || XPG4].
2236         (NL_ARGMAX): Also expect for [XPG3].
2237         (NL_LANGMAX): Likewise.
2238         (NL_MSGMAX): Likewise.
2239         (NL_NMAX): Likewise.
2240         (NL_SETMAX): Likewise.
2241         (NL_TEXTMAX): Likewise.
2242         (NZERO): Likewise.
2243         (TMP_MAX): Likewise.
2244         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2245         variable.
2247         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2248         (PF_MAX): Update value.
2249         (AF_KCM): New macro.
2250         (SOL_NETBEUI): Likewise.
2251         (SOL_LLC): Likewise.
2252         (SOL_DCCP): Likewise.
2253         (SOL_NETLINK): Likewise.
2254         (SOL_TIPC): Likewise.
2255         (SOL_RXRPC): Likewise.
2256         (SOL_PPPOL2TP): Likewise.
2257         (SOL_BLUETOOTH): Likewise.
2258         (SOL_PNPIPE): Likewise.
2259         (SOL_RDS): Likewise.
2260         (SOL_IUCV): Likewise.
2261         (SOL_CAIF): Likewise.
2262         (SOL_ALG): Likewise.
2263         (SOL_NFC): Likewise.
2264         (SOL_KCM): Likewise.
2265         (MSG_BATCH): New enum value and macro.
2267 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2269         [BZ #18185]
2270         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2271         sharing L2 cache to 2 for Knights Landing.
2273 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2275         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2276         (FTW_DP): Do not expect for [XPG3 || XPG4].
2277         (FTW_SL): Do not expect for [XPG3].
2278         (FTW_SLN): Likewise.
2279         (FTW_PHYS): Likewise.
2280         (FTW_MOUNT): Likewise.
2281         (FTW_DEPTH): Likewise.
2282         (FTW_CHDIR): Likewise.
2283         (nftw): Likewise.
2284         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2285         variable.
2287 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2289         * manual/errno.texi: Fix various typos & grammar errors.
2291 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2293         * manual/intro.texi: Fix duplicated typo.
2295 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2297         [BZ #13304]
2298         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2299         <float.h>, <math_private.h> and <stdlib.h>.
2300         (add_split): New function.
2301         (mul_split): Likewise.
2302         (ext_val): New typedef.
2303         (store_ext_val): New function.
2304         (mul_ext_val): New function.
2305         (compare): New function.
2306         (add_split_ext): New function.
2307         (__fmal): After checking for Inf, NaN and zero, compute result as
2308         an exact sum of scaled double values in round-to-nearest before
2309         adding those up and adjusting for other rounding modes.
2310         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2311         tests of fma.
2312         * math/auto-libm-test-out: Regenerated.
2314 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2316         [BZ #20119]
2317         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2318         processor level type mask for CPUID with EAX == 11.
2320 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2322         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2323         logical threads if the HTT bit is 0.
2324         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2325         (index_cpu_HTT): Likewise.
2326         (reg_HTT): Likewise.
2328 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2330         [BZ #20115]
2331         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2332         Remove alignments on jump targets.
2334 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2336         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2337         (getpwent): Likewise.
2338         (setpwent): Likewise.
2339         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2340         variable.
2342         * conform/data/search.h-data (insque): Do not expect for [XPG3].
2343         (remque): Likewise.
2344         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2345         variable.
2347 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2349         * math/libm-test.inc: Update comment not to refer to signs of NaNs
2350         not being tested.
2352 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2354         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2355         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
2356         call.
2357         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2358         (__condvar_cleanup1): Likewise.
2360 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2362         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2363         New
2364         (__pthread_unwind): Renamed to ...
2365         (PTHREAD_UNWIND): This.
2366         (__pthread_enable_asynccancel): Replace
2367         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2369 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2371         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2372         (CLONE_NEWCGROUP): New macro.
2374         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2375         (Q_GETNEXTQUOTA): New macro.
2377 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2379         [BZ #19907]
2380         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2381         buffer updated by the previous run.
2382         * string/test-memcpy.c (do_one_test): Likewise.
2383         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2384         * string/test-memmove.c (do_one_test): Likewise.
2386 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2388         [BZ #20094]
2389         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2390         not [__USE_XOPEN].
2391         (unlockpt): Likewise.
2392         (ptsname): Likewise.
2393         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2394         variable.
2396         [BZ #20076]
2397         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2398         instead of [__USE_UNIX98].
2399         (S_ISSOCK): Likewise.
2400         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2401         variable.
2403         [BZ #20074]
2404         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2405         [__USE_POSIX].
2406         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2407         variable.
2409         [BZ #20051]
2410         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2411         (ttyslot): Do not declare.
2412         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2413         (ttyslot): New prototype.
2414         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2415         variable.
2416         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2418 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2420         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2422 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2424         Fix race condition in tst-mallocfork2, use fewer resources.
2425         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2426         to current process group.
2427         (signal_sender): Yield in the non-sleeping case.
2429 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2431         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2432         (ecvt): Likewise.
2433         (fcvt): Likewise.
2434         (gcvt): Likewise.
2435         (getsubopt): Likewise.
2436         (grantpt): Likewise.
2437         (initstate): Likewise.
2438         (l64a): Likewise.
2439         (mktemp): Likewise.
2440         (mkstemp): Likewise.
2441         (ptsname): Likewise.
2442         (random): Likewise.
2443         (realpath): Likewise.
2444         (setstate): Likewise.
2445         (srandom): Likewise.
2446         (ttyslot): Likewise.
2447         (unlockpt): Likewise.
2448         (valloc): Likewise.
2450         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2451         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2452         variable.
2454 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2456         [BZ #20072]
2457         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2458         init_cpu_features only if SHARED is defined.
2459         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2461 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2463         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2464         non-inclusive caches on Intel processors.
2466 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2468         * malloc/malloc.c (dumped_main_arena_start)
2469         (dumped_main_arena_end): New variables.
2470         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2471         (do_check_chunk): Skip dumped fake mmapped chunks.
2472         (munmap_chunk): Likewise.
2473         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2474         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2475         mmapped chunks.
2476         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2477         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2478         and dumped_main_arena_end to cover the dumped heap.
2480 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
2482         * conform/data/time.h-data (getdate_err): Do not expect for
2483         [XPG3].
2484         (getdate): Likewise.
2485         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2486         variable.
2488         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2489         (F_ULOCK): Likewise.
2490         (F_TEST): Likewise.
2491         (F_TLOCK): Likewise.
2492         (useconds_t): Likewise.
2493         (intptr_t): Do not expect for [XPG3] or [XPG4].
2494         (brk): Do not expect for [XPG3]
2495         (fchown): Likewise.
2496         (fchdir): Likewise.
2497         (ftruncate): Likewise.
2498         (getdtablesize): Likewise.
2499         (gethostid): Likewise.
2500         (getpagesize): Likewise.
2501         (getpgid): Likewise.
2502         (getsid): Likewise.
2503         (getwd): Likewise.
2504         (lchown): Likewise.
2505         (lockf): Likewise.
2506         (readlink): Likewise.
2507         (sbrk): Likewise.
2508         (setpgrp): Likewise.
2509         (setregid): Likewise.
2510         (setreuid): Likewise.
2511         (symlink): Likewise.
2512         (sync): Likewise.
2513         (truncate): Likewise.
2514         (ualarm): Likewise.
2515         (usleep): Likewise.
2516         (vfork): Likewise.
2517         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2518         variable.
2520         [BZ #20054]
2521         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2522         not [__USE_UNIX98].
2523         * conform/data/unistd.h-data (gethostname): Do not expect for
2524         [XPG3].
2526         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2527         [!POSIX] (S_IFBLK): Likewise.
2528         [!POSIX] (S_IFCHR): Likewise.
2529         [!POSIX] (S_IFIFO): Likewise.
2530         [!POSIX] (S_IFREG): Likewise.
2531         [!POSIX] (S_IFDIR): Likewise.
2532         [!POSIX] (S_IFLNK): Likewise.
2533         [!POSIX] (S_IFSOCK): Likewise.
2534         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2535         variable.
2536         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2538 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
2540         * sysdeps/aarch64/memset.S (__memset):
2541         Rewrite of optimized memset.
2543 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2545         [BZ #19703]
2546         Partially async-signal-safe fork for single-threaded processes.
2547         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2548         variable.  Do not acquire and reset/release malloc and libio locks
2549         in single-threaded processes.
2550         * malloc/tst-mallocfork2.c: New file.
2551         * malloc/Makefile (tests): Add it.
2553 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2555         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2556         argument.  Use scratch buffer instead of extend_alloca.
2557         (gethosts): Use scratch buffer instead of extend_alloca.
2558         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
2559         extend_alloca.
2560         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2562 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
2564         [BZ #20055]
2565         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2566         instead of [__USE_UNIX98].
2567         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2568         [__USE_UNIX98].
2569         * conform/data/termios.h-data (tcgetsid): Do not expect for
2570         [XPG3].
2571         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2572         variable.
2573         (test-xfail-XPG4/termios.h/conform): Likewise.
2575 2016-05-11  Florian Weimer  <fweimer@redhat.com>
2577         Do not use mcheck in localedef.
2578         * locale/programs/localedef.c (turn_on_mcheck)
2579         (__malloc_initialize_hook): Remove.
2581 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2583         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2584         * sysdeps/s390/s390-64/Makefile: Likewise.
2586 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2588         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2589         Remove ifunc-defines.sym.
2590         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2591         Likewise.
2592         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2593         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2594         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2595         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2596         rtld-global-offsets.sym.
2597         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2598         * sysdeps/x86/cpu-features-offsets.sym: This.
2599         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2600         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2602 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
2604         [BZ #20073]
2605         * io/sys/stat.h (fchmod): Declare for
2606         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2607         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2608         variable.
2610         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2611         [XPG3] (S_IFSOCK): Likewise.
2612         [XPG3] (S_ISVTX): Likewise.
2613         [XPG3] (S_ISLNK): Likewise.
2614         [XPG3] (S_ISSOCK): Likewise.
2615         [XPG3] (fchmod): Likewise.
2616         [XPG3] (lstat): Likewise.
2617         [XPG3] (mknod): Likewise.
2619         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2620         [XPG3].  Expect type long and XFAIL for [XPG4].
2621         (st_blocks): Likewise.
2623         [BZ #20044]
2624         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2625         (pthread_atfork): New prototype.
2626         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2627         variable.
2629         [BZ #20043]
2630         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2631         prototype.
2633 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2635         [BZ #20017]
2636         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2637         gmtime.
2639 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2641         [BZ #19994]
2642         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2643         flag in _res.options.
2645 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2647         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2648         [XPG3 || XPG4].
2649         (blksize_t): Likewise.
2650         (clockid_t): Likewise.
2651         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2652         variable.
2653         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2655 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2657         * sysdeps/unix/sysv/linux/s390/init-first.c:
2658         Add VDSO_SYMBOL(getcpu).
2659         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2660         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2661         Add VDSO_SYMBOL(getcpu).
2662         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2663         New define HAVE_GETCPU_VSYSCALL.
2664         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2666 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2668         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2669         instead of <sysdeps/x86_64/cacheinfo.c>.
2670         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2671         * sysdeps/x86/cacheinfo.c: Here.
2673 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2675         * malloc/malloc-internal.h: Adjust header file guard.
2677 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2679         [BZ #19787]
2680         * inet/getnameinfo.c (check_sprintf_result): New function.
2681         (CHECKED_SNPRINTF): New macro.
2682         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2683         to the host buffer.
2684         (gni_host_local): Use checked_copy to copy the host name.
2685         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2686         (gni_serv_local): Use checked_copy to copy the service name.
2687         (getnameinfo): Remove unnecessary truncation of result buffers.
2689 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2691         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2692         in case of inet_ntop failure.
2694 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2696         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2697         avoid long lines.
2698         (gni_host_inet_numeric): Likewise.  Reduce scope of local
2699         variables.
2700         (gni_host_inet, gni_host_local): Add comment.
2701         (gni_host): Add comment.  Use temporary to avoid long lines.
2703 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2705         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2706         registers specifiers where general purpose registers specifiers should
2707         have been used.
2709 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2711         [BZ #19779]
2712         CVE-2016-1234
2713         Avoid copying names of directory entries.
2714         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2715         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2716         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2717         (struct readdir_result): New type.
2718         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2719         (GL_READDIR): New macros.
2720         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2721         (convert_dirent, convert_dirent64): New functions.
2722         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
2723         convert_dirent64.  Adjust references to the readdir result.
2724         * sysdeps/unix/sysv/linux/i386/glob64.c:
2725         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2726         * posix/bug-glob2.c (LONG_NAME): Define.
2727         (filesystem): Add LONG_NAME.
2728         (my_DIR): Increase the size of room_for_dirent.
2730 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
2732         [BZ #20041]
2733         * misc/sys/select.h (__need_timespec): Only define if
2734         [__USE_XOPEN2K].
2735         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2736         variable.
2737         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2738         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2739         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2741 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2742             Segher Boessenkool  <segher@gcc.gnu.org>
2744         [BZ #20004]
2745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
2746         (__novec_swapcontext): Add missing load.
2748 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
2750         [BZ #20023]
2751         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
2752         <time.h>.
2753         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
2754         variable.
2755         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2757 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
2760         flags CLONE_VM compare.
2762 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2764         [BZ #20031]
2765         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
2766         completely empty.
2768 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2770         [BZ #19573]
2771         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
2772         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
2773         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
2774         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
2775         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
2776         (hesiod_free_list): Mark as hidden.
2777         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
2778         res_set, res_get.
2779         * hesiod/hesiod.c: Remove unnecessary forward declarations.
2780         (init, __hesiod_res_get, __hesiod_res_set): Remove.
2781         (hesiod_init): Remove obsolete res_ninit call.
2782         (hesiod_end): Do not free resolver state.  Do not invoke callback.
2783         (hesiod_bind): Do not call init.
2784         (get_txt_records): Use res_mkquery, res_send instead of
2785         res_nmkquery, res_nsend.
2786         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
2787         instead of _nss_hesiod_init.
2788         (_nss_hesiod_initgroups_dyn): Likewise.
2789         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
2790         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
2791         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
2793 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2795         * hesiod/hesiod_p.h (DEF_RHS): Remove.
2796         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
2798 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2800         * hesiod/hesiod.h: Remove RCS keyword.
2801         * hesiod/hesiod_p.h: Likewise.
2803         * hesiod/hesiod.c: Likewise.
2805 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
2807         [BZ #12450]
2808         * locale/iso-639.def: Add Samogitian/sgs.
2810 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
2812         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
2814         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
2816 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
2817             Carlos O'Donell  <carlos@redhat.com>
2819         [BZ #19072]
2820         * grp/Makefile (headers): Add grp-merge.h
2821         (routines): Add grp-merge.
2822         * grp/getgrgid_r.c: Include grp-merge.h.
2823         (DEEPCOPY_FN): Define.
2824         (MERGE_FN): Define.
2825         * grp/getgrname_r.c: Include grp-merge.h.
2826         (DEEPCOPY_FN): Define.
2827         (MERGE_FN): Define.
2828         * grp/grp-merge.c: New file.
2829         * grp/grp-merge.h: New file.
2830         * include/grp-merge.h: New file.
2831         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
2832         __copy_grp@GLIBC_PRIVATE.
2833         * manual/nss.texi (Actions in the NSS configuration): Describe
2834         return, continue, and merge.
2835         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
2836         (DEEPCOPY_FN): Define.
2837         (MERGE_FN): Define.
2838         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
2839         (DEEPCOPY_FN): Define.
2840         (MERGE_FN): Define.
2841         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
2842         [!MERGE_FN]: Define __merge_einval.
2843         (CHECK_MERGE): Define.
2844         (REENTRANT_NAME): Process merge if do_merge is true.
2845         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
2846         (__nss_getent_r): Likewise.
2847         * nss/nsswitch.c (nss_parse_service_list): Likewise.
2848         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
2850 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2852         [BZ #20012]
2853         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
2854         length to calculate the buffer to read.
2855         (fmemopen_write): Set the buffer position based on bytes written.
2856         (fmemopen_seek): Return EINVAL for invalid whence modes.
2858         [BZ #19957]
2859         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
2860         tst-getpid2.
2861         (test): Add tst-clone2.
2862         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
2863         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
2864         pid/tid fields for CLONE_VM.
2865         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2866         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2867         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2868         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
2869         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2870         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2871         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2872         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2874         Likewise.
2875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2876         Likewise.
2877         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2878         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2879         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2880         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2881         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2882         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2883         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2884         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
2886 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2888         [BZ #19642]
2889         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
2890         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
2891         (gni_serv_local, gni_serv): New functions extracted from
2892         getnameinfo.
2893         (getnameinfo): Call gni_host and gni_serv to perform the
2894         processing.  Always free scratch buffer.
2896 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2898         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
2899         remaining bytes in the dest string, with zeros.
2901 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2903         [BZ #20010]
2904         CVE-2016-3706
2905         * sysdeps/posix/getaddrinfo.c
2906         (convert_hostent_to_gaih_addrtuple): New function.
2907         (gethosts): Call convert_hostent_to_gaih_addrtuple.
2908         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
2909         AF_INET data.
2911 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2913         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
2914         callback function gl_readdir.
2915         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
2916         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
2917         (glob_in_dir): Remove len.  Use strdup instead of malloc and
2918         memcpy to copy the name.
2919         * manual/pattern.texi (Calling Glob): Document requirements for
2920         implementations of the gl_readdir callback function.
2921         * manual/examples/mkdirent.c: New example.
2922         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
2923         per the manual guidance.
2924         * posix/tst-gnuglob.c (my_readdir): Likewise.
2926 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
2928         [BZ #20014]
2929         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
2930         not [__USE_POSIX].
2931         (getchar_unlocked): Likewise.
2932         (putc_unlocked): Likewise.
2933         (putchar_unlocked): Likewise.
2934         (flockfile): Likewise.
2935         (ftrylockfile): Likewise.
2936         (funlockfile): Likewise.
2937         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
2938         variable.
2939         (test-xfail-XPG4/stdio.h/conform): Likewise.
2941         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
2942         Expect constant.
2943         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2944         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2945         variable.
2946         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2947         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2949         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2950         [__USE_LARGEFILE64] (off64_t): Likewise.
2951         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2952         variable.
2954 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2956         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2958 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2960         * resolv/inet_addr.c: Reindent preprocessor conditionals.
2961         * resolv/res_init.c: Likewise.
2962         * resolv/res_mkquery.c: Likewise.
2964 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2966         * resolv/res_init.c (isascii): Do not define.  Use definition in
2967         <ctype.h>.
2968         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2969         (LOG_AUTH): Remove.
2970         (SPRINTF): Remove, adjust caller.
2971         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2973 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2975         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2976         SUNSECURITY conditional.
2977         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2979 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2981         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2982         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2983         Remove BSD-related preprocessor conditionals.
2984         * conf/portability.h: Remove.
2986 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2988         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2989         * resolv/res_data.c: Likewise.
2991 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2993         * resolv/res_comp.c: Remove code conditional on __ultrix__.
2994         * resolv/res_data.c: Remove code conditional on ultrix.
2996 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2998         * resolv/res_init.c (RFC1535): Do not define.  Remove
2999         RFC1535 preprocessor conditionals.
3000         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3001         because there configuration options which make the resolver
3002         behavior different.
3004 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3006         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3007         RESOLVSORT preprocessor conditionals.
3008         * resolv/nss_dns/dns-host.c: Likewise.
3009         * resolv/res_init.c: Likewise.
3011 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3013         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3014         is never defined.
3016 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3018         * inet/inet_lnaof.c: Remove SCSS keyword.
3019         * inet/inet_mkadr.c: Likewise.
3020         * inet/inet_net.c: Likewise.
3021         * inet/inet_netof.c: Likewise.
3022         * inet/rcmd.c: Likewise.
3023         * inet/rexec.c: Likewise.
3024         * inet/ruserpass.c: Likewise.
3026 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3028         * resolv/inet_addr.c: Remove _LIBC conditionals.
3029         * resolv/res_data.c: Likewise.
3030         * resolv/res_init.c: Likewise.
3031         * resolv/res_mkquery.c: Likewise.
3032         * resolv/res_libc.c: Update comment.
3033         * resolv/README: Update.
3035 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3037         * resolv/gethnamaddr.c: Remove SCSS keyword.
3038         * resolv/herror.c: Likewise.
3039         * resolv/inet_addr.c: Likewise.
3040         * resolv/inet_net_ntop.c: Likewise.
3041         * resolv/inet_net_pton.c: Likewise.
3042         * resolv/inet_neta.c: Likewise.
3043         * resolv/inet_ntop.c: Likewise.
3044         * resolv/inet_pton.c: Likewise.
3045         * resolv/ns_date.c: Remove RCS keyword.
3046         * resolv/ns_name.c: Likewise.
3047         * resolv/ns_netint.c: Likewise.
3048         * resolv/ns_parse.c: Likewise.
3049         * resolv/ns_print.c: Likewise.
3050         * resolv/ns_samedomain.c: Likewise.
3051         * resolv/ns_ttl.c: Likewise.
3052         * resolv/nsap_addr.c: Likewise.
3053         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3054         * resolv/res_data.c: Remove RCS keyword.
3055         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3056         * resolv/res_init.c: Likewise.
3057         * resolv/res_mkquery.c: Likewise.
3058         * resolv/res_query.c: Likewise.
3059         * resolv/res_send.c: Likewise.
3061 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3063         * conform/data/stdio.h-data (fdopen): Expect also for
3064         [XPG3 || XPG4].
3066         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3067         (fseeko): Likewise.
3068         (ftello): Likewise.
3069         (ftrylockfile): Likewise.
3070         (funlockfile): Likewise.
3071         (getc_unlocked): Likewise.
3072         (getchar_unlocked): Likewise.
3073         (putc_unlocked): Likewise.
3074         (putchar_unlocked): Likewise.
3076 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3078         [BZ #19868]
3079         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3080         DNS packet syntax checks (which were not needed before).  Skip
3081         over non-PTR records.
3083 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3085         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3086         definition.  Include <stddef.h> instead.
3088 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3090         [BZ #19831]
3091         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3092         function.
3093         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3094         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3096 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3098         [BZ #19862]
3099         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3100         (getanswer_r): Do not call syslog.
3101         (gaih_getanswer_slice): Likewise.
3102         * resolv/gethnamaddr.c (AskedForGot): Remove.
3103         (getanswer): Do not call syslog.
3104         (gethostbyaddr): Likewise.
3106 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3108         * conform/data/signal.h-data (union sigval): Expect also if
3109         [XOPEN2K].
3110         (struct sigevent): Likewise.
3111         (SIGEV_NONE): Likewise.
3112         (SIGEV_SIGNAL): Likewise.
3113         (SIGEV_THREAD): Likewise.
3114         (SIGRTMIN): Likewise.
3115         (SIGRTMAX): Likewise.
3116         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3117         variable.
3118         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3120 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3122         [BZ #19830]
3123         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3124         (gaih_getanswer_slice): Likewise.
3125         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3126         Also check for availability of RR metadata.
3128 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3130         [BZ #19825]
3131         * resolv/res_send.c (send_vc): Remove early *resplen2
3132         initialization.  Set *resplen2 on socket error.  Call
3133         close_and_return_error for other errors.
3135 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3137         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3138         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3139         (SCM_IUCV_TRGCLS): New define.
3141 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3143         [BZ #20005]
3144         * libio/fmemopen.c (fmemopen_write): Update internal position after
3145         write.
3146         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3147         * stdio-common/tst-fmemopen4.c: New file..
3149 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3151         [BZ #19996]
3152         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3153         not [__USE_XOPEN2K].
3154         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3155         variable.
3157         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3158         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3159         variable.
3161         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3162         [__USE_XOPEN2K8].
3163         [__USE_LARGEFILE64] (off64_t): Likewise.
3164         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3165         variable.
3167 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3169         [BZ #19989]
3170         * libio/stdio.h (cuserid): Do not declare if
3171         [__USE_XOPEN2K && !__USE_GNU].
3172         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3173         variable.
3175 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3177         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3178         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3180         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3181         ifunc'ed strcspn.
3182         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3183         [EALIGN]: Removed.
3184         [END]: Likewise
3185         [STRSPN]: Define instead of the above to control symbol name.
3186         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3187         New file.
3188         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3189         Likewise.
3190         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3191         Likewise.
3192         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3193         Likewise.
3194         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3195         [INITIAL_MASK]: New macro.
3196         [STRCSPN]: Likewise.
3197         [UPDATE_MASK]: Likewise.
3198         [USE_AS_STRCSPN]: Lisewise.
3200 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3202         [BZ #19931]
3203         * stdio-common/tst-vfprintf-width-prec.c: New file.
3204         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3205         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3206         (generated): Add mtrace-related files.
3207         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3208         (tst-%-mem.out): New pattern rule, replaces
3209         tst-printf-bz18872-mem.out.
3210         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3211         specifier, deallocate any previously allocated work buffer.
3213 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3215         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3216         Add nop before __startcontext, add explaining comments.
3218 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3220         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3221         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3222         completely different API.
3224         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3225         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3226         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3227         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3228         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3229         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3230         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3231         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3232         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3233         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3235 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3237         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3239 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3241         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3242         when it is the default of 0.
3244 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3246         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3247         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3248         (sysdep_routines): Add new strcasestr targets.
3249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3250         (__libc_ifunc_impl_list): Likewise.
3251         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3252         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3253         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3254         * sysdeps/powerpc/powerpc64/power8/Makefile:
3255         New file to add strcasestr-ppc64 to sysdep_routines.
3256         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3257         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3259 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3261         * benchtests/Makefile (wcsmbs-benchset): Include only for
3262         native builds and runs.
3263         (LOCALES): Likewise.
3264         (bench-build): Build timing-type here instead of the bench
3265         target.  Generate locale only for native builds.
3266         * benchtests/README: Add note for cross-building.
3268         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3270         * benchtests/README: Update README to include instructions on
3271         using bench-build.
3273         * Makefile.in (bench-build): New target.
3274         * Rules (PHONY): Add bench-build target.
3275         * benchtests/Makefile (bench): Depend on bench-build.
3276         (bench-build): New target.
3278 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3280         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3281         profil_reply_port.
3282         (profile_waiter): Do not initialize profil_reply_port.
3283         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3284         frequency instead of tick length in us.
3286 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3288         [BZ #18712]
3289         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3290         (__old_mempcpy_small): Likewise.
3291         (__old_strcpy_small): Likewise.
3292         (__old_stpcpy_small): Likewise.
3293         (__old_strpbrk_c2): Fix compat symbol name.
3294         (__old_strpbrk_c3): Likewise.
3295         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3296         (__mempcpy_small): Remove.
3297         (__strcpy_small): Remove.
3298         (__stpcpy_small): Remove.
3300 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3302         [BZ #19400]
3303         * locale/iso-639.def: Add the Talossan/tzl language.
3305 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3307         [BZ #16983]
3308         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3309         comment.  Add "ln" to strchr check on postal_fmt.
3311 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3313         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3314         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
3315         tel_dom_fmt.
3317 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3319         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3320         (sysdep_routines): Added __strlen_power8.
3321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3322         __strlen_power8 entry.
3323         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3324         Implementation for POWER8.
3325         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3326         for __strlen_power8.
3327         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3328         Implementation for POWER8.
3330 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
3332         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3334 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
3336         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3337         Goldmont and Airmont processors.
3339 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
3341         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3342         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3343         (__STRING2_SMALL_GET32): Remove.
3344         (memset): Remove.
3345         (__memset_1): Remove.
3346         (__memset_gc): Remove.
3347         (__mempcpy): Remove.
3348         (mempcpy): Remove.
3349         (__mempcpy_args): Remove.
3350         (strchr): Remove.
3351         (strcpy): Remove.
3352         (strcpy_args): Remove.
3353         (__stpcpy_args): Remove.
3354         (__strcmp_cc): Remove.
3355         (__strcmp_gc): Remove.
3356         (strstr): Remove.
3358 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
3360         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3361         * nis/nis_call.c (nis_server_cache_add): Likewise.
3363 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3365         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3367 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3369         * malloc/arena.c (__malloc_fork_lock_parent)
3370         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3371         internal_function attribute.
3373 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
3375         * stdio-common/printf_fp.c (__printf_fp_l):
3376         Rename ___printf_fp_l to __printf_fp_l and
3377         remove strong alias. Use libc_hidden_def instead
3378         of ldbl_hidden_def macro.
3380 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3382         Remove malloc hooks from fork handler.  They are no longer needed
3383         because malloc runs right before fork, and no malloc calls from
3384         other fork handlers are not possible anymore.
3385         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3386         declarations.
3387         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3388         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3389         (atfork_recursive_cntr): Remove.
3390         (__malloc_fork_lock_parent): Do not override malloc hooks and
3391         thread_arena.
3392         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3393         thread_arena.
3394         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3395         thread_arena instead of save_arena.
3397 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3399         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3400         (thread_atfork, thread_atfork_static): Remove.
3401         * sysdeps/mach/hurd/malloc-machine.h:
3402         (thread_atfork, thread_atfork_static): Remove.
3404 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3406         [BZ #19431]
3407         Run the malloc fork handler as late as possible to avoid deadlocks.
3408         * malloc/malloc-internal.h: New file.
3409         * malloc/malloc.c: Include it.
3410         * malloc/arena.c (ATFORK_MEM): Remove.
3411         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3412         Update comment.
3413         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3414         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3415         Remove outdated comment.
3416         (ptmalloc_init): Do not call thread_atfork.  Remove
3417         thread_atfork_static.
3418         * malloc/tst-malloc-fork-deadlock.c: New file.
3419         * Makefile (tests): Add tst-malloc-fork-deadlock.
3420         (tst-malloc-fork-deadlock): Link against libpthread.
3421         * manual/memory.texi (Aligned Memory Blocks): Update safety
3422         annotation comments.
3423         * sysdeps/nptl/fork.c (__libc_fork): Call
3424         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3425         __malloc_fork_unlock_child.
3426         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3428 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3430         [BZ #19613]
3431         Remove union wait.
3432         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3433         (w_stopsig, w_stopval): Remove.
3434         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3435         stat_loc argument.
3436         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3437         (__WAIT_STATUS_DEFN): Remove.
3438         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3439         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3440         (wait, wait3, wait4): Use int * for the stat_loc argument.
3441         * posix/wait.c (__wait): Likewise.
3442         * posix/wait3.c (__wait3): Likewise.
3443         * posix/wait4.c (__wait4): Likewise.
3444         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3445         (__WAIT_STATUS_DEFN): Remove.
3446         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3447         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3448         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3449         argument.
3450         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3451         * sysdeps/posix/wait3.c (__wait3): Likewise.
3452         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3453         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3454         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3455         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3456         stat_loc argument.
3457         * manual/process.texi (BSD Wait Functions): Remove union wait.
3459 2016-04-13  Andreas Schwab  <schwab@suse.de>
3461         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3462         (test-extras): Add tst-tlsalign-vars.
3463         * math/Makefile: Wrap long lines.
3464         (libm-vec-test-wrappers): Define.
3465         (test-extras): Add $(libm-vec-test-wrappers).
3466         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3467         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3468         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3469         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3470         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3471         (extra-test-objs): Add corresponding objects.
3473 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3475         [BZ #19928]
3476         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3477         New.
3478         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3479         times of shared cache size.
3480         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3481         (VMOVNT): New.
3482         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3483         (VMOVNT): Likewise.
3484         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3485         (VMOVNT): Likewise.
3486         (VMOVU): Changed to movups for smaller code sizes.
3487         (VMOVA): Changed to movaps for smaller code sizes.
3488         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3489         comments.
3490         (PREFETCH): New.
3491         (PREFETCH_SIZE): Likewise.
3492         (PREFETCHED_LOAD_SIZE): Likewise.
3493         (PREFETCH_ONE_SET): Likewise.
3494         Rewrite to use forward and backward loops, which move 4 vector
3495         registers at a time, to support overlapping addresses and use
3496         non temporal store if size is above the threshold and there is
3497         no overlap between destination and source.
3499 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
3501         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3502         Include dl-vdso.
3503         * sysdeps/unix/sysv/linux/mips/Versions: Add
3504         __vdso_clock_gettime.
3505         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3506         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3507         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3508         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3509         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3510         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3511         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3512         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3513         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3515 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3517         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3518         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3519         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3520         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3521         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3522         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3525         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3526         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3527         syscalls generation.
3528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3529         [__NR_pwrite64] (__NR_write): Remove define.
3530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3531         [__NR_pwrite64] (__NR_write): Remove define.
3532         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3533         Remove define.
3534         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3535         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3536         Remove define.
3537         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3538         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3539         Linux implementation as base.
3540         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3542         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3543         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3544         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3545         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3548         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3549         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3550         syscall generation.
3551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3552         [__NR_pread64] (__NR_pread): Remove define.
3553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3554         [__NR_pread64] (__NR_pread): Likewise.
3555         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3556         define.
3557         (__libc_pread): Use SYSCALL_LL macro on offset argument.
3558         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3559         Remove define.
3560         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3561         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3562         Linux implementation as base.
3563         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3564         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3565         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3567         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3568         definition.
3569         (__ALIGNMENT_COUNT): Likewise.
3570         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3571         (__ALIGNMENT_COUNT): Likewise.
3572         (SYSCALL_LL): New define.
3573         (SYSCALL_LL64): Likewise.
3574         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3575         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3576         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3577         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3579         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3580         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3581         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3582         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3583         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3584         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3586 2016-04-11  Florian Weimer  <fweimer@redhat.com>
3588         [BZ #19865]
3589         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3590         original buffer before retry.
3592 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3594         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3595         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3596         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3597         GLRO(dl_auxv) list.
3598         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3599         including <ldsodefs.h>.
3600         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3602 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
3604         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3605         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3606         $(CPPFLAGS).
3608 2016-04-09  Khem Raj  <raj.khem@gmail.com>
3610         [BZ #17950]
3611         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3612         Add -mfpmath=387.
3614 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
3616         * sysdeps/i386/configure.ac: Change == to = when calling test.
3617         * sysdeps/x86_64/configure.ac: Likewise.
3618         * sysdeps/i386/configure: Regenerated.
3619         * sysdeps/x86_64/configure: Likewise.
3621 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
3623         [BZ #16137]
3624         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3625         * benchtests/bench-strcoll.c (input_files): Likewise.
3626         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3627         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3628         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3630 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3632         [BZ #19929]
3633         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3634         [__USE_XOPEN2K8 && !__USE_GNU].
3635         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3636         variable.
3638         [BZ #19925]
3639         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3640         define if [!__USE_MISC && __USE_XOPEN2K].
3641         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3642         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3643         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3644         Likewise.
3645         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3646         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3647         variable.
3648         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3650 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3652         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3653         (sysdep_routines): Add new strspn targets.
3654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3655         (__libc_ifunc_impl_list): Add strspn.
3656         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3657         New file.
3658         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3659         Likewise.
3660         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3661         Likewise.
3662         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3663         Likewise.
3665 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3667         * misc/hsearch_r.c: Include <limits.h>.
3669 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3671         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3673 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3675         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3676         (MEMCPY_SYMBOL): New.
3677         (MEMPCPY_SYMBOL): Likewise.
3678         (MEMMOVE_CHK_SYMBOL): Likewise.
3679         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3680         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3681         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
3682         Provide alias for memcpy in libc.a and ld.so.
3684 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3686         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3687         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
3688         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3689         Disabled fro now.
3690         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3691         symbols.  Properly check USE_MULTIARCH on __memset symbols.
3693 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3695         * benchtests/Makefile (string-benchset): Add memcpy-large,
3696         memmove-large and memset-large.
3697         * benchtests/bench-memcpy-large.c: New file.
3698         * benchtests/bench-memmove-large.c: Likewise.
3699         * benchtests/bench-memmove-large.c: Likewise.
3700         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3702 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3704         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3705         32-bit displacement to avoid long nop between instructions.
3707 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3709         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3710         a comment on VMOVU and VMOVA.
3712 2016-04-04  Florian Weimer  <fweimer@redhat.com>
3714         [BZ #19633]
3715         Use specified locale for number formatting in strfmon_l.
3716         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3717         (__nl_lookup_word): New inline functions.
3718         * include/printf.h (__print_fp_l): Declare.
3719         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3720         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
3721         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3722         (___printf_fp): New function.
3723         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3724         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3725         * stdlib/tst-strfmon_l.c (do_test): New test.
3726         * stdlib/Makefile (tests): Add kt.
3727         (LOCALES): Build additional locales.
3728         (tst-strfmon_l.out): Require locales.
3730 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3732         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3733         if not in libc.
3734         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3735         Likewise.
3736         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
3737         Likewise.
3738         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3739         Likewise.
3741 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3743         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3744         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
3745         with unaligned_erms.
3746         (__memmove_erms): Skip if source == destination.
3747         (__memmove_unaligned_erms): Don't check source == destination
3748         first.
3750 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3752         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3753         bit_arch_Fast_Copy_Backward for Intel Core proessors.
3755 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3757         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
3758         * string/strspn.c (strspn): Likewise.
3760 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3762         * benchtests/bench-memset.c (do_test): Support 64-byte
3763         alignment.
3764         (test_main): Test 64-byte alignment.
3766 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3768         * benchtests/bench-memmove.c (test_main): Test 64-byte
3769         alignment.
3771 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3773         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
3775 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3777         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
3778         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
3779         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
3781         * string/strpbrk.c (strpbrk): Rewrite function.
3782         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
3783         (__strpbrk_c2): Likewise.
3784         (__strpbrk_c3): Likewise.
3785         * string/string-inlines.c
3786         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
3787         Likewise.
3788         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
3789         Likewise.
3791         * string/strspn.c (strcspn): Rewrite function.
3792         * string/bits/string2.h (strspn): Use __builtin_strcspn.
3793         (__strspn_c1): Remove inline function.
3794         (__strspn_c2): Likewise.
3795         (__strspn_c3): Likewise.
3796         * string/string-inlines.c
3797         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
3798         compatibility symbol.
3799         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
3800         Likewise.
3801         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
3802         Likewise.
3803         * string/string-inlines.c: Include generic version.
3805 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
3806             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3808         * string/Version (libc): Add GLIBC_2.24.
3809         * string/strcspn.c (strcspn): Rewrite function.
3810         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
3811         (__strcspn_c1): Remove inline function.
3812         (__strcspn_c2): Likewise.
3813         (__strcspn_c3): Likewise.
3814         * string/string-inline.c
3815         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
3816         compatibility symbol.
3817         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
3818         Likewise.
3819         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
3820         Likewise.
3821         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
3823 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3825         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
3826         Use ahi instead of aghi to adjust stack pointer.
3828 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3830         [BZ #19853]
3831         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
3832         TEST to take significant digits as second parameter.
3833         [TEST]: Redefine in terms of TEST_N taking 30
3834         significant digits.
3835         (do_test): Add test case to demonstrate precision
3836         failure in the ldbl-128ibm printf.
3837         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
3838         (__mpn_extract_long_double): Carry 7 extra intermediate
3839         bits of precision to aide computing difference when
3840         signs differ.
3842 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3844         [BZ #19881]
3845         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3846         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
3847         memset-avx512-unaligned-erms.
3848         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3849         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
3850         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
3851         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
3852         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
3853         __memset_sse2_unaligned_erms, __memset_erms,
3854         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
3855         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3856         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
3857         file.
3858         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3859         Likewise.
3860         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
3861         Likewise.
3862         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
3863         Likewise.
3865 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3867         [BZ #19776]
3868         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3869         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
3870         memmove-avx512-unaligned-erms.
3871         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3872         (__libc_ifunc_impl_list): Test
3873         __memmove_chk_avx512_unaligned_2,
3874         __memmove_chk_avx512_unaligned_erms,
3875         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
3876         __memmove_chk_sse2_unaligned_2,
3877         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
3878         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
3879         __memmove_avx512_unaligned_erms, __memmove_erms,
3880         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
3881         __memcpy_chk_avx512_unaligned_2,
3882         __memcpy_chk_avx512_unaligned_erms,
3883         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
3884         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
3885         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
3886         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
3887         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
3888         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
3889         __mempcpy_chk_avx512_unaligned_erms,
3890         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
3891         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
3892         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
3893         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
3894         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
3895         __mempcpy_erms.
3896         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
3897         file.
3898         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3899         Likwise.
3900         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3901         Likwise.
3902         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3903         Likwise.
3905 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3907         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
3908         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
3909         (La_s390_64_regs): Likewise.
3910         (La_s390_32_retval): Append vector register lrv_v24.
3911         (La_s390_64_retval): Likeweise.
3912         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
3913         Handle extended structs La_s390_32_regs and La_s390_32_retval.
3914         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
3915         Handle extended structs La_s390_64_regs and La_s390_64_retval.
3917 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3919         [BZ #19916]
3920         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
3921         to create a non-vector/vector version for _dl_runtime_resolve and
3922         _dl_runtime_profile. Move implementation to ...
3923         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
3924         (_dl_runtime_resolve) Save and restore fpr/vrs.
3925         (_dl_runtime_profile) Save and restore vrs and fix some issues
3926         if _dl_call_pltexit is called.
3927         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
3928         Choose the correct resolver function if running on a machine with vx.
3929         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
3930         to create a non-vector/vector version for _dl_runtime_resolve and
3931         _dl_runtime_profile. Move implementation to ...
3932         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
3933         (_dl_runtime_resolve) Save and restore fpr/vrs.
3934         (_dl_runtime_profile) Save and restore vrs and fix some issues
3935         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
3936         Choose the correct resolver function if running on a machine with vx.
3938 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3940         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
3942 2016-03-31  Florian Weimer  <fweimer@redhat.com>
3944         [BZ #19509]
3945         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3946         skip_map != NULL.
3947         * elf/tst-dlsym-error.c: New file.
3948         * elf/Makefile (tests): Add tst-dlsym-error.
3949         (tst-dlsym-error): Link against libdl.
3951 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
3953         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3954         (__ASSUME_FUTIMESAT): Remove macro.
3955         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3957 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3959         [BZ #19879]
3960         CVE-2016-3075
3961         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3962         copy name.
3964 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3966         [BZ #19837]
3967         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3968         error if parse_line fails.
3970 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3972         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3973         (index_cpu_ERMS): Likewise.
3974         (reg_ERMS): Likewise.
3976 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3978         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3979         PER_LINUX_FDPIC): Add.
3981 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3984         memcpy-avx512-no-vzeroupper.
3985         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3986         to ...
3987         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3988         (MEMCPY): Don't define.
3989         (MEMCPY_CHK): Likewise.
3990         (MEMPCPY): Likewise.
3991         (MEMPCPY_CHK): Likewise.
3992         (MEMPCPY_CHK): Renamed to ...
3993         (__mempcpy_chk_avx512_no_vzeroupper): This.
3994         (MEMPCPY_CHK): Renamed to ...
3995         (__mempcpy_chk_avx512_no_vzeroupper): This.
3996         (MEMCPY_CHK): Renamed to ...
3997         (__memmove_chk_avx512_no_vzeroupper): This.
3998         (MEMCPY): Renamed to ...
3999         (__memmove_avx512_no_vzeroupper): This.
4000         (__memcpy_avx512_no_vzeroupper): New alias.
4001         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4003 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4005         [BZ #18858]
4006         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4007         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4008         and mempcpy-avx512-no-vzeroupper.
4009         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4010         New.
4011         (MEMPCPY): Likewise.
4012         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4013         (MEMPCPY_CHK): New.
4014         (MEMPCPY): Likewise.
4015         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4016         (MEMPCPY): Likewise.
4017         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4018         (MEMPCPY): Likewise.
4019         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4020         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4021         Likewise.
4022         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4023         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4025 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4026              Amit Pawar  <Amit.Pawar@amd.com>
4028         [BZ #19583]
4029         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4030         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4031         processors.  Set Fast_Copy_Backward for AMD Excavator
4032         processors.
4033         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4034         New.
4035         (index_arch_Fast_Unaligned_Copy): Likewise.
4036         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4037         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4039 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4041         [BZ #19791]
4042         * resolv/res_send.c (close_and_return_error): New function.
4043         (send_dg): Initialize *resplen2 after reopen failure.  Call
4044         close_and_return_error for error returns.  On error paths without
4045         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4046         successful return.
4048 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4050         [BZ# 19860]
4051         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4052         zero if the compiler does not provide the AVX512F bit.
4054 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4056         [BZ #19848]
4057         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4058         from 8 to 4.
4059         (__ieee754_powl): Compare integer exponent against 4 not 8.
4060         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4061         from 8 to 4.
4062         (__ieee754_powl): Compare integer exponent against 4 not 8.
4063         * math/auto-libm-test-in: Add more tests of pow.
4064         * math/auto-libm-test-out: Regenerated.
4065         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4068 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4070         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4071         Make code unconditional.
4072         [!__NR_utimensat]: Remove conditional code.
4073         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4074         Make code unconditional.
4075         [!__NR_utimensat]: Remove conditional code.
4076         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4077         Make code unconditional.
4078         [!__NR_utimensat]: Remove conditional code.
4080 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4082         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4083         Make code unconditional.
4085 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4087         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4088         call-clobbered %eax on retry path.
4089         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4091 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4093         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4094         Don't set %rcx twice before "rep movsb".
4096 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4098         [BZ #19583]
4099         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4100         inline.  Check family before setting family, model and
4101         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4102         bits here.
4103         (init_cpu_features): Replace HAS_CPU_FEATURE and
4104         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4105         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4106         for Intel processors with usable AVX2.  Call get_common_indeces
4107         for other processors with family == NULL.
4108         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4109         (CPU_FEATURES_ARCH_P): Likewise.
4110         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4111         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4113 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4115         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4116         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4117         $(shared-thread-library) instead of hardcoding the path to libpthread.
4119 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4121         * sysdeps/unix/sysv/linux/kernel-features.h
4122         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4123         * sysdeps/unix/sysv/linux/getdents.c
4124         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4125         [!have_no_getdents64_defined]: Likewise.
4126         (__GETDENTS): Remove __have_no_getdents64 conditional.
4128 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4130         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4131         Remove macro.
4132         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4133         <kernel-features.h>.
4134         (signalfd) [__NR_signalfd4]: Make code unconditional.
4135         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4137 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4139         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4140         style.
4142 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4144         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4145         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4146         __pthread_unwind.
4147         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4148         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4149         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4150         (__condvar_cleanup1): Likewise.
4152 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4154         [BZ #19822]
4155         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4156         move it to the final $@ location.
4158 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4160         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4161         access where posix_spawn success and pid argument is null.
4162         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4163         success case.
4165 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4167         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4169         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4171         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4172         and __fcntl.
4173         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4174         __fcntl only.
4175         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4176         adding attribute_hidden to __open and __fcntl.
4178         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4179         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4180         depend on libc-modules.h,
4181         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4183 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4185         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4186         Remove macro.
4187         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4188         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4189         entry.
4191         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4192         Remove macro.
4193         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4194         include <kernel-features.h>.
4195         [!__ASSUME_FALLOCATE]: Remove conditional code.
4196         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4198 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4200         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4201         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4202         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4203         (_ZGVdN4v_cos_avx2): Likewise.
4204         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4205         (_ZGVdN4v_cos): Likewise.
4206         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4207         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4208         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4209         (_ZGVdN4v_exp_avx2): Likewise.
4210         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4211         (_ZGVdN4v_exp): Likewise.
4212         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4213         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4214         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4215         (_ZGVdN4v_log_avx2): Likewise.
4216         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4217         (_ZGVdN4v_log): Likewise.
4218         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4219         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4220         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4221         (_ZGVdN4vv_pow_avx2): Likewise.
4222         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4223         (_ZGVdN4vv_pow): Likewise.
4224         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4225         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4226         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4227         (_ZGVdN4v_sin_avx2): Likewise.
4228         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4229         (_ZGVdN4v_sin): Likewise.
4230         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4231         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4232         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4233         (_ZGVdN4vvv_sincos_avx2): Likewise.
4234         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4235         (_ZGVdN4vvv_sincos): Likewise.
4236         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4237         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4238         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4239         (_ZGVbN4v_cosf_sse4): Likewise.
4240         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4241         (_ZGVdN8v_cosf_avx2): Likewise.
4242         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4243         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4244         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4245         (_ZGVbN4v_expf_sse4): Likewise.
4246         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4247         (_ZGVdN8v_expf_avx2): Likewise.
4248         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4249         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4250         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4251         (_ZGVbN4v_logf_sse4): Likewise.
4252         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4253         (_ZGVdN8v_logf_avx2): Likewise.
4254         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4255         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4256         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4257         (_ZGVbN4vv_powf_sse4): Likewise.
4258         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4259         (_ZGVdN8vv_powf_avx2): Likewise.
4260         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4261         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4262         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4263         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4264         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4265         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4266         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4267         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4268         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4269         (_ZGVbN4v_sinf_sse4): Likewise.
4270         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4271         (_ZGVdN8v_sinf_avx2): Likewise.
4272         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4273         Use JUMPTARGET to call callee.
4274         (WRAPPER_IMPL_SSE2_ff): Likewise.
4275         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4276         (WRAPPER_IMPL_AVX): Likewise.
4277         (WRAPPER_IMPL_AVX_ff): Likewise.
4278         (WRAPPER_IMPL_AVX_fFF): Likewise.
4279         (WRAPPER_IMPL_AVX512): Likewise.
4280         (WRAPPER_IMPL_AVX512_ff): Likewise.
4281         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4282         Likewise.
4283         (WRAPPER_IMPL_SSE2_ff): Likewise.
4284         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4285         (WRAPPER_IMPL_AVX): Likewise.
4286         (WRAPPER_IMPL_AVX_ff): Likewise.
4287         (WRAPPER_IMPL_AVX_fFF): Likewise.
4288         (WRAPPER_IMPL_AVX512): Likewise.
4289         (WRAPPER_IMPL_AVX512_ff): Likewise.
4290         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4292 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4294         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4295         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4296         qualifier.
4297         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4298         internal_function qualifiers.
4300 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4302         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4303         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4304         * math/atest-exp.c (exp_mpn): Mark chk unused.
4305         * math/atest-exp2.c (exp_mpn): Likwise.
4306         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4307         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4309 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4311         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4312         Remove macro.
4313         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4314         <kernel-features.h>.
4315         [__NR_ppoll]: Make code unconditional.
4316         [!__ASSUME_PPOLL]: Remove conditional code.
4318         * sysdeps/unix/sysv/linux/kernel-features.h
4319         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4320         (__ASSUME_ACCEPT4): Likewise.
4321         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4322         Define.
4323         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4324         Likewise.
4325         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4326         Likewise.
4327         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4328         Likewise.
4329         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4330         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4331         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4332         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4333         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4334         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4335         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4336         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4337         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4338         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4339         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4340         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4341         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4342         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4343         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4344         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4345         Likewise.
4346         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4347         Likewise.
4348         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4349         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4350         0x040300].
4351         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4352         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4353         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4354         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4355         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4356         0x030300].
4357         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4358         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4359         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4360         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4361         0x040300].
4362         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4363         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4364         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4365         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4366         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4367         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4368         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4369         0x030300].
4370         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4371         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4372         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4373         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4374         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4375         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4376         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4377         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4378         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4379         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4380         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4381         0x040300].
4382         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4383         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4384         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4385         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4386         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4387         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4388         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4389         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4390         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4391         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4392         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4393         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4394         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4395         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4396         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4397         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4398         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4399         Likewise.
4400         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4401         Likewise.
4403 2016-03-15  Andreas Schwab  <schwab@suse.de>
4405         [BZ #19257]
4406         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4407         statp->_u._ext.nscount as loop count.
4409 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4411         * math/test-signgam-finite-c99.c: Also #undef
4412         __LIBC_INTERNAL_MATH_INLINES.
4413         * math/test-signgam-main.c: Likewise.
4415 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4417         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4418         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4419         (MADV_FREE): Likewise.
4420         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4421         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4422         EPOLLEXCLUSIVE.
4424 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4426         * timezone/README: Remove mention of checktab.awk. Mention wiki
4427         SharedSourceFiles.
4429 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4431         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4432         WUNTRACED.
4434 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4436         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4437         order to match the type of p when calling atomic_exchange_acq().
4439 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4441         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4442         cfi_offset calls.
4443         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4444         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4445         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4446         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4447         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4449 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4451         * timezone/checktab.awk: Removed.
4453 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4455         * manual/math.texi (Errors in Math Functions): Document relaxed
4456         accuracy goals for IBM long double.
4457         * math/libm-test.inc (test_exceptions): Always allow spurious
4458         "underflow" and "inexact" exceptions for IBM long double.
4460 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4462         [BZ #19762]
4463         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4464         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4465         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4466         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4467         (bit_arch_*): This for feature array.
4468         (bit_*): Renamed to ...
4469         (bit_cpu_*): This for cpu array.
4470         (index_*): Renamed to ...
4471         (index_arch_*): This for feature array.
4472         (index_*): Renamed to ...
4473         (index_cpu_*): This for cpu array.
4474         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4475         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4476         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4477         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4478         bit_##name with index_cpu_##name and bit_cpu_##name.
4479         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4480         bit_##name with index_arch_##name and bit_arch_##name.
4482 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
4484         [BZ #19792]
4485         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4486         Terminate FDE before return label.
4488 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
4490         [BZ #19790]
4491         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4492         (rintl): Define as macro.
4493         [USE_AS_NEARBYINTL] (__rintl): Likewise.
4494         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4495         of fesetround.  Ensure results are evaluated before end of scope.
4496         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4497         USE_AS_NEARBYINTL and include s_rintl.c.
4498         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4499         Disable exception traps in new environment.
4500         (libc_feholdsetround_ppc_ctx): Likewise.
4502 2016-03-08  Roland McGrath  <roland@hack.frob.com>
4504         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4505         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4506         (tst_audit10_aux) [__AVX512F__]: ... here.
4508 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
4510         * include/sys/auxv.h: New file.
4512 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4514         [BZ #19759]
4515         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4517 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4519         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4520         operand modifier.
4521         (feclearexcept): Likewise.
4523 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4525         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4526         to reflect the entire 32-bit HWCAP.
4527         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4528         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
4530 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4532         [BZ #19783]
4533         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4534         $(test-via-rtld-prefix).
4535         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4537 2016-03-08  Florian Weimer  <fweimer@redhat.com>
4539         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4540         union wait.  Report any non-zero exit status as error.
4542 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4544         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4545         configured with --enable-hardcoded-path-in-tests.
4547 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
4549         [BZ #19677]
4550         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4551         (__ieee754_remainderl): Put zero low parts in canonical form.
4552         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4553         file.  Based on
4554         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4555         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4556         with wrapper round test-fmodrem-ldbl-128ibm.c.
4557         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4558         file.
4559         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4560         Likewise.
4561         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4562         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4564 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4566         [BZ #19610]
4567         * elf/ldconfig.c (opt_link): Update comment.
4568         (options): Update help string for option -X.
4569         (search_dir): Unlink stale symbolic link only if updating symbolic
4570         links.
4571         * elf/tst-ldconfig-X.sh: New file.
4572         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4573         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4575 2016-03-07  Andreas Schwab  <schwab@suse.de>
4577         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4578         needed arguments.
4580 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
4582         [BZ #15333]
4583         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4584         to lstat64.
4586 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4588         * libio/filedoalloc.c (isatty): Remove.
4589         (local_isatty): Add comment.  Call __isatty directly.
4590         (_IO_file_doallocate): Update comment.  Assume _LIBC.
4591         * libio/wfiledoalloc.c (isatty): Remove.
4592         (_IO_wfile_doallocate): Update comment.
4594 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4596         [BZ #19269]
4597         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4598         tst-audit4-aux.o.
4599         (tst-audit10): Depend on tst-audit10-aux.o.
4600         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4601         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4602         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4603         instead of inline AVX code.
4604         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4605         instead of inline AVX512 code.
4606         * sysdeps/x86_64/tst-audit4-aux.c: New file
4607         * sysdeps/x86_64/tst-audit10-aux.c: New file
4609         [BZ #19648]
4610         * test-skeleton.c (main): Do not set RLIMIT_DATA.
4612 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4614         [BZ #14750]
4615         [BZ #10354]
4616         [BZ #18433]
4617         * include/sched.h (__clone): Add hidden prototype.
4618         (__clone2): Likewise.
4619         * include/unistd.h (__dup): Likewise.
4620         * posix/Makefile (tests): Add tst-spawn2.
4621         * posix/tst-spawn2.c: New file.
4622         * sysdeps/posix/dup.c (__dup): Add hidden definition.
4623         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4624         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4625         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4626         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4627         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4628         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4629         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4630         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4631         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4632         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4634         Likewise.
4635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4636         Likewise.
4637         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4638         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4639         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4640         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4641         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4642         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4643         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4644         * sysdeps/unix/sysv/linux/nptl-signals.h
4645         (____nptl_is_internal_signal): New function.
4646         * sysdeps/unix/sysv/linux/spawni.c: New file.
4648         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4649         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4650         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4651         * posix/tst-execvp2.c (do_test): Likewise.
4652         * posix/tst-execvp3.c (do_test): Likewise.
4653         * posix/tst-execvp4.c (do_test): Likewise.
4654         * posix/tst-execvpe1.c: New file.
4655         * posix/tst-execvpe2.c: Likewise.
4656         * posix/tst-execvpe3.c: Likewise.
4657         * posix/tst-execvpe4.c: Likewise.
4658         * posix/tst-execvpe5.c: Likewise.
4659         * posix/tst-execvpe6.c: Likewise.
4661         [BZ #19534]
4662         * posix/execl.c (execl): Remove dynamic memory allocation.
4663         * posix/execle.c (execle): Likewise.
4664         * posix/execlp.c (execlp): Likewise.
4666 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4668         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4669         Replace .text with .text.avx512.
4670         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4671         Likewise.
4673 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4675         * sysdeps/generic/libnsl.abilist: New file.
4676         * sysdeps/generic/libutil.abilist: New file.
4678 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4680         [BZ #19762]
4681         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4682         HAS_ARCH_FEATURE with Fast_Rep_String.
4683         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4684         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4685         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4686         Likewise.
4687         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4688         Likewise.
4689         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4690         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4691         Likewise.
4692         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4693         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4694         Likewise.
4696 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4698         [BZ #19745]
4699         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4700         with *%rax in call.
4702 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4704         [BZ #19745]
4705         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4706         with *__libc_start_main@GOTPCREL(%rip) in call.
4708 2016-03-04  Roland McGrath  <roland@hack.frob.com>
4710         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4711         inside conditional for nonempty $(CXX).
4713         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4714         nonempty.
4716         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4717         to test for empty $(CXX) rather than $(CXX) of "no".
4719 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4721         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4723 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
4724             H.J. Lu  <hongjiu.lu@intel.com>
4726         [BZ #18880]
4727         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4728         instead of Slow_BSF, and also check for Fast_Copy_Backward to
4729         enable __memcpy_ssse3_back.
4731 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4733         [BZ #19758]
4734         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4735         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4737 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4739         [BZ #19490]
4740         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
4741         (__fentry__): Likewise.
4743 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4745         * gmon/Makefile (noprof): Add $(sysdep_noprof).
4746         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
4748 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4750         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
4751         __mcount_internal directly.
4752         (C_LABEL(__fentry__)): Likewise.
4753         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
4754         directly.
4756 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4758         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4759         (__start_context): Call __setcontext directly.
4761 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
4763         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4764         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4765         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
4766         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4767         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4768         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4769         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
4770         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4771         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4772         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
4773         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4774         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4775         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4776         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4777         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4778         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4779         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
4780         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4781         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4782         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4783         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
4784         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4785         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4786         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4787         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
4788         Remove conditional code.
4789         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4790         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
4791         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4792         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4793         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
4794         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4795         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4796         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4797         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4798         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4799         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4800         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4802 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
4804         * NEWS (2.23): Fix typo in bug 19048 text.
4806 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
4808         [BZ #14259]
4809         * Makeconfig: Rename msgcatdir to localedir.
4810         Rename inst_msgcatdir to inst_localedir.
4811         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
4812         * config.make.in: Add localedir.
4813         * elf/Makefile ($(objpfx)sotruss): Use localedir.
4814         (ldd-rewrite): Likewise.
4815         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
4816         (install-others): Use inst_localedir.
4817         (CPPFLAGS): Use localedir.
4818         * locale/Makefile (locale-CPPFLAGS): Likewise.
4819         * po/Makefile (mo-installed): Use inst_localedir.
4821         [BZ #19575]
4822         * localedata/charmaps/GB18030: Update comments regarding PAU to
4823         non-PUA mappings.
4825 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
4827         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
4828         test for header.
4829         * sysdeps/unix/sysv/linux/configure: Regenerated.
4830         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
4831         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
4832         Remove conditional code.
4833         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
4835         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4836         Define to 3.2.0.
4837         (arch_minimum_kernel): Likewise.
4838         * sysdeps/unix/sysv/linux/configure: Regenerated.
4839         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4840         Define to 2.6.32.
4841         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4842         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4843         (arch_minimum_kernel): Define to 2.6.32.
4844         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4845         * README: Document Linux 3.2 requirement.
4846         * manual/install.texi (Linux): Document Linux 3.2 headers
4847         requirement.
4848         * INSTALL: Regenerated.
4850 2016-02-24  Andreas Schwab  <schwab@suse.de>
4852         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
4853         if !NO_LONG_DOUBLE.
4855 2016-02-22  Roland McGrath  <roland@hack.frob.com>
4857         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
4858         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
4860 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
4862         [BZ #19512]
4863         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
4865 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4867         * posix/tst-dir.c: Include libc-internal.h.
4869 2016-02-20  Florian Weimer  <fweimer@redhat.com>
4871         [BZ #19056]
4872         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
4873         * manual/filesys.texi (Reading/Closing Directory): Mention
4874         deprecaion.
4875         * posix/tst-dir.c (main): Disable deprecation warning in test.
4877 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
4879         [BZ #19679]
4880         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
4881         Renamed to ...
4882         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
4883         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4884         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
4885         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4886         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4887         * sysdeps/x86_64/dl-trampoline.h
4888         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4889         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4891 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4893         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
4895 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4897         * elf/elf.h (R_386_GOT32X): New.
4898         (R_386_NUM): Update.
4899         (R_X86_64_GOTPCRELX: New.
4900         (R_X86_64_REX_GOTPCRELX): New.
4901         (R_X86_64_NUM): Update.
4903 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
4905         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
4907 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
4909         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
4910         assign attr->stackaddr to it, and adjust it down when
4911         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
4912         [_STACK_GROWS_UP]: Delete assert.
4913         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
4914         Implement stack grows up logic.
4915         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
4916         stack grows up logic.
4918 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4920         * NEWS: Update with 2.24 template.
4922 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4924         [BZ #19678]
4925         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4926         Ensure +0.0 is returned when taking the next value below the least
4927         positive value.
4929 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4931         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
4932         available.  Do not define NO_THREADS.
4933         * malloc/malloc.c: Do not check NO_THREADS.
4934         * malloc/arena.c: Likewise.
4936 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4938         * malloc/malloc.c (__libc_mallinfo): Update comment.
4939         (struct malloc_par): Remove max_total_mem member, it was always 0.
4940         (int_mallinfo): Store 0 into usmblks (no functional change).
4941         * malloc/hooks.c (struct malloc_state): Document that
4942         max_total_mem is always 0.
4943         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4944         always 0.
4945         * manual/memory.texi (Statistics of Malloc): Likewise.
4947 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4949         * malloc/malloc.c (sysmalloc): Do not update arena_max.
4950         * malloc/arena.c (arena_max): Remove.
4951         (heap_trim, _int_new_arena): Do not update arena_max.
4953 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4955         * resolv/res_init.c (res_ninit): Update comment.
4957 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4959         [BZ #19505]
4960         * posix/spawn_int.h: Add headers and include guard.
4961         (__spawn_valid_fd): New function.
4962         * posix/spawn_faction_addopen.c
4963         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4964         * posix/spawn_faction_addclose.c
4965         (posix_spawn_file_actions_addclose): Likewise.
4966         * posix/spawn_faction_adddup2.c
4967         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
4968         second file descriptor.
4969         * posix/spawn_valid_fd.c: New file.
4970         * posix/tst-posix_spawn-fd.c: New file.
4971         * posix/Makefile (routines): Add spawn_valid_fd.
4972         (tests): Add tst-posix_spawn-fd.
4974 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4976         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4977         (do_test): Limit the number of arenas, so that we can use fewer
4978         outer threads.  Limit timeout to 3 seconds, in preparation for a
4979         larger TIMEOUT value.
4981 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4983         [BZ #19674]
4984         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4985         sign in overflowing and underflowing results when overflow or
4986         underflow is detected early.  Include sign in result before rather
4987         than after scaling.
4989         [BZ #19603]
4990         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4991         (__ieee754_remainderl): Adjust sign of integer version of low part
4992         when taking absolute value of high part.
4993         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4994         * math/libm-test.inc (remainder_test_data): Add another test.
4995         (remquo_test_data): Likewise.
4997 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
4999         [BZ #19602]
5000         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5001         equal high parts and both low parts zero specially.
5002         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5003         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5004         Add test-fmodl-ldbl-128ibm.
5006         [BZ #19595]
5007         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5008         common logic for all cases of shifting subnormal results.  Do not
5009         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5010         exponent to ldbl_insert_mantissa in subnormal case.
5012         [BZ #19594]
5013         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5014         on high and low parts then adjust result and use
5015         ldbl_canonicalize_int if needed.
5017         [BZ #19593]
5018         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5019         on high part and __floor or __ceil on low part then use
5020         ldbl_canonicalize_int if needed.
5022         [BZ #19592]
5023         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5024         high and low parts then use ldbl_canonicalize_int if needed.
5026         [BZ #17899]
5027         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5028         New function.
5029         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5030         on high and low parts then use ldbl_canonicalize_int if needed.
5032 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5034         * configure: Regenerated.
5036         * po/libc.pot: Regenerated.
5038         * po/be.po: Updated translation.
5039         * po/bg.po: Likewise.
5040         * po/ca.po: Likewise.
5041         * po/cs.po: Likewise.
5042         * po/da.po: Likewise.
5043         * po/el.po: Likewise.
5044         * po/eo.po: Likewise.
5045         * po/es.po: Likewise.
5046         * po/fi.po: Likewise.
5047         * po/fr.po: Likewise.
5048         * po/gl.po: Likewise.
5049         * po/hr.po: Likewise.
5050         * po/hu.po: Likewise.
5051         * po/ia.po: Likewise.
5052         * po/id.po: Likewise.
5053         * po/it.po: Likewise.
5054         * po/ja.po: Likewise.
5055         * po/lt.po: Likewise.
5056         * po/nb.po: Likewise.
5057         * po/nl.po: Likewise.
5058         * po/pt_BR.po: Likewise.
5059         * po/rw.po: Likewise.
5060         * po/sk.po: Likewise.
5061         * po/sl.po: Likewise.
5062         * po/sv.po: Likewise.
5063         * po/tr.po: Likewise.
5064         * po/zh_CN.po: Likewise.
5065         * po/zh_TW.po: Likewise.
5067         * version.h (RELEAES): Set to "development".
5068         (VERSION): Set to 2.23.90.
5070         * version.h (RELEASE): Set to "stable".
5071         (VERSION): Set to 2.23.
5072         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5074         * NEWS: Updated fixed bugs.
5076 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5077             Wilco Dijkstra  <wdijkstr@arm.com>
5079         [BZ #19462]
5080         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5081         (_STRING_INLINE_unaligned): This.
5082         * include/string.h: Include <string_private.h>.
5083         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5084         _STRING_INLINE_unaligned.
5085         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5086         (_STRING_INLINE_unaligned): New.
5087         * sysdeps/aarch64/string_private.h: New file.
5088         * sysdeps/generic/string_private.h: Likewise.
5089         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5090         * sysdeps/s390/string_private.h: Likewise.
5091         * sysdeps/x86/string_private.h: Likewise.
5092         * sysdeps/m68k/m680x0/m68020/bits/string.h
5093         (_STRING_ARCH_unaligned): Renamed to ...
5094         (_STRING_INLINE_unaligned): This.
5095         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5096         to ...
5097         (_STRING_INLINE_unaligned): This.
5098         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5099         to ...
5100         (_STRING_INLINE_unaligned): This.
5101         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5102         to ...
5103         (_STRING_INLINE_unaligned): This.
5105 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5106             H.J. Lu  <hongjiu.lu@intel.com>
5108         [BZ #19590]
5109         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5110         relocation.
5112 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5114         [BZ #18665]
5115         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5116         *herrno_p.
5117         (gaih_getanswer): Document functional behviour. Return tryagain
5118         if any result is tryagain.
5119         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5120         when freed.
5121         * resolv/res_send.c: Add copyright text.
5122         (__libc_res_nsend): Document that MAXPACKET is expected.
5123         (send_vc): Document. Remove buffer reuse.
5124         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5125         size of the buffer. Add Dprint for truncated UDP buffer.
5127 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5129         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5130         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5131         * INSTALL: Regenerate.
5133 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5134             Jonathan Wakely  <jwakely@redhat.com>
5135             Carlos O'Donell  <carlos@redhat.com>
5137         [BZ 19439]
5138         * math/Makefile (tests): Add test-math-isinff.
5139         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5140         * math/bits/mathcalls.h [__USE_MISC]: Use
5141         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5142         functions not in C++11 and which don't conflict e.g. isinff,
5143         isinfl etc.
5144         * math/test-math-isinff.cc: New file.
5146 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5148         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5150 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5152         [BZ #19529]
5153         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5155 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5157         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5159 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5161         [BZ #19550]
5162         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5163         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5164         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5165         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5166         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5167         New syscall entry.
5168         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5169         New syscall entry.
5170         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5171         syscall entry.
5173 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5175         [BZ #18240]
5176         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5177         unsigned int wraparound.
5179 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5181         [BZ #18240]
5182         * misc/bug18240.c: New test.
5183         * misc/Makefile (tests): Add it.
5185 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5186             Joseph Myers  <joseph@codesourcery.com>
5188         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5189         load in branch delay slot when less than a word of input left.
5191 2016-01-27  Andreas Schwab  <schwab@suse.de>
5193         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5194         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5195         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5196         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5198 2016-01-26  David S. Miller  <davem@davemloft.net>
5200         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5202 2016-01-25  David S. Miller  <davem@davemloft.net>
5204         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5205         __sqrtl_finite.
5206         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5207         instead using versioned_symbol.
5208         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5209         of entries.
5211         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5212         __sqrtl_finite to GLIBC_2.23
5214 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5216         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5218 2016-01-25  Andreas Schwab  <schwab@suse.de>
5220         [BZ #17514]
5221         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5222         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5223         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5224         * nptl/tst-mutex-errorcheck.c: New file.
5226 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5228         [BZ #18560]
5229         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5230         (IPCOP_semop): Likewise.
5231         (IPCOP_semget): Likewise.
5232         (IPCOP_semctl): Likewise.
5233         (IPCOP_msgsnd): Likewise.
5234         (IPCOP_msgrcv): Likewise.
5235         (IPCOP_msgget): Likewise.
5236         (IPCOP_msgctl): Likewise.
5237         (IPCOP_shmat): Likewise.
5238         (IPCOP_shmdt): Likewise.
5239         (IPCOP_shmget): Likewise.
5240         (IPCOP_shmctl): Likewise.
5242 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5244         * string/tst-endian.c: Include <libc-internal.h>.
5245         (do_test): Ignore tautological-compare warnings around
5246         "htobeXX (beXXtoh (i)) != i" and
5247         "htoleXX (leXXtoh (i)) != i" if-statements.
5249 2016-01-24  David S. Miller  <davem@davemloft.net>
5251         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5252         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5253         alias.
5254         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5255         __sqrtl_finite.
5257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5259 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5261         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5262         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5263         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5265 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5267         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5268         (thread_func): Use new function to simplify barrier check.
5269         (do_test): Use new function to simplify checking barrier exit
5270         code, and actually join the child thread.
5272 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5274         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5275         semicolon.
5276         (__libc_tend): Likewise.
5277         (__libc_tabort): Likewise.
5279 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5281         * sysdeps/nios2/libm-test-ulps: Update.
5282         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5283         (__gtsf2): Likewise.
5284         (__unorddf2): Likewise.
5285         (__unordsf2): Likewise.
5286         (__ledf2): Likewise.
5288 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5290         * nis/nis_table.c (__follow_path): Disable diagnostic for
5291         uninitialized variable that is a false positive for gcc 4.7.
5292         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5294 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5296         * sysdeps/nacl/lowlevellock-futex.h
5297         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5298         Always evaluate PRIVATE argument.
5300 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5302         [BZ #19490]
5303         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5304         (pthread_cond_broadcast): Use ENTRY/END
5305         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5306         (pthread_cond_signal): Likewise.
5307         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5308         Likewise.
5309         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5310         Likewise.
5311         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5312         Likewise.
5314 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
5316         * sysdeps/ieee754/dbl-64/s_finite.c
5317         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5318         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5319         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5320         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5321         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5324         (__gtsf2): Add as optional for libc.so.
5325         (__unordsf2): Likewise.
5326         (__signbit): Remove for libc.so.
5327         (__signbitl): Likewise.
5329 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5331         * iconvdata/bug-iconv11.c (test_ibm93x):
5332         Use %zu printf format specifier for size_t argument.
5334 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
5336         * math/gen-libm-test.pl (parse_ulps): Do not reduce
5337         already-recorded ulps.
5338         * sysdeps/arm/libm-test-ulps: Regenerated.
5339         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5340         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5341         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5343 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5344             Paul Pluzhnikov  <ppluzhnikov@google.com>
5346         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5347         assembler not supporting AVX-512.
5349 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5351         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5353 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
5355         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5356         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5358         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5360         * sysdeps/arm/libm-test-ulps: Regenerated.
5362 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5364         [BZ #19451]
5365         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5367 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5369         [BZ #19486]
5370         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5371         * sysdeps/generic/fix-fp-int-convert-overflow.h
5372         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5373         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5374         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5375         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5376         Likewise.
5377         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5378         Avoid conversions to long int where inexact exceptions
5379         could be raised.
5380         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5381         Likewise.
5382         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5383         Avoid conversions to long long int where inexact exceptions
5384         could be raised.
5385         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5386         Likewise.
5388 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5390         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5391         * configure: Regenerated.
5393 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5395         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5397 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5399         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5400         outside of comment.
5402 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5404         * nptl/tst-barrier1.c: Add description on first line.
5405         * nptl/tst-barrier2.c: Likewise.
5406         * nptl/tst-barrier3.c: Likewise.
5407         * nptl/tst-barrier4.c: Likewise.
5408         * nptl/tst-barrier5.c: Likewise.
5410 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5412         [BZ #18868]
5413         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5415 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5417         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5418         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5419         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5420         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5421         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5422         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5423         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5424         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5425         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5426         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5427         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5429 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5431         [BZ #13065]
5432         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5433         new implementation.
5434         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5435         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5436         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5437         (BARRIER_IN_THRESHOLD): New macro.
5438         * nptl/pthread_barrierattr_setpshared.c
5439         (pthread_barrierattr_setpshared): Clean up.
5440         * nptl/tst-barrier4.c: Correct comment.
5441         * nptl/tst-barrier5.c: New file.
5442         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5443         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5444         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5445         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5446         * nptl/lowlevelbarrier.sym: Remove.
5447         * nptl/DESIGN-barrier.txt: Remove.
5448         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5449         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5450         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5451         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5452         error.
5453         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5454         implementation.
5456 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5458         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5459         (do_child): Mask SIGRTMIN while thr is running.
5461 2016-01-15  Martin Sebor  <msebor@redhat.com>
5463         [BZ #19432]
5464         * iconvdata/Makefile: Add bug-iconv11.
5465         * iconvdata/bug-iconv11.c: New test.
5466         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5467         * iconvdata/ibm933.c: Same.
5468         * iconvdata/ibm935.c: Same.
5469         * iconvdata/ibm937.c: Same.
5470         * iconvdata/ibm939.c: Same.
5472 2016-01-15  Martin Sebor  <msebor@redhat.com>
5474         [BZ #19443]
5475         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5476         [DEBUG] (_ufc_set_bits): Declare used.
5477         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5478         [DEBUG] (print_all): Declare used.
5479         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5480         operands of the ternary ?: expression to target type.
5481         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5482         calling the undeclared abort.
5483         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5485 2016-01-15  Martin Sebor  <msebor@redhat.com>
5487         [BZ #18755]
5488         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5489         warnings.
5490         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5491         (__gai_create_helper_thread): Same.
5492         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5493         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5494         to suppress -Wmaybe-uninitialized warnings.
5496 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
5498         [BZ #19465]
5499         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5500         inside if.
5501         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5502         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5503         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5505 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
5507         [BZ #19466]
5508         * time/tst-mktime2.c (time_t_max): Removed.
5509         (time_t_min): Likewise.
5510         (TYPE_SIGNED): New.
5511         (TYPE_MINIMUM): Likewise.
5512         (TYPE_MAXIMUM): Likewise.
5513         (TIME_T_MIN): Likewise.
5514         (TIME_T_MAX): Likewise.
5515         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5516         and TIME_T_MIN.
5517         (do_test): Likewise.
5519 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
5521         [BZ #19467]
5522         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5523         index_Fast_Unaligned_Load flag for Excavator family CPUs.
5525 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
5527         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5529 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
5531         * benchtests/Makefile (PYTHON): Define.
5532         (bench-func): Use $(PYTHON) to run python scripts.
5533         ($(objpfx)bench-%.c): Likewise.
5535 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
5537         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5538         leading slash when `file_name' is "/".
5540 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
5542         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5543         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5544         Likewise.
5545         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5546         Likewise.
5547         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5548         Likewise.
5549         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5550         enum constant and macro.
5551         (PTRACE_SETSIGMASK): Likewise.
5552         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5553         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5554         (PTRACE_GETSIGMASK): Likewise.
5555         (PTRACE_SETSIGMASK): Likewise.
5556         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5557         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5558         Likewise.
5559         (PTRACE_SETSIGMASK): Likewise.
5560         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5561         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5562         (PTRACE_GETSIGMASK): Likewise.
5563         (PTRACE_SETSIGMASK): Likewise.
5564         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5565         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5566         Likewise.
5567         (PTRACE_SETSIGMASK): Likewise.
5568         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5569         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5570         Likewise.
5571         (PTRACE_SETSIGMASK): Likewise.
5572         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5573         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5574         Likewise.
5575         (PTRACE_SETSIGMASK): Likewise.
5576         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5578 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
5579             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5581         [BZ #19439]
5582         * math/bits/mathcalls.h
5583         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5584         prototype.
5585         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5587 2016-01-11  Andreas Schwab  <schwab@suse.de>
5589         [BZ #19253]
5590         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5591         cache when TZDEFRULES was used.
5592         * time/tst-tzname.c: New file.
5593         * time/Makefile (test): Add tst-tzname.
5594         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5595         * timezone/Makefile (test-zones): Add $(posixrules-file).
5596         ($(testdata)/$(posixrules-file)): New rule.
5598 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5600         Fix doc quoting problems with Texinfo 5
5601         Without this change, in the info file output, Texinfo 5 quotes code
5602         in text with undirected single quotes 'like this' and generates
5603         code examples that with many PDF readers cannot be cut out of PDFs
5604         and pasted into code.
5605         * manual/libc.texinfo: Configure the libc manual like the GNU
5606         Emacs manual, by using @documentencoding and setting
5607         txicodequoteundirected and txicodequotebacktick.  This way,
5608         Texinfo 5 quotes code in text with directed single quotes ‘like
5609         this’ and produces examples that can be cut out of PDFs.  This
5610         change causes Texinfo 5 to generate info files that contain UTF-8
5611         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5612         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5614 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5616         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5617         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5618         barriers to their respective compiler built-ins.
5619         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5620         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5621         * sysdeps/powerpc/sysdep.h: Likewise.
5622         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5623         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5624         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5626 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5628         * scripts/config.guess: Revert previous shebang change.
5629         * scripts/config.sub: Likewise.
5630         * scripts/mkinstalldirs: Likewise.
5632 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5634         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5635         PPC_FEATURE2_HAS_IEEE128.
5636         * sysdeps/powerpc/dl-procinfo.c:
5637         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5639 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5641         [BZ #19415]
5642         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5643         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5644         (_dl_lookup_address): Rewrite using function resolver trampoline.
5645         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5646         two bits in address.
5648 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5650         * longlong.h: Change !__SHMEDIA__ to
5651         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5652         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5654 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5655             Joseph Myers  <joseph@codesourcery.com>
5656             Mark Shinwell  <shinwell@codesourcery.com>
5657             Andrew Stubbs  <ams@codesourcery.com>
5658             Rich Felker <dalias@libc.org>
5660         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5662 2016-01-07  Richard Henderson  <rth@redhat.com>
5664         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5666 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5668         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5669         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5670         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5671         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5672         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5674 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5675             Joseph Myers  <joseph@codesourcery.com>
5677         * timezone/private.h: Update from tzcode 2015g.
5678         * timezone/tzfile.h: Likewise.
5679         * timezone/tzselect.ksh: Likewise.
5680         * timezone/zdump.c: Likewise.
5681         * timezone/zic.c: Likewise.
5682         * timezone/ialloc.c: Remove file.
5683         * timezone/scheck.c: Likewise.
5684         * timezone/Makefile (extra-objs): Remove variable.
5685         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5686         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5687         -Wno-maybe-uninitialized.
5688         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5689         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5690         (CFLAGS-ialloc.c): Remove variable.
5691         (CFLAGS-scheck.c): Likewise.
5692         * timezone/README: Update list of files from tzcode.
5694 2016-01-07  Khem Raj  <raj.khem@gmail.com>
5696         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5697         instead of __fxprintf when _LIBC is undefined.
5699 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
5701         * catgets/test-gencat.sh: Remove space after shebang.
5702         * conform/GlibcConform.pm: Likewise.
5703         * conform/check-header-lists.sh: Likewise.
5704         * conform/conformtest.pl: Likewise.
5705         * conform/linknamespace.pl: Likewise.
5706         * conform/list-header-symbols.pl: Likewise.
5707         * debug/catchsegv.sh: Likewise.
5708         * elf/genrtldtbl.awk: Likewise.
5709         * elf/tst-pathopt.sh: Likewise.
5710         * elf/tst-rtld-load-self.sh: Likewise.
5711         * grp/tst_fgetgrent.sh: Likewise.
5712         * iconvdata/gen-8bit-gap-1.sh: Likewise.
5713         * iconvdata/gen-8bit-gap.sh: Likewise.
5714         * iconvdata/gen-8bit.sh: Likewise.
5715         * iconvdata/run-iconv-test.sh: Likewise.
5716         * intl/tst-gettext.sh: Likewise.
5717         * intl/tst-gettext2.sh: Likewise.
5718         * intl/tst-gettext4.sh: Likewise.
5719         * intl/tst-gettext6.sh: Likewise.
5720         * intl/tst-translit.sh: Likewise.
5721         * io/ftwtest-sh: Likewise.
5722         * libio/test-freopen.sh: Likewise.
5723         * locale/gen-translit.pl: Likewise.
5724         * malloc/tst-mtrace.sh: Likewise.
5725         * manual/check-safety.sh: Likewise.
5726         * manual/libc-texinfo.sh: Likewise.
5727         * manual/tsort.awk: Likewise.
5728         * manual/xtract-typefun.awk: Likewise.
5729         * nptl/tst-cancel-wrappers.sh: Likewise.
5730         * nptl/tst-tls6.sh: Likewise.
5731         * posix/globtest.sh: Likewise.
5732         * posix/tst-getconf.sh: Likewise.
5733         * posix/wordexp-tst.sh: Likewise.
5734         * scripts/check-c++-types.sh: Likewise.
5735         * scripts/check-local-headers.sh: Likewise.
5736         * scripts/config.guess: Likewise.
5737         * scripts/config.sub: Likewise.
5738         * scripts/cpp: Likewise.
5739         * scripts/cross-test-ssh.sh: Likewise.
5740         * scripts/documented.sh: Likewise.
5741         * scripts/evaluate-test.sh: Likewise.
5742         * scripts/gen-libc-abis: Likewise.
5743         * scripts/gen-sorted.awk: Likewise.
5744         * scripts/list-fixed-bugs.py: Likewise.
5745         * scripts/merge-test-results.sh: Likewise.
5746         * scripts/mkinstalldirs: Likewise.
5747         * scripts/rellns-sh: Likewise.
5748         * scripts/test-installation.pl: Likewise.
5749         * scripts/update-copyrights: Likewise.
5750         * stdio-common/tst-printf.sh: Likewise.
5751         * stdio-common/tst-unbputc.sh: Likewise.
5752         * stdlib/tst-fmtmsg.sh: Likewise.
5753         * stdlib/tst-setcontext3.sh: Likewise.
5754         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
5755         * sysdeps/unix/make-syscalls.sh: Likewise.
5757 2016-01-06  John David Anglin  <dave.anglin@bell.net>
5759         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
5760         asm stw with atomic_exchange_rel.  Add explanatory comment.
5761         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5762         Likewise.
5764 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5766         [BZ #19122]
5767         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
5768         * sysdeps/generic/dl-unistd.h: New file.
5769         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
5771 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5773          [BZ #19122]
5774          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
5775          * sysdeps/generic/dl-mman.h: New file.
5776          * sysdeps/mach/hurd/dl-mman.h: Likewise.
5778 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
5780         * manual/texinfo.tex: Update to version 2016-01-04.21 with
5781         trailing whitespace removed.
5782         * scripts/config.guess: Update to version 2016-01-01.
5783         * scripts/config.sub: Update to version 2016-01-01.
5784         * scripts/move-if-change: Update from gnulib.
5786 2016-01-04  Anton Blanchard  <anton@samba.org>
5788         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
5789         for array indices.
5790         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
5792 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
5794         * NEWS: Update copyright dates.
5795         * catgets/gencat.c (print_version): Likewise.
5796         * csu/version.c (banner): Likewise.
5797         * debug/catchsegv.sh: Likewise.
5798         * debug/pcprofiledump.c (print_version): Likewise.
5799         * debug/xtrace.sh (do_version): Likewise.
5800         * elf/ldconfig.c (print_version): Likewise.
5801         * elf/ldd.bash.in: Likewise.
5802         * elf/pldd.c (print_version): Likewise.
5803         * elf/sotruss.sh: Likewise.
5804         * elf/sprof.c (print_version): Likewise.
5805         * iconv/iconv_prog.c (print_version): Likewise.
5806         * iconv/iconvconfig.c (print_version): Likewise.
5807         * locale/programs/locale.c (print_version): Likewise.
5808         * locale/programs/localedef.c (print_version): Likewise.
5809         * login/programs/pt_chown.c (print_version): Likewise.
5810         * malloc/memusage.sh (do_version): Likewise.
5811         * malloc/memusagestat.c (print_version): Likewise.
5812         * malloc/mtrace.pl: Likewise.
5813         * manual/libc.texinfo: Likewise.
5814         * nptl/version.c (banner): Likewise.
5815         * nscd/nscd.c (print_version): Likewise.
5816         * nss/getent.c (print_version): Likewise.
5817         * nss/makedb.c (print_version): Likewise.
5818         * posix/getconf.c (main): Likewise.
5819         * scripts/test-installation.pl: Likewise.
5820         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5822         * All files with FSF copyright notices: Update copyright dates
5823         using scripts/update-copyrights.
5824         * intl/plural.c: Regenerated.
5825         * locale/programs/charmap-kw.h: Likewise.
5826         * locale/programs/locfile-kw.h: Likewise.
5828 2016-01-02  Helge Deller  <deller@gmx.de>
5830         [BZ #19285]
5831         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
5832         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
5833         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
5834         (MADV_xxK_PAGES): Remove.
5836 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
5838         [BZ #15421]
5839         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
5840         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
5841         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
5842         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
5844 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
5846         [BZ #19408]
5847         * sysdeps/unix/sysv/linux/personality.c: New file.
5848         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
5849         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
5850         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
5851         (sysdep_routines): Add personality.
5852         (tests): Add tst-personality.
5853         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
5854         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
5855         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
5856         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
5857         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
5858         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
5859         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
5860         Likewise.
5861         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
5862         Likewise.
5863         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
5864         Likewise.
5865         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
5866         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
5867         Likewise.
5869 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
5871         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
5872         (PATH_ARM_SYSTYPE): Remove.
5873         (PATH_CPUINFO): Likewise.
5874         (IO_BASE_FOOTBRIDGE): Likewise.
5875         (IO_SHIFT_FOOTBRIDGE): Likewise.
5876         (struct platform): Likewise.
5877         (init_iosys): Remove compatibility code for 2.4 kernels.
5878         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
5880 2015-12-29  Florian Weimer  <fweimer@redhat.com>
5882         * malloc/tst-malloc-thread-fail.c: New file.
5883         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
5884         (tst-malloc-thread-fail): Link against libpthread.
5886 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
5888         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
5889         (get_parser): New function.
5890         (main): New function.
5892 2015-12-29  Rob Wu  <rob@robwu.nl>
5894         [BZ #19369]
5895         * resolv/res_init.c (__res_vinit): Reset defdname before use.
5897 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
5899         [BZ #19270]
5900         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5902 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
5904         [BZ #15421]
5905         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
5907 2015-12-23  Torvald Riegel  <triegel@redhat.com>
5909         [BZ #13690]
5910         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
5911         after releasing it.
5912         (__lll_robust_unlock): Likewise.
5913         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5914         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
5915         (lll_robust_unlock): Likewise.
5916         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
5917         Prevent warnings in callers.
5919 2015-12-23  Florian Weimer  <fweimer@redhat.com>
5921         * malloc/arena.c (list_lock): Update comment.
5923 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5925         * sysdeps/powerpc/hwcapinfo.c: Export symbol
5926         __parse_hwcap_and_convert_at_platform to libc.a.
5928 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5930         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
5931         platform and feature support for POWER9.
5932         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5933         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
5934         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
5935         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
5936         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
5937         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5938         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5939         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5941 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5943         Harmonize generic stdio-lock support with nptl
5945         This fixes build when _IO_funlockfile is a macro, fixes build where
5946         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5947         stack unwind.
5949         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5950         _IO_release_lock ): Use cleanup attribute on new
5951         _IO_acquire_lock_file variable instead of assuming that
5952         _IO_release_lock will be called.
5953         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5954         _IO_acquire_lock_needs_exceptions_enabled.
5955         (_IO_acquire_lock_clear_flags2): New macro.
5957 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5959         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5961 2015-12-21  Florian Weimer  <fweimer@redhat.com>
5963         [BZ #19182]
5964         * malloc/arena.c (list_lock): Document lock ordering requirements.
5965         (free_list_lock): New lock.
5966         (ptmalloc_lock_all): Comment on free_list_lock.
5967         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5968         (detach_arena): Update comment.  free_list_lock is now needed.
5969         (_int_new_arena): Use free_list_lock around detach_arena call.
5970         Acquire arena lock after list_lock.  Add comment, including FIXME
5971         about incorrect synchronization.
5972         (get_free_list): Switch to free_list_lock.
5973         (reused_arena): Acquire free_list_lock around detach_arena call
5974         and attached threads counter update.  Add two FIXMEs about
5975         incorrect synchronization.
5976         (arena_thread_freeres): Switch to free_list_lock.
5977         * malloc/malloc.c (struct malloc_state): Update comments to
5978         mention free_list_lock.
5980 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5982         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5983         Remove functions.
5984         (sloww, sloww1): Accept argument to offset quadrant.
5985         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5986         quadrant.
5987         (__sin, __cos): Consolidate common code into new functions.
5988         (reduce_sincos_1, do_sincos_1): New functions.
5989         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5991         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5992         code to new functions.
5993         (reduce_sincos_2, do_sincos_2): New functions.
5994         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5996         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5997         common code for sincos.
5998         (__cos) [!IN_SINCOS]: Likewise.
5999         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6000         New function.
6001         (__sincos): Use it.
6003 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6005         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6006         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6007         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6009 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6011         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6012         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6013         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6014         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6015         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6016         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6017         index_Prefer_No_VZEROUPPER): New feature.
6018         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6019         Prefer_No_VZEROUPPER for Knights Landing.
6021 015-12-18  Torvald Riegel  <triegel@redhat.com>
6023         * math/atest-exp2.c (mp_exp_m1): Remove.
6025 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6027         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6028         syscalls.
6029         (__SYSCALL0): New macro.
6030         (__SYSCALL1): Likewise.
6031         (__SYSCALL2): Likewise.
6032         (__SYSCALL3): Likewise.
6033         (__SYSCALL4): Likewise.
6034         (__SYSCALL5): Likewise.
6035         (__SYSCALL6): Likewise.
6036         (__SYSCALL_CONCAT_X): Likewise.
6037         (__SYSCALL_CONCAT): Likewise.
6038         (__SYSCALL_DIST): Likewise.
6039         (__SYSCALL_CALL): Likewise.
6041 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6043         [BZ #19363]
6044         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6046 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6048         [BZ #19375]
6049         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6050         negative subnormals.
6052 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6054         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6055         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6056         (INTERNAL_SYSCALL_NCS): Use it.
6057         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6059 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6061         [BZ #19243]
6062         * malloc/arena.c (get_free_list): Remove assert and adjust
6063         reference count handling.  Add comment about reused_arena
6064         interaction.
6065         (reused_arena): Add comments abount get_free_list interaction.
6066         * malloc/tst-malloc-thread-exit.c: New file.
6067         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6068         (tst-malloc-thread-exit): Link against libpthread.
6070 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6072         [BZ #19367]
6073         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6074         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6075         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6076         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6077         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6079 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6081         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6082         Silvermont optimizations for Knights Landing.
6084 2015-12-15  Andreas Schwab  <schwab@suse.de>
6086         [BZ #17197]
6087         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6088         immediately after emitting SI.
6089         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6090         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6091         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6092         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6093         * iconvdata/bug-iconv10.c: New file.
6094         * iconvdata/Makefile (tests): Add bug-iconv10.
6095         ($(objpfx)bug-iconv10.out): New rule.
6097 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6099         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6100         aliasing violation.
6102 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6104         [BZ #18472]
6105         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6106         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6107         conditionals for them.
6108         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6109         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6110         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6111         sys/kdaemon.h.
6112         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6113         compat-only syscall, obsoleted in glibc 2.23.
6114         (create_module): Likewise.
6115         (get_kernel_syms): Likewise.
6116         (query_module): Likewise.
6117         (uselib): Likewise.
6118         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6120 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6122         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6123         <linux/version.h>.
6124         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6125         conditional code.
6126         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6127         and ioshift_name initialization.
6129 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6131         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6132         Fix indentation.
6134 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6136         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6138 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6140         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6142 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6143             Jakub Wilk  <jwilk@debian.org>
6145         [BZ #19347]
6146         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6147         to change the group of the device to the tty group.
6149 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6151         Split large string section; add truncation advice
6152         * manual/examples/strncat.c: Remove.
6153         This example was misleading, as the code would have undefined
6154         behavior if "hello" was longer than SIZE.  Anyway, the manual
6155         shouldn't encourage strncpy+strncat for this sort of thing.
6156         * manual/string.texi (Copying Strings and Arrays): Split into
6157         three sections Copying Strings and Arrays, Concatenating Strings,
6158         and Truncating Strings, as this section was way too long.  All
6159         cross-referenced changed.  Add advice about string-truncation
6160         functions.  Remove misleading strncat example.
6162 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6164         * manual/nss.texi (NSS Modules Interface): Document
6165         NSS_STATUS_NOTFOUND and SUCCESS.
6167 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6169         [BZ 18568]
6170         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6171         201505L, for Unicode 8.
6173 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6175         * locale/C-translit.h: Regenerate.
6177 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6179         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6180         and U+0153.
6182 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6184         [BZ #19351]
6185         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6186         expanding log(1+z), compare z rather than its square with epsilon
6187         to determine when to avoid evaluating the expansion.
6189         [BZ #19350]
6190         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6191         Increase overflow threshold.
6193         [BZ #19349]
6194         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6195         when small.
6197         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6198         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6199         New macro.
6200         [__LINUX_KERNEL_VERSION >= 0x040300]
6201         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6202         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6203         Likewise.
6204         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6205         Likewise.
6206         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6207         Likewise.
6208         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6209         Likewise.
6210         [__LINUX_KERNEL_VERSION >= 0x040300]
6211         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6212         [__LINUX_KERNEL_VERSION >= 0x040300]
6213         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6214         [__LINUX_KERNEL_VERSION >= 0x040300]
6215         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6216         [__LINUX_KERNEL_VERSION >= 0x040300]
6217         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6218         [__LINUX_KERNEL_VERSION >= 0x040300]
6219         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6220         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6221         Likewise.
6222         [__LINUX_KERNEL_VERSION >= 0x040300]
6223         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6224         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6225         Likewise.
6226         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6227         Likewise.
6228         [__LINUX_KERNEL_VERSION >= 0x040300]
6229         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6230         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6231         Likewise.
6232         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6233         Likewise.
6234         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6235         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6236         Likewise.
6237         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6238         Likewise.
6239         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6240         Likewise.
6241         [__LINUX_KERNEL_VERSION >= 0x040300]
6242         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6243         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6244         Likewise.
6245         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6246         Likewise.
6247         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6248         Likewise.
6249         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6250         Likewise.
6251         [__LINUX_KERNEL_VERSION >= 0x040300]
6252         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6253         [__LINUX_KERNEL_VERSION >= 0x040300]
6254         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6255         [__LINUX_KERNEL_VERSION >= 0x040300]
6256         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6257         [__LINUX_KERNEL_VERSION >= 0x040300]
6258         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6259         [__LINUX_KERNEL_VERSION >= 0x040300]
6260         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6261         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6262         Likewise.
6263         [__LINUX_KERNEL_VERSION >= 0x040300]
6264         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6265         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6266         Likewise.
6267         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6268         Likewise.
6269         [__LINUX_KERNEL_VERSION >= 0x040300]
6270         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6271         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6272         Likewise.
6273         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6274         Likewise.
6275         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6276         (__ASSUME_SOCKET_SYSCALL): Likewise.
6277         (__ASSUME_BIND_SYSCALL): Likewise.
6278         (__ASSUME_CONNECT_SYSCALL): Likewise.
6279         (__ASSUME_LISTEN_SYSCALL): Likewise.
6280         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6281         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6282         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6283         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6284         (__ASSUME_SEND_SYSCALL): Likewise.
6285         (__ASSUME_SENDTO_SYSCALL): Likewise.
6286         (__ASSUME_RECV_SYSCALL): Likewise.
6287         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6288         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6289         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6290         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6291         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6292         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6293         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6294         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6295         Likewise.
6296         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6297         Likewise.
6298         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6299         Likewise.
6300         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6301         Likewise.
6302         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6303         Likewise.
6304         [__LINUX_KERNEL_VERSION >= 0x020625]
6305         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6306         [__LINUX_KERNEL_VERSION >= 0x020625]
6307         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6308         [__LINUX_KERNEL_VERSION >= 0x020625]
6309         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6310         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6311         Likewise.
6312         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6313         Likewise.
6314         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6315         Likewise.
6316         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6317         Likewise.
6318         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6319         Likewise.
6320         [__LINUX_KERNEL_VERSION >= 0x020625]
6321         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6322         [__LINUX_KERNEL_VERSION >= 0x020625]
6323         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6324         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6325         Likewise.
6326         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6327         Likewise.
6329 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6331         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6332         record the current if the current ABI and CPU support the FP64
6333         extension.
6334         (has-modd-spreg): Define to record the current if the current ABI and
6335         CPU support 32-bit floating point values in odd FPU registers.
6336         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6337         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6338         $(has-modd-spreg) equals yes.
6339         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6340         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6341         $(has-modd-spreg) equal yes.
6343 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6345         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6346         basename.
6348 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
6350         * benchtests/Makefile (bench-math): Move ffs and ffsll...
6351         (bench-string): ... here.
6352         (bench): Add bench-string.
6353         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6354         to *-benchset to reflect what they are.
6355         (benchset): Adjust.
6357         * benchtests/sincos-inputs: Add inputs from sin-inputs and
6358         cos-inputs.
6360 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
6362         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6363         __attribute__ ((__simd__)) for vector math function declarations.
6365 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6367         Fix typo in strncat, wcsncat manual entries
6368         * manual/string.texi (Copying and Concatenation): Fix typos in
6369         sample implementations of strncat and wcsncat, by having them use
6370         the old value of the destination length, not the new one.
6372 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
6374         [BZ #16961]
6375         [BZ #16962]
6376         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6377         string on the stack for strtod.
6378         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6379         a string on the stack for strtof.
6380         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6381         constructing a string on the stack for strtold.
6382         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6383         __strtold_nan to GLIBC_PRIVATE.
6384         * math/test-nan-overflow.c: New file.
6385         * math/test-nan-payload.c: Likewise.
6386         * math/Makefile (tests): Add test-nan-overflow and
6387         test-nan-payload.
6389 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6391         Consistency about byte vs character in string.texi
6392         * manual/string.texi (String and Array Utilities):
6393         Distinguish more carefully among bytes, multibyte characters,
6394         and wide characters.  Use "byte" when talking about C 'char',
6395         to distinguish it more clearly from multibyte characters.
6396         Say "wide character" or "multibyte character" instead of
6397         "character", when a wide or multibyte character is intended.
6398         Similarly for "multibyte string" versus "string".
6399         Define these terms more carefully.
6401 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6403         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6404         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6405         Likewise.
6406         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6407         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6408         * sysdeps/sh/math_private.h: New file.
6409         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6410         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6411         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6412         long double function name.
6413         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6414         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6415         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6416         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6417         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6419         Remove __finitel, __isinfl, and __isnanl.
6420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6421         Likewise.
6422         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6424         Remove __finitel.
6425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6426         Likewise.
6427         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6429 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6431         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6432         installed libmvec_nonshared.a.
6434 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6436         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6437         (sysdep_routines): Likewise.
6438         (sysdep-rtld-routines): Likewise.
6439         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6440         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6441         * sysdeps/powerpc/Versions: Added new
6442         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6443         * sysdeps/powerpc/hwcapinfo.c: New file.
6444         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6445         and parse hwcap, hwcap2 and platform number information.
6446         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6447         to store HWCAP+HWCAP2 and platform number.
6448         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6449         for HWCAP+HWCAP2 and platform number in the TCB.
6450         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6451         the HWCAP, HWCAP2 and platform number in the TCB.
6452         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6453         (TLS_INIT_TP): Included calls to add the hwcap and
6454         at_platform values in the TCB in TP initialization.
6455         (TLS_DEFINE_INIT_TP): Likewise.
6456         (THREAD_GET_HWCAP): New macro.
6457         (THREAD_SET_HWCAP): Likewise.
6458         (THREAD_GET_AT_PLATFORM): Likewise.
6459         (THREAD_SET_AT_PLATFORM): Likewise.
6460         * sysdeps/powerpc/powerpc32/dl-machine.h:
6461         (dl_platform_init): New function that calls
6462         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6463         powerpc32.
6464         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6465         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6466         this functionality, static linking case.
6467         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6468         linking case.
6469         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6470         __parse_hwcap_and_convert_at_platform for the static linking case.
6471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6472         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6473         ABI list for GLIBC 2.23.
6474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6475         Likewise.
6476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6477         Likewise.
6479 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
6481         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6482         * configure: Regenerate.
6483         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6484         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
6486 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
6488         * iconvdata/ibm930.c: Add comment explaining encoding uses.
6489         * iconvdata/ibm933.c: Likewise.
6490         * iconvdata/ibm935.c: Likewise.
6491         * iconvdata/ibm937.c: Likewise.
6492         * iconvdata/ibm939.c: Likewise.
6494 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6496         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6497         pthread_join.
6498         * nptl/tst-cancel21.c (tf): Likewise.
6500 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
6502         [BZ #19313]
6503         * bits/typesizes.h (__CPU_MASK_TYPE): New.
6504         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6505         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6506         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6507         Likewise.
6508         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6509         Likewise.
6510         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6511         Likewise.
6512         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6513         Likewise.
6514         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6515         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6516         unsigned long int with __CPU_MASK_TYPE.
6518 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6520         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6522 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
6524         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6525         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6526         t512.x.
6527         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6529 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
6531         [BZ #19214]
6532         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6533         argument to return extended model.  Update family and model
6534         with extended family and model when family == 0x0f.
6535         (init_cpu_features): Updated.
6537 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6539         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6540         signed off_t, so 32bit bigger than 2GiB values are fine actually.
6542         * sysdeps/mach/hurd/mmap64.c: New file.
6544 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
6546         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6547         rights for its main user thread in NEWTASK.
6549 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
6551         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6552         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6554 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
6556         [BZ #14259]
6557         * Makeconfig: Rename localedir to complocaledir.
6558         Rename inst_localedir to inst_complocaledir.
6559         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6560         * config.make.in: Use complocaledir and libc_cv_complocaledir.
6561         * configure.ac: Use libc_cv_complocaledir.
6562         * configure: Regenerate.
6563         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6564         -DCOMPLOCALEDIR.
6565         * locale/findlocale.c: Use COMPLOCALEDIR.
6566         * locale/loadarchive.c: Likewise.
6567         * locale/programs/locale.c: Likewise.
6568         * locale/programs/localedef.c: Likewise.
6569         * locale/programs/locarchive.c: Likewise.
6570         * localedata/Makefile: Use inst_complocaledir.
6571         * sysdeps/gnu/configure: Regenerate.
6572         * sysdeps/hppa/configure: Regenerate.
6573         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6574         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6576         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6577         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6578         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6579         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6581 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
6583         [BZ #19058]
6584         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6585         AS_NEEDED.
6586         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6587         workaround.
6588         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6589         libmvec-static-only-routines): Added new file.
6590         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6592 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6594         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6595         of interrupted RPC instead of restoring it.
6597         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6598         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6599         libc_hidden_def.
6600         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6601         into initialized data instead of common. Define rtld_hidden_data_def.
6602         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6603         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6604         libc_hidden_def.
6605         (if_freenameindex): Add libc_hidden_weak.
6606         (if_nameindex): Add libc_hidden_weak.
6607         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6608         __open64.
6609         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6610         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6611         * sysdeps/mach/nanosleep.c: Include <time.h>
6612         (__nanosleep): Rename to __libc_nanosleep.
6613         (__nanosleep): Add weak_alias.
6614         (nanosleep): Update alias.
6616 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
6618         * stdlib/strtod_nan.c: New file.
6619         * stdlib/strtod_nan_double.h: Likewise.
6620         * stdlib/strtod_nan_float.h: Likewise.
6621         * stdlib/strtod_nan_main.c: Likewise.
6622         * stdlib/strtod_nan_narrow.h: Likewise.
6623         * stdlib/strtod_nan_wide.h: Likewise.
6624         * stdlib/strtof_nan.c: Likewise.
6625         * stdlib/strtold_nan.c: Likewise.
6626         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6627         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6628         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6629         * wcsmbs/wcstod_nan.c: Likewise.
6630         * wcsmbs/wcstof_nan.c: Likewise.
6631         * wcsmbs/wcstold_nan.c: Likewise.
6632         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6633         strtold_nan.
6634         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6635         wcstof_nan.
6636         * include/stdlib.h (__strtof_nan): Declare and use
6637         libc_hidden_proto.
6638         (__strtod_nan): Likewise.
6639         (__strtold_nan): Likewise.
6640         (__wcstof_nan): Likewise.
6641         (__wcstod_nan): Likewise.
6642         (__wcstold_nan): Likewise.
6643         * include/wchar.h (____wcstoull_l_internal): Declare.
6644         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6645         (____strtoull_l_internal): Remove declaration.
6646         (STRTOF_NAN): Define macro.
6647         (SET_MANTISSA): Remove macro.
6648         (STRTOULL): Likewise.
6649         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6650         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6651         (STRTOF_NAN): Define macro.
6652         (SET_MANTISSA): Remove macro.
6653         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6654         (SET_MANTISSA): Remove macro.
6655         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6656         macro.
6657         (SET_MANTISSA): Remove macro.
6658         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6659         macro.
6660         (SET_MANTISSA): Remove macro.
6661         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6662         (SET_MANTISSA): Remove macro.
6663         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6664         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6665         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6667         [BZ #19266]
6668         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6669         upper case and lower case letters inside NAN(), not using TOLOWER.
6670         * stdlib/tst-strtod-nan-locale-main.c: New file.
6671         * stdlib/tst-strtod-nan-locale.c: Likewise.
6672         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6673         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6674         Depend on $(gen-locales).
6675         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6676         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6677         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6678         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6679         Depend on $(gen-locales).
6680         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6682 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
6684         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6686         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6688         __finitel, __isinfl, and __isnanl.
6689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6690         Likewise.
6691         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6693         __finitel.
6694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6695         Likewise.
6696         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6698 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6700         * malloc/memusage.c (me): Remove redundant getenv call.
6702 2015-10-24  Florian Weimer  <fweimer@redhat.com>
6704         [BZ #19143]
6705         [BZ #19164]
6706         * nptl/check-cpuset.h: Remove.
6707         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6708         Remove CPU set size check.
6709         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6710         Likewise.
6711         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6712         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6713         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6714         (__pthread_setaffinity_new): Remove CPU set size check.
6715         * sysdeps/unix/sysv/linux/sched_setaffinity.c
6716         (__kernel_cpumask_size): Remove.
6717         (__sched_setaffinity_new): Remove CPU set size check.
6718         * manual/threads.texi (Default Thread Attributes): Remove stale
6719         reference to check_cpuset_attr, determine_cpumask_size in comment.
6720         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6721         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
6722         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6723         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6724         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6725         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6726         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6727         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6728         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6729         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6730         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6731         skeleton test file.
6732         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
6733         tst-affinity-pid.
6735 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6737         * scripts/update-abilist.sh: New file.
6738         * Makefile (+subdir_targets): Add subdir_update-all-abi.
6739         * Makerules (update-all-abi-%, update-all-abi)
6740         (subdir_update-all-abi): New targets.
6741         * elf/Makefile (update-all-abi): New target.
6743 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6745         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
6746         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
6747         (__libc_lock_define_initialized): Use it.
6748         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
6749         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
6750         * malloc/malloc.c (main_arena): Likewise.
6751         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6752         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6754 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
6756         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6757         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
6758         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6759         (PTRACE_O_MASK): Update value.
6760         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
6761         New value in enum __ptrace_setoptions.
6762         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6763         (PTRACE_O_MASK): Update value.
6764         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6765         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6766         (PTRACE_O_MASK): Update value.
6767         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
6768         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6769         (PTRACE_O_MASK): Update value.
6770         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
6771         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6772         (PTRACE_O_MASK): Update value.
6773         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
6774         New value in enum __ptrace_setoptions.
6775         (PTRACE_O_MASK): Update value.
6776         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
6777         New value in enum __ptrace_setoptions.
6778         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6779         (PTRACE_O_MASK): Update value.
6781         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
6782         New macro.
6783         (PACKET_AUXDATA): Likewise.
6784         (PACKET_ORIGDEV): Likewise.
6785         (PACKET_VERSION): Likewise.
6786         (PACKET_HDRLEN): Likewise.
6787         (PACKET_RESERVE): Likewise.
6788         (PACKET_TX_RING): Likewise.
6789         (PACKET_LOSS): Likewise.
6790         (PACKET_VNET_HDR): Likewise.
6791         (PACKET_TX_TIMESTAMP): Likewise.
6792         (PACKET_TIMESTAMP): Likewise.
6793         (PACKET_FANOUT): Likewise.
6794         (PACKET_TX_HAS_OFF): Likewise.
6795         (PACKET_QDISC_BYPASS): Likewise.
6796         (PACKET_ROLLOVER_STATS): Likewise.
6797         (PACKET_FANOUT_DATA): Likewise.
6798         (PACKET_MR_UNICAST): Likewise.
6800         [BZ #19242]
6801         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
6802         (TOUPPER): Likewise.
6803         * stdlib/tst-strtol-locale-main.c: New file.
6804         * stdlib/tst-strtol-locale.c: Likewise.
6805         * stdlib/Makefile (tests): Add tst-strtol-locale.
6806         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
6807         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
6808         Depend on $(gen-locales).
6809         * wcsmbs/tst-wcstol-locale.c: New file.
6810         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
6811         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
6812         tr_TR.ISO-8859-9.
6813         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
6814         Depend on $(gen-locales).
6816 2015-11-20  Roland McGrath  <roland@hack.frob.com>
6818         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
6819         __glibc_likely instead of __builtin_expect.  After falling back to
6820         dyncode_create in a non-ET_DYN case, use the allocate_code_data
6821         system interface to register the code pages as occupied.
6823 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
6825         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6826         [!ARM_MATH_PRIVATE_H].
6827         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
6828         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6829         [!HPPA_MATH_PRIVATE_H].
6830         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
6831         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
6832         to [!I386_MATH_PRIVATE_H].
6833         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
6834         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
6835         Change guard to [!M68K_MATH_PRIVATE_H].
6836         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
6837         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
6838         guard to [!MICROBLAZE_MATH_PRIVATE_H].
6839         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
6840         macro.
6841         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6842         [!MIPS_MATH_PRIVATE_H].
6843         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
6844         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6845         [!NIO2_MATH_PRIVATE_H].
6846         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
6847         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6848         [!TILE_MATH_PRIVATE_H].
6849         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
6851         [BZ #15421]
6852         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
6853         initialize with 0 and define as weak alias of __signgam.
6854         * include/math.h [!_ISOMAC] (__signgam): Declare.
6855         * math/Makefile (libm-calls): Add w_lgamma_compat.
6856         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
6857         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
6858         test-signgam-ullong-init.
6859         (tests-static): Add test-signgam-uchar-static,
6860         test-signgam-uchar-init-static, test-signgam-uint-static,
6861         test-signgam-uint-init-static, test-signgam-ullong-static and
6862         test-signgam-ullong-init-static.
6863         (CFLAGS-test-signgam-uchar.c): New variable.
6864         (CFLAGS-test-signgam-uchar-init.c): Likewise.
6865         (CFLAGS-test-signgam-uchar-static.c): Likewise.
6866         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
6867         (CFLAGS-test-signgam-uint.c): Likewise.
6868         (CFLAGS-test-signgam-uint-init.c): Likewise.
6869         (CFLAGS-test-signgam-uint-static.c): Likewise.
6870         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
6871         (CFLAGS-test-signgam-ullong.c): Likewise.
6872         (CFLAGS-test-signgam-ullong-init.c): Likewise.
6873         (CFLAGS-test-signgam-ullong-static.c): Likewise.
6874         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
6875         * math/Versions (libm): Add GLIBC_2.23.
6876         * math/lgamma-compat.h: New file.
6877         * math/test-signgam-main.c: Likewise.
6878         * math/test-signgam-uchar-init-static.c: Likewise.
6879         * math/test-signgam-uchar-init.c: Likewise.
6880         * math/test-signgam-uchar-static.c: Likewise.
6881         * math/test-signgam-uchar.c: Likewise.
6882         * math/test-signgam-uint-init-static.c: Likewise.
6883         * math/test-signgam-uint-init.c: Likewise.
6884         * math/test-signgam-uint-static.c: Likewise.
6885         * math/test-signgam-uint.c: Likewise.
6886         * math/test-signgam-ullong-init-static.c: Likewise.
6887         * math/test-signgam-ullong-init.c: Likewise.
6888         * math/test-signgam-ullong-static.c: Likewise.
6889         * math/test-signgam-ullong.c: Likewise.
6890         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
6891         wrapper of w_lgamma_main.c.
6892         * math/w_lgamma_compat.c: New file.
6893         * math/w_lgamma_compatf.c: Likewise.
6894         * math/w_lgamma_compatl.c: Likewise.
6895         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
6896         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6897         defining compatibility symbols.
6898         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
6899         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
6900         wrapper of w_lgammaf_main.c.
6901         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
6902         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6903         defining compatibility symbols.
6904         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
6905         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
6906         wrapper of w_lgammal_main.c.
6907         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
6908         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6909         defining compatibility symbols.
6910         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
6911         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
6912         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
6913         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
6914         <lgamma-compat.h>.
6915         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
6916         (__ieee754_gamma): Define as alias.
6917         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
6918         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
6919         <lgamma-compat.h>.
6920         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
6921         (__ieee754_gammaf): Define as alias.
6922         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
6923         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
6924         <lgamma-compat.h>.
6925         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
6926         (__ieee754_gammal): Define as alias.
6927         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
6928         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
6929         <math/w_lgamma_compat.c>.
6930         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
6931         Define as alias of __lgamma_compat and use in defining lgammal.
6932         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
6933         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
6934         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
6935         (USE_AS_COMPAT): New macro.
6936         (LGAMMA_OLD_VER): Undefine and redefine.
6937         (lgammal): Do not define here.
6938         (gammal): Only define here if [GAMMA_ALIAS].
6939         * conform/linknamespace.pl (@whitelist): Remove signgam.
6940         * sysdeps/nacl/libm.abilist: Update.
6941         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6942         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6943         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6944         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6945         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6946         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6947         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6948         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6949         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6950         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6951         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6952         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6954         Likewise.
6955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6956         Likewise.
6957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6958         Likewise.
6959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6960         Likewise.
6961         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6962         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6963         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6964         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6965         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6967         Likewise.
6968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6969         Likewise.
6970         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6971         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6972         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6974 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6976         [BZ #16364]
6977         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6978         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6980 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6982         * sysdeps/s390/fpu/bits/mathinline.h:
6983         Use __asm__ [__volatile__] instead of asm [volatile].
6984         * sysdeps/s390/abort-instr.h: Likewise.
6985         * sysdeps/s390/atomic-machine.h: Likewise.
6986         * sysdeps/s390/bits/string.h: Likewise.
6987         * sysdeps/s390/dl-tls.h: Likewise.
6988         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6989         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6990         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6991         * sysdeps/s390/fpu/fesetround.c: Likewise.
6992         * sysdeps/s390/fpu/fpu_control.h: Likewise.
6993         * sysdeps/s390/fpu/s_fma.c: Likewise.
6994         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6995         * sysdeps/s390/memusage.h: Likewise.
6996         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6997         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6998         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6999         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7000         * sysdeps/s390/nptl/tls.h: Likewise.
7001         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7002         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7003         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7004         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7005         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7006         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7007         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7008         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7009         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7010         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7011         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7012         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7013         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7014         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7015         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7016         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7017         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7018         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7019         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7020         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7021         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7022         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7023         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7025 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7026             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7028         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7029         Add lwarx hint, and use macro for acquire instruction.
7030         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7031         Likewise.
7032         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7033         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7034         update to use new atomic macros.
7036 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7038         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7039         (__lll_trylock_elision): Fix setting of adapt_count.
7040         * sysdeps/unix/sysv/linux/powerpc/htm.h
7041         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7042         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7043         (_ABORT_SYSCALL): Renumber, and clarify definition.
7044         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7046 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7048         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7049         after system headers to prevent MIN/MAX redefinition.  Define
7050         HAVE_ALLOCA to preserve builtin alloca usage.
7052 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7054         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7055         static and don't set or restore rounding.
7056         (__cos)[IN_SINCOS]: Likewise.
7057         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7058         (__sincos): Set and restore rounding mode.  Remove check for infinite
7059         or NaN input.
7061         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7063         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7064         as used.
7066 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7068         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7070 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7072         * config.make.in (have-glob-dat-reloc): New.
7073         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7074         target supports GLOB_DAT relocaton. AC_SUBST.
7075         * configure: Regenerated.
7076         * elf/Makefile (tests): Add tst-prelink.
7077         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7078         (tst-prelink-ENV): New.
7079         ($(objpfx)tst-prelink-conflict.out): Likewise.
7080         ($(objpfx)tst-prelink-cmp.out): Likewise.
7081         * sysdeps/x86/tst-prelink.c: Moved to ...
7082         * elf/tst-prelink.c: Here.
7083         * sysdeps/x86/tst-prelink.exp: Moved to ...
7084         * elf/tst-prelink.exp: Here.
7085         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7086         (tst-prelink-ENV): Removed.
7087         ($(objpfx)tst-prelink-conflict.out): Likewise.
7088         ($(objpfx)tst-prelink-cmp.out): Likewise.
7089         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7091 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7093         [BZ #14551]
7094         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7095         (__mpn_construct_long_double): If high part overflows to infinity,
7096         set errno and recompute overflowed result of the correct sign.
7097         * sysdeps/ieee754/ldbl-128ibm/Makefile
7098         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7099         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7100         $(libm).
7101         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7103 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7105         [BZ #15479]
7106         [BZ #19238]
7107         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7108         floating-point state after first operation on input.  Restore full
7109         state rather than just rounding mode.
7110         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7111         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7112         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7114         [BZ #19235]
7115         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7116         add 0.5 to integer arguments.
7117         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7118         Likewise.
7119         (.LC2): New object.
7121 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7123         * scripts/pylintrc (reports): Set to no.
7125 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7127         * elf/dl-load.c (open_verify): Take new argument FD.
7128         Skip __open call if passed FD is not -1.
7129         (_dl_map_object, open_path): Update callers.
7130         * elf/dl-sysdep-open.h: New file.
7131         * elf/dl-load.c: Include it.
7132         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7133         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7134         * sysdeps/nacl/dl-sysdep-open.h: New file.
7135         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7136         from libc to rtld.
7138 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7140         [BZ #19228]
7141         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7142         and restore full floating-point state.
7143         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7144         Likewise.
7145         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7146         Likewise.
7147         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7148         Likewise.
7149         * math/test-nearbyint-except-2.c: New file.
7150         * math/Makefile (tests): Add test-nearbyint-except-2.
7152 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7154         [BZ #19178]
7155         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7156         (tst-prelink-ENV): New.
7157         ($(objpfx)tst-prelink-conflict.out): Likewise.
7158         ($(objpfx)tst-prelink-cmp.out): Likewise.
7159         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7160         * sysdeps/x86/tst-prelink.c: New file.
7161         * sysdeps/x86/tst-prelink.exp: Likewise.
7163 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7165         * math/auto-libm-test-in: Add another test of pow.
7166         * math/auto-libm-test-out: Regenerated.
7167         * math/libm-test.inc (pow_test_data): Add another test.
7169 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7171         [BZ #19219]
7172         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7173         weak_alias to nearbyintl.
7175 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7177         * sysdeps/aarch64/bits/string.h: New file.
7178         (_STRING_ARCH_unaligned): Define.
7180 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7182         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7183         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7184         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7185         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7188 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7190         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7191         for original name of the DSO.  Add it to the name list of the DSO
7192         if it is actually given.
7193         (_dl_map_object): Keep track of whether an audit module rewrote
7194         the file name.  If yes, pass the original name to
7195         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7196         debugging is enabled, log the change of the file name.
7197         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7198         _dl_map_object_from_fd.
7199         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7200         * elf/tst-audit11.c: New file
7201         * elf/tst-auditmod11.c: New file.
7202         * elf/tst-audit11mod1.c: New file.
7203         * elf/tst-audit11mod2.c: New file.
7204         * elf/tst-audit11mod2.map: New file.
7205         * elf/tst-audit12.c: New file
7206         * elf/tst-auditmod12.c: New file.
7207         * elf/tst-audit12mod1.c: New file.
7208         * elf/tst-audit12mod2.c: New file.
7209         * elf/tst-audit12mod2.map: New file.
7210         * elf/tst-audit12mod3.c: New file.
7212 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7214         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7215         Don't create weak aliases,
7216         because versioned symbols are created later.
7217         * sysdeps/s390/s390-32/setjmp.S
7218         (setjmp, _setjmp): Remove weak and rename to an unique name
7219         in SHARED case due to existing versioned symbols.
7220         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7221         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7222         (getcontext): Create weak alias only in non SHARED case.
7223         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7225 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7227         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7228         (__ASSUME_*_SYSCALL) Define new macros.
7229         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7230         Remove socketcall syscalls.
7231         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7232         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7233         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7234         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7235         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7236         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7238 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7240         [BZ #12926]
7241         Terminate process on invalid netlink response.
7242         * sysdeps/unix/sysv/linux/netlinkaccess.h
7243         (__netlink_assert_response): Declare.
7244         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7245         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7246         (sysdep_routines): Add netlink_assert_response.
7247         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7248         __netlink_assert_response.
7249         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7250         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7251         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7252         __netlink_assert_response.
7254 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7256         [BZ #19178]
7257         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7258         (RTYPE_CLASS_PLT): Likewise.
7259         (RTYPE_CLASS_COPY): Likewise.
7260         (RTYPE_CLASS_TLS): Likewise.
7261         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7262         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7263         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7264         DL_DEBUG_PRELINK.
7266 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7268         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7269         calls with argument -0.5.
7270         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7272         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7273         (libc_cv_z_nodlopen): Likewise.
7274         (libc_cv_z_initfirst): Likewise.
7275         * configure: Regenerated.
7277 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7279         Simplify abilist format to be line-based.
7280         * scripts/abilist.awk: Collect descriptors in the descs variable.
7281         (emit): Write descs variable and sort it
7282         externally, with sort.
7283         * sysdeps/**/*.abilist: Convert to new format.
7285 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7287         [BZ #11460]
7288         * io/Makefile (routines): Add fts64.
7289         (tests): Add tst-fts and tst-fts-lfs.
7290         (CFLAGS-fts64.c): New.
7291         * io/Versions (GLIBC_2.23): New.
7292         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7293         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7294         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7295         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7296         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7297         (FTSENT64): Likewise.
7298         (fts64_children): Likewise.
7299         (fts64_close): Likewise.
7300         (fts64_open): Likewise.
7301         (fts64_read): Likewise.
7302         (fts64_set): Likewise.
7303         * io/fts64.c: New file.
7304         * io/tst-fts.c: New test.
7305         * io/tst-fts-lfs.c: Likewise.
7306         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7307         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7308         fts64_set.
7309         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7310         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7311         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7312         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7313         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7314         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7315         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7316         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7317         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7318         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7319         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7320         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7321         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7323         Likewise.
7324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7325         Likewise.
7326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7328         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7329         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7330         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7331         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7332         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7335         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7336         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7337         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7338         * sysdeps/wordsize-64/fts.c: New file.
7339         * sysdeps/wordsize-64/fts64.c: Likewise.
7340         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7341         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7342         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7343         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7345 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7347         * math/libm-test.inc (NON_FINITE): New macro.
7348         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7349         * math/gen-libm-test.pl (show_exceptions): Add argument
7350         $non_finite.
7351         (parse_args): Update call to show_exceptions.
7352         * math/test-math-finite.h: New file.
7353         * math/test-math-no-finite.h: Likewise.
7354         * math/test-double-finite.c: Likewise.
7355         * math/test-float-finite.c: Likewise.
7356         * math/test-ldouble-finite.c: Likewise.
7357         * math/test-double.c: Include "test-math-no-finite.h".
7358         * math/test-float.c: Include "test-math-no-finite.h".
7359         * math/test-ldouble.c: Include "test-math-no-finite.h".
7360         * math/test-math-inline.h (TEST_FINITE): New macro.
7361         * math/test-math-vector.h (TEST_FINITE): Likewise.
7362         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7363         (libm-tests): Add test-float-finite and test-double-finite.
7364         ($(objpfx)test-float-finite.o): New dependency on
7365         $(objpfx)libm-test.stmp.
7366         ($(objpfx)test-double-finite.o): Likewise.
7367         ($(objpfx)test-ldouble-finite.o): Likewise.
7368         (libm-test-no-inline-cflags): New variable.
7369         (libm-test-finite-cflags): Likewise.
7370         (CFLAGS-test-float-finite.c): Likewise.
7371         (CFLAGS-test-double-finite.c): Likewise.
7372         (CFLAGS-test-ldouble-finite.c): Likewise.
7373         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7374         (CFLAGS-test-double.c): Likewise.
7375         (CFLAGS-test-ldouble.c): Likewise.
7377 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7379         * io/fcntl.c (__fcntl): Add ... to prototype.
7380         * misc/ioctl.c (__ioctl): Likewise.
7381         * misc/syscall.c (syscall): Likewise.
7383 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7385         * scripts/list-fixed-bugs.py: New file.
7387         [BZ #19213]
7388         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7389         returned for argument 1.
7390         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7391         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7392         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7393         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7394         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7395         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7397         [BZ #19211]
7398         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7399         __USE_XOPEN], not if [!__USE_ISOC99].
7400         (lgammaf): Likewise.
7401         (lgammal): Likewise.
7402         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7403         (gammaf): Likewise.
7404         (gammal): Likewise.
7405         * math/test-signgam-finite-c11.c: New file.
7406         * math/test-signgam-finite-c99.c: Likewise.
7407         * math/test-signgam-finite.c: Likewise.
7408         * math/Makefile (tests): Add test-signgam-finite,
7409         test-signgam-finite-c99 and test-signgam-finite-c11.
7410         (CFLAGS-test-signgam-finite.c): New variable.
7411         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7412         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7414         [BZ #19212]
7415         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7416         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7417         500].
7418         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7419         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7420         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7421         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7422         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7423         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7424         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7425         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7426         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7427         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7429         [BZ #19209]
7430         * math/bits/math-finite.h (ldexp): Remove declaration.
7431         (ldexpf): Likewise.
7432         (ldexpl): Likewise.
7434         [BZ #19205]
7435         * math/bits/math-finite.h (acosf): Condition declaration on
7436         [__USE_ISOC99].
7437         (acosl): Likewise.
7438         (acoshf): Likewise.
7439         (acoshl): Likewise.
7440         (asinf): Likewise.
7441         (asinl): Likewise.
7442         (atan2f): Likewise.
7443         (atan2l): Likewise.
7444         (atanhf): Likewise.
7445         (atanhl): Likewise.
7446         (coshf): Likewise.
7447         (coshl): Likewise.
7448         (expf): Likewise.
7449         (expl): Likewise.
7450         (fmodf): Likewise.
7451         (fmodl): Likewise.
7452         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7453         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7454         (j0l): Likewise.
7455         (y0f): Likewise.
7456         (y0l): Likewise.
7457         (j1f): Likewise.
7458         (j1l): Likewise.
7459         (y1f): Likewise.
7460         (y1l): Likewise.
7461         (jnf): Likewise.
7462         (jnl): Likewise.
7463         (ynf): Likewise.
7464         (ynl): Likewise.
7465         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7466         (lgammal_r): Likewise.
7467         (__lgamma_r_finite): New declaration.
7468         (__lgammaf_r_finite): Likewise.
7469         (__lgammal_r_finite): Likewise.
7470         (lgamma): Use __lgamma_r_finite.
7471         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7472         __lgammaf_r_finite.
7473         (lgammal): Condition definition on [__USE_ISOC99].  Use
7474         __lgammal_r_finite.
7475         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7476         __lgamma_r_finite.
7477         (gammaf): Condition definition on [__USE_ISOC99].  Use
7478         __lgammaf_r_finite.
7479         (gammal): Condition definition on [__USE_ISOC99].  Use
7480         __lgammal_r_finite.
7481         (logf): Condition declaration on [__USE_ISOC99].
7482         (logl): Likewise.
7483         (log10f): Likewise.
7484         (log10l): Likewise.
7485         (ldexpf): Likewise.
7486         (ldexpl): Likewise.
7487         (powf): Likewise.
7488         (powl): Likewise.
7489         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7490         __USE_ISOC99].
7491         (remainderf): Condition declaration on [__USE_ISOC99].
7492         (remainderl): Likewise.
7493         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7494         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7495         (scalbl): Likewise.
7496         (sinhf): Condition declaration on [__USE_ISOC99].
7497         (sinhl): Likewise.
7498         (sqrtf): Likewise.
7499         (sqrtl): Likewise.
7501 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7503         * sysdeps/arm/atomic-machine.h
7504         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7505         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7506         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7507         Remove conditional code.
7508         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7509         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7510         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7511         Change conditional to [__ASSEMBLER__].
7512         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7513         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7514         [!__ASSEMBLER__].
7515         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7516         code.
7517         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7518         conditional macro definitions.
7519         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7520         (__arch_compare_and_exchange_val_16_acq): Likewise.
7521         (__arch_compare_and_exchange_val_32_acq): Likewise.
7522         (atomic_exchange_and_add): Likewise.
7523         (atomic_add): Likewise.
7524         (atomic_add_negative): Likewise.
7525         (atomic_add_zero): Likewise.
7526         (atomic_bit_set): Likewise.
7527         (atomic_bit_test_set): Likewise.
7528         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7529         code unconditional.
7530         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7532         * math/test-math-errno.h: New file.
7533         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7534         empty.
7535         (TEST_ERRNO): New macro.
7536         (TEST_EXCEPTIONS): Likewise.
7537         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7538         (TEST_EXCEPTIONS): Likewise.
7539         * math/test-math-vector.h (TEST_ERRNO): Likewise.
7540         * math/test-double.c: Include "test-math-errno.h".
7541         * math/test-float.c: Likewise.
7542         * math/test-ldouble.c: Likewise.
7543         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7544         code unconditional.
7545         (test_exceptions): Only run code if TEST_EXCEPTIONS.
7546         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7547         unconditional.
7548         (test_errno): Only run code if TEST_ERRNO.
7549         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7551 2015-11-04  Florian Weimer  <fweimer@redhat.com>
7553         * nptl/tst-once5.cc: Remove attribution.
7555 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7557         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7558         sqrt, tan, tanh, y0, y1 and yn.
7559         * math/auto-libm-test-out: Regenerated.
7560         * math/libm-test.inc (scalb_test_data): Add more tests.
7561         (scalbn_test_data): Likewise.
7562         (scalbln_test_data): Likewise.
7563         (signbit_test_data): Likewise.
7564         (sin_test_data): Likewise.
7565         (sincos_test_data): Likewise.
7566         (sinh_test_data): Likewise.
7567         (sqrt_test_data): Likewise.
7568         (tan_test_data): Likewise.
7569         (tanh_test_data): Likewise.
7570         (tgamma_test_data): Likewise.
7571         (y0_test_data): Likewise.
7572         (y1_test_data): Likewise.
7573         (yn_test_data): Likewise.
7574         (significand_test_data): Likewise.
7575         * sysdeps/i386/fpu/libm-test-ulps: Update.
7577 2015-11-03  David Kastrup  <dak@gnu.org>
7579         [BZ #18604]
7580         * assert/assert.h (assert): Don't macro-expand failed assertion
7581         expression in error message.
7582         * malloc/malloc.c (assert): Likewise.
7584 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
7586         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7587         test.
7588         * configure: Regenerated.
7590 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
7592         * math/libm-test.inc (modf_test_data): Add more tests.
7593         (nearbyint_test_data): Likewise.
7594         (nextafter_test_data): Likewise.
7595         (nexttoward_test_data): Likewise.
7596         (pow_test_data): Likewise.
7597         (remainder_test_data): Likewise.
7598         (remquo_test_data): Likewise.
7599         (rint_test_data): Likewise.
7601         [BZ #19201]
7602         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7603         Check for zero remainder in case of large exponents and ensure
7604         correct sign of result in that case.
7605         * math/libm-test.inc (remainder_test_data): Add more tests.
7607         [BZ #6799]
7608         * math/s_nextafter.c: Include <errno.h>.
7609         (__nextafter): Set errno on overflow and underflow.
7610         * math/s_nexttowardf.c: Include <errno.h>.
7611         (__nexttowardf): Set errno on overflow and underflow.
7612         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7613         (__nextafterl): Set errno on overflow and underflow.
7614         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7615         (__nexttoward): Set errno on overflow and underflow.
7616         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7617         (__nexttowardf): Set errno on overflow and underflow.
7618         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7619         (__nextafterf): Set errno on overflow and underflow.
7620         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7621         (__nextafterl): Set errno on overflow and underflow.
7622         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7623         (__nexttoward): Set errno on overflow and underflow.
7624         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7625         (__nexttowardf): Set errno on overflow and underflow.
7626         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7627         (__nextafterl): Set errno on overflow and underflow.
7628         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7629         (__nexttoward): Set errno on overflow and underflow.
7630         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7631         (__nexttowardf): Set errno on overflow and underflow.
7632         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7633         (__nexttoward): Set errno on overflow and underflow.
7634         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7635         (__nexttowardf): Set errno on overflow and underflow.
7636         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7637         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7638         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7639         (__nextafterl): Set errno on overflow and underflow.
7640         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7641         setting to be missing on overflow.  Add more tests.
7642         (nexttoward_test_data): Likewise.
7644         * configure.ac (libc_cv_initfini_array): Remove configure test.
7645         * configure: Regenerated.
7647 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7649         [BZ #19189]
7650         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7651         non-finite argument handle arguments with negative sign.
7653         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7654         result from infinite argument.
7655         (j1_test_data): Likewise.
7656         (jn_test_data): Likewise.
7657         (y0_test_data): Likewise.
7658         (y1_test_data): Likewise.
7659         (yn_test_data): Likewise.
7661         [BZ #16171]
7662         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7663         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7664         * math/w_remainderf.c (dremf): Define as weak alias of
7665         __remainderf.
7666         * math/w_remainderl.c (dreml): Define as weak alias of
7667         __remainderl.
7668         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7669         __remainder.
7670         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7671         __remainderf.
7672         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7673         __remainderl.
7674         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7675         weak alias of remainderl.
7676         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7677         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7678         alias of __remainder.
7679         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7680         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7681         strong alias of __remainderl.
7682         (dreml): Use long_double_symbol.
7683         * math/Makefile (libm-calls): Remove w_drem.
7684         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7685         (CFLAGS-nldbl-drem.c): Remove variable.
7686         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7687         * math/w_drem.c: Remove file.
7688         * math/w_dremf.c: Likewise.
7689         * math/w_dreml.c: Likewise.
7690         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7691         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7692         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7694         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7695         * sysdeps/i386/configure: Regenerated.
7696         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7697         * sysdeps/x86_64/configure: Regenerated.
7699         * configure.ac (libc_cv_asm_protected_directive): Remove configure
7700         test.
7701         (libc_cv_visibility_attribute): Likewise.
7702         (libc_cv_protected_data): Test unconditionally.
7703         (libc_cv_broken_visibility_attribute): Remove configure test.
7704         (libc_cv_have_sdata_section): Test unconditionally.
7705         * configure: Regenerated.
7707         * include/libc-internal.h (libc_max_align_t): Remove typedef.
7708         * include/scratch_buffer.h: Include <stddef.h> instead of
7709         <libc-internal.h>.
7710         (struct scratch_buffer): Use max_align_t instead of
7711         libc_max_align_t.
7713 2015-10-29  Florian Weimer  <fweimer@redhat.com>
7715         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7716         instead of extend_alloca.  Change control flow to avoid a goto.
7717         Remove assert which is trivially always true.
7719 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7721         [BZ #16068]
7722         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7723         (FE_ALL_EXCEPT_X86): New macro.
7724         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7725         FE_ALL_EXCEPT.  Ensure precision control is included in
7726         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7727         handle "denormal operand exception" and clear FZ and DAZ bits.
7728         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7729         (FE_ALL_EXCEPT_X86): New macro.
7730         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7731         FE_ALL_EXCEPT.  Ensure precision control is included in
7732         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7733         handle "denormal operand exception" and clear FZ and DAZ bits.
7734         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
7735         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7736         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7737         test-fenv-x87 and test-fenv-sse-2.
7738         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
7740         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
7741         * math/test-double.h (BUILD_COMPLEX): New macro.
7742         * math/test-float.h (BUILD_COMPLEX): Likewise.
7743         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
7745         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
7746         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
7747         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
7748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
7749         instead of DBL_DENORM_MIN in comment.
7750         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
7751         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7752         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
7753         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
7754         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
7755         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7757 2015-10-28  Florian Weimer  <fweimer@redhat.com>
7759         [BZ# 19048]
7760         * malloc/malloc.c (struct malloc_state): Update comment.  Add
7761         attached_threads member.
7762         (main_arena): Initialize attached_threads.
7763         * malloc/arena.c (list_lock): Update comment.
7764         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
7765         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
7766         (deattach_arena): New function.
7767         (_int_new_arena): Initialize arena reference count and deattach
7768         replaced arena.
7769         (get_free_list, reused_arena): Update reference count and deattach
7770         replaced arena.
7771         (arena_thread_freeres): Update arena reference count and only put
7772         unreferenced arenas on the free list.
7774 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7776         [BZ #19181]
7777         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
7778         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
7779         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
7780         * math/test-fenv-clear-main.c: New file.
7781         * math/test-fenv-clear.c: Likewise.
7782         * math/Makefile (tests): Add test-fenv-clear.
7783         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
7784         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7785         test-fenv-clear-sse.
7786         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
7788         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
7789         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
7790         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
7792 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7794         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
7795         static libc.
7797 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7799         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
7800         test.
7801         * sysdeps/i386/configure: Regenerated.
7802         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
7803         test.
7804         * sysdeps/x86_64/configure: Regenerated.
7805         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
7806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7807         memset-avx2 unconditionally instead of conditionally on
7808         [$(config-cflags-avx2) = yes].
7809         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7810         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
7811         unconditional.
7812         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
7813         * sysdeps/x86_64/multiarch/memset_chk.S
7814         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
7815         to [IS_IN (libc) && SHARED].
7817 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7819         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
7820         configure test.
7821         * sysdeps/arm/configure: Regenerated.
7822         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
7823         Define variable if not already defined.
7825         [BZ #17404]
7826         * sysdeps/mips/atomic-machine.h
7827         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
7828         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
7829         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7831         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
7832         unconditional.
7833         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
7834         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7835         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
7836         unconditional.
7837         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7838         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
7839         unconditional.
7840         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7841         * stdlib/setenv.c
7842         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
7843         code unconditional.
7844         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
7845         Remove conditional code.
7846         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7847         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
7848         unconditional.
7849         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7850         code.
7851         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7852         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
7853         unconditional.
7854         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7855         code.
7856         * sysdeps/ieee754/ldbl-128/k_tanl.c
7857         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7858         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7859         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7860         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7861         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7862         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7863         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
7864         unconditional.
7865         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7866         code.
7867         * sysdeps/ieee754/ldbl-96/k_tanl.c
7868         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7869         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7871         * nptl/tst-initializers1-c11.c: New file.
7872         * nptl/tst-initializers1-gnu11.c: Likewise.
7873         * nptl/Makefile (tests): Add these new tests.
7874         (CFLAGS-tst-initializers1-c11.c): New variable.
7875         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7877         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
7878         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
7879         instead of -std=gnu99.
7880         * configure.ac (systemtap): Test with -std=gnu11 instead of
7881         -std=gnu99.
7882         * configure: Regenerated.
7883         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
7884         in compilation command in comment.
7886         * sysdeps/nptl/configure.ac: Remove file.
7887         * sysdeps/nptl/configure: Remove generated file.
7888         * configure.ac (libc_cv_forced_unwind): Do not substitute.
7889         * configure: Regenerated.
7890         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
7891         * config.make.in (have-forced-unwind): Remove variable.
7892         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7893         unconditional.
7894         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
7895         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
7896         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
7897         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
7898         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7899         unconditional.
7901 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7903         [BZ #19174]
7904         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
7905         .skip_lock_out_of_tbegin_retries.
7906         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7907         (__lll_lock_elision): Likewise, and respect a value of
7908         try_tbegin <= 0.
7910 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7912         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
7913         statement.
7915 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7917         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
7918         variable.
7919         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7920         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7922         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
7923         of -std=c1x -D_ISOC11_SOURCE.
7925         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
7926         * configure: Regenerated.
7927         * manual/install.texi (Tools for Compilation): Document
7928         requirement for GCC 4.7 or later.
7929         * INSTALL: Regenerated.
7931 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
7933         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
7934         on CNT to a conditional jump to 'puntdata'.
7936 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7938         * configure.ac (libc_cv_gcc___thread): Remove configure test.
7939         (libc_cv_gcc_tls_model_attr): Likewise.
7940         * configure: Regenerated.
7942         * configure.ac (libc_cv_need_minus_P): Remove configure test.
7943         * configure: Regenerated.
7944         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7946 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
7948         * configure.ac (old_glibc_headers): Remove configure test.
7949         * configure: Regenerated.
7950         * config.make.in (old-glibc-headers): Remove variable.
7951         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7952         (install): Remove dependency on remove-old-headers.
7953         (headers2_0): Remove variable.
7954         (remove-old-headers): Remove rule.
7956         * configure.ac (libc_cv_dot_text): Remove configure test.
7957         (libc_cv_asm_set_directive): Use .text instead of
7958         ${libc_cv_dot_text} in configure test.
7959         * configure: Regenerated.
7961 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7963         [BZ #19168]
7964         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7966 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7968         * configure.ac (CXX): Clear the variable if the C++ toolchain does
7969         not support static linking.
7970         * configure: Regenerate.
7972 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
7974         * math/libm-test.inc (check_float_internal): Do not special-case
7975         errors up to 0.5 ulp.
7977         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7978         log2.
7979         * math/auto-libm-test-out: Regenerated.
7980         * math/libm-test.inc (MAX_EXP): New macro.
7981         (ilogb_test_data): Add more tests.
7982         (isfinite_test_data): Likewise.
7983         (isgreater_test_data): Likewise.
7984         (isgreaterequal_test_data): Likewise.
7985         (isinf_test_data): Likewise.
7986         (isless_test_data): Likewise.
7987         (islessequal_test_data): Likewise.
7988         (islessgreater_test_data): Likewise.
7989         (isnan_test_data): Likewise.
7990         (isnormal_test_data): Likewise.
7991         (issignaling_test_data): Likewise.
7992         (isunordered_test_data): Likewise.
7993         (j0_test_data): Likewise.
7994         (j1_test_data): Likewise.
7995         (jn_test_data): Likewise.
7996         (lgamma_test_data): Likewise.
7997         (log_test_data): Likewise.
7998         (log10_test_data): Likewise.
7999         (log1p_test_data): Likewise.
8000         (log2_test_data): Likewise.
8001         (logb_test_data): Likewise.
8002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8004         [BZ #18611]
8005         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8006         avoid excess range and precision on underflow.
8007         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8008         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8009         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8010         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8011         underflow.
8012         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8013         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8014         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8015         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8016         * math/auto-libm-test-in: Do not allow missing errno setting for
8017         tests of j1 and jn.
8018         * math/auto-libm-test-out: Regenerated.
8020 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8022         [BZ #15491]
8023         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8024         floating-point environment instead of clearing all exceptions.
8025         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8026         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8027         merging in "invalid" exceptions from frndint.
8028         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8029         * math/test-nearbyint-except.c: New file.
8030         * math/Makefile (tests): Add test-nearbyint-except.
8032 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8034         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8036         * sysdeps/tile/libm-test-ulps: Regenerated.
8038 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8041         (__NR_sync_file_range2): Assume it is always defined.
8042         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8043         (__NR_sync_file_range): Assume it is always defined.
8045 2015-10-22  Andreas Schwab  <schwab@suse.de>
8047         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8048         INTERNAL_SYSCALL_ERRNO.
8049         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8050         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8051         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8052         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8053         Likewise.
8054         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8056 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8058         * io/tst-fcntl.c (fd): New static variable.
8059         (do_prepare): Open temporary file here....
8060         (do_test): ...not here.
8062         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8064 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8066         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8067         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8068         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8069         Moved before "#ifdef __ASSEMBLER__".
8071 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8073         [BZ #19156]
8074         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8075         arguments very close to 0.
8077 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8079         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8080         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8082 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8084         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8085         New.  Defined for GCC 5 and above when not compiling for
8086         profiling.
8087         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8089         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8090         Renamed to ...
8091         (CFLAGS-epoll_pwait.o): This.
8092         (CFLAGS-mmap.c): Renamed to ...
8093         (CFLAGS-mmap.o): This.
8094         (CFLAGS-mmap64.c): Renamed to ...
8095         (CFLAGS-mmap64.o): This.
8096         (CFLAGS-epoll_pwait.os): New.
8097         (CFLAGS-mmap.os): Likewise.
8098         (CFLAGS-mmap64.os): Likewise.
8099         (CFLAGS-semtimedop.os): Likewise.
8100         (CFLAGS-semtimedop.c): Renamed to ...
8101         (CFLAGS-semtimedop.o): This.
8103 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8105         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8106         warning message.
8108 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8110         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8111         * Makefile ($(objpfx)c++-types-check.out): Filter out
8112         $(+gccwarn-c) instead of -Wstrict-prototypes.
8114         * io/fts.c (fts_open): Convert to prototype-style function
8115         definition.
8116         * malloc/mcheck.c (mcheck): Likewise.
8117         (mcheck_pedantic): Likewise.
8118         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8119         internal_function.
8120         (re_search_internal): Likewise.
8121         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8122         prototype-style function definition.
8123         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8124         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8125         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8126         (xdr_utmpptr): Likewise.
8127         (xdr_utmparr): Likewise.
8128         (xdr_utmpidle): Likewise.
8129         (xdr_utmpidleptr): Likewise.
8130         (xdr_utmpidlearr): Likewise.
8132         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8133         log, log10 and log2.
8134         * math/auto-libm-test-out: Regenerated.
8135         * math/libm-test.inc (fmod_test_data): Add more tests.
8136         (fpclassify_test_data): Likewise.
8137         (frexp_test_data): Likewise.
8138         (hypot_test_data): Likewise.
8139         (ilogb_test_data): Likewise.
8141 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8143         * debug/fortify_fail.c (__fortify_fail): Convert to
8144         prototype-style function definition.  Use internal_function.
8145         * libio/genops.c (save_for_backup): Convert to prototype-style
8146         function definition.
8147         * libio/wgenops.c (save_for_wbackup): Likewise.
8148         * login/grantpt.c (grantpt): Likewise.
8149         * login/ptsname.c (ptsname): Likewise.
8150         (__ptsname_r): Likewise.
8151         * login/unlockpt.c (unlockpt): Likewise.
8152         * mach/msgserver.c (__mach_msg_server): Likewise.
8153         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8154         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8155         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8156         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8157         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8158         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8159         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8160         Likewise.
8161         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8162         internal_function.
8163         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8164         prototype-style function definition.
8165         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8166         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8167         (__pthread_create_2_0): Likewise.
8168         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8169         * nptl/register-atfork.c (__register_atfork): Likewise.
8170         * posix/glob.c (glob): Likewise.
8171         * posix/regcomp.c (re_comp): Likewise.
8172         * posix/regexec.c (re_exec): Likewise.
8173         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8174         [!__STDC__]: Remove conditional code.
8175         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8176         [!__STDC__]: Remove conditional code.
8177         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8178         [!__STDC__]: Remove conditional code.
8179         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8180         [!__STDC__]: Remove conditional code.
8181         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8182         [!__STDC__]: Remove conditional code.
8183         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8184         [!__STDC__]: Remove conditional code.
8185         * stdlib/mul.c [__STDC__]: Make code unconditional.
8186         [!__STDC__]: Remove conditional code.
8187         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8188         [!__STDC__]: Remove conditional code.
8189         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8190         [!__STDC__]: Remove conditional code.
8191         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8192         function definition.
8193         (STRTOF): Likewise.
8194         * stdlib/strtod_l.c (__STRTOF): Likewise.
8195         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8196         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8197         (__strtol_l): Likewise.
8198         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8199         [!__STDC__]: Remove conditional code.
8200         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8201         definition.
8202         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8203         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8204         type.
8205         (__strcasecmp): Convert to prototype-style function definition.
8206         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8207         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8208         type.
8209         (__strncasecmp): Convert to prototype-style function definition.
8210         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8211         * sunrpc/xdr.c (xdr_union): Likewise.
8212         * sunrpc/xdr_array.c (xdr_array): Likewise.
8213         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8214         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8215         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8216         Likewise.
8217         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8218         Likewise.
8219         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8220         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8221         Likewise.
8222         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8223         (LOCALE_PARAM_PROTO): Likewise.
8224         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8225         argument type.
8226         (ut_argument_spec): Remove macro.
8227         (ut_argument_spec_iso): Rename to ut_argument_spec.
8228         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8229         prototype-style function definition.
8230         (memcpy_uppcase): Likewise.
8231         (__strftime_internal): Likewise.
8232         (my_strftime): Likewise.
8233         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8234         (LOCALE_PARAM_DECL): Likewise.
8235         [_LIBC] (LOCALE_PARAM): Include argument type.
8236         (__strptime_internal): Convert to prototype-style function
8237         definition.
8238         (strptime): Likewise.
8239         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8240         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8241         type.
8242         (__wcscasecmp): Convert to prototype-style function definition.
8243         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8244         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8245         type.
8246         (__wcsncasecmp): Convert to prototype-style function definition.
8248         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8249         function definition.
8250         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8251         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8252         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8253         * elf/dl-minimal.c (_itoa): Likewise.
8254         * hurd/hurdmalloc.c (malloc): Likewise.
8255         (free): Likewise.
8256         (realloc): Likewise.
8257         * inet/inet6_option.c (inet6_option_space): Likewise.
8258         (inet6_option_init): Likewise.
8259         (inet6_option_append): Likewise.
8260         (inet6_option_alloc): Likewise.
8261         (inet6_option_next): Likewise.
8262         (inet6_option_find): Likewise.
8263         * io/ftw.c (FTW_NAME): Likewise.
8264         (NFTW_NAME): Likewise.
8265         (NFTW_NEW_NAME): Likewise.
8266         (NFTW_OLD_NAME): Likewise.
8267         * libio/iofwide.c (_IO_fwide): Likewise.
8268         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8269         (_IO_str_init_static): Likewise.
8270         (_IO_str_init_readonly): Likewise.
8271         (_IO_str_overflow): Likewise.
8272         (_IO_str_underflow): Likewise.
8273         (_IO_str_count): Likewise.
8274         (_IO_str_seekoff): Likewise.
8275         (_IO_str_pbackfail): Likewise.
8276         (_IO_str_finish): Likewise.
8277         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8278         (_IO_wstr_overflow): Likewise.
8279         (_IO_wstr_underflow): Likewise.
8280         (_IO_wstr_count): Likewise.
8281         (_IO_wstr_seekoff): Likewise.
8282         (_IO_wstr_pbackfail): Likewise.
8283         (_IO_wstr_finish): Likewise.
8284         * locale/programs/localedef.c (normalize_codeset): Likewise.
8285         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8286         (add_locales_to_archive): Likewise.
8287         (delete_locales_from_archive): Likewise.
8288         * malloc/malloc.c (__libc_mallinfo): Likewise.
8289         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8290         * misc/tsearch.c (__tfind): Likewise.
8291         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8292         * nptl/pthread_attr_getdetachstate.c
8293         (__pthread_attr_getdetachstate): Likewise.
8294         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8295         Likewise.
8296         * nptl/pthread_attr_getinheritsched.c
8297         (__pthread_attr_getinheritsched): Likewise.
8298         * nptl/pthread_attr_getschedparam.c
8299         (__pthread_attr_getschedparam): Likewise.
8300         * nptl/pthread_attr_getschedpolicy.c
8301         (__pthread_attr_getschedpolicy): Likewise.
8302         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8303         Likewise.
8304         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8305         Likewise.
8306         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8307         Likewise.
8308         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8309         Likewise.
8310         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8311         (__pthread_attr_init_2_0): Likewise.
8312         * nptl/pthread_attr_setdetachstate.c
8313         (__pthread_attr_setdetachstate): Likewise.
8314         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8315         Likewise.
8316         * nptl/pthread_attr_setinheritsched.c
8317         (__pthread_attr_setinheritsched): Likewise.
8318         * nptl/pthread_attr_setschedparam.c
8319         (__pthread_attr_setschedparam): Likewise.
8320         * nptl/pthread_attr_setschedpolicy.c
8321         (__pthread_attr_setschedpolicy): Likewise.
8322         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8323         Likewise.
8324         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8325         Likewise.
8326         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8327         Likewise.
8328         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8329         Likewise.
8330         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8331         Likewise.
8332         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8333         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8334         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8335         use internal_function.
8336         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8337         prototype-style function definition.
8338         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8339         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
8340         internal_function.
8341         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8342         Convert to prototype-style function definition.
8343         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8344         Likewise.
8345         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8346         Likewise.
8347         (__pthread_mutex_unlock): Likewise.
8348         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8349         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8350         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8351         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8352         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8353         * nss/makedb.c (process_input): Likewise.
8354         * posix/fnmatch.c (__strchrnul): Likewise.
8355         (__wcschrnul): Likewise.
8356         (fnmatch): Likewise.
8357         * posix/fnmatch_loop.c (FCT): Likewise.
8358         * posix/glob.c (globfree): Likewise.
8359         (__glob_pattern_type): Likewise.
8360         (__glob_pattern_p): Likewise.
8361         * posix/regcomp.c (re_compile_pattern): Likewise.
8362         (re_set_syntax): Likewise.
8363         (re_compile_fastmap): Likewise.
8364         (regcomp): Likewise.
8365         (regerror): Likewise.
8366         (regfree): Likewise.
8367         * posix/regexec.c (regexec): Likewise.
8368         (re_match): Likewise.
8369         (re_search): Likewise.
8370         (re_match_2): Likewise.
8371         (re_search_2): Likewise.
8372         (re_search_stub): Likewise.  Use internal_function
8373         (re_copy_regs): Likewise.
8374         (re_set_registers): Convert to prototype-style function
8375         definition.
8376         (prune_impossible_nodes): Likewise.  Use internal_function.
8377         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8378         prototype-style function definition.
8379         (inet_net_pton_ipv4): Likewise.
8380         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8381         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8382         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8383         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8384         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8385         Make variadic.
8386         * time/strptime_l.c (localtime_r): Convert to prototype-style
8387         function definition.
8388         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8389         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8390         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8391         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8393         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8394         definition.
8395         (_ufc_doit_r): Likewise.
8396         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8397         (_ufc_output_conversion_r): Likewise.
8398         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8399         * inet/rcmd.c (rcmd_af): Likewise.
8400         (rcmd): Likewise.
8401         (ruserok_af): Likewise.
8402         (ruserok): Likewise.
8403         (ruserok2_sa): Likewise.
8404         (ruserok_sa): Likewise.
8405         (iruserok_af): Likewise.
8406         (iruserok): Likewise.
8407         (__ivaliduser): Likewise.
8408         (__validuser2_sa): Likewise.
8409         * inet/rexec.c (rexec_af): Likewise.
8410         (rexec): Likewise.
8411         * inet/ruserpass.c (ruserpass): Likewise.
8412         * locale/programs/xmalloc.c (xcalloc): Likewise.
8413         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8414         * math/w_drem.c (__drem): Likewise.
8415         * math/w_dremf.c (__dremf): Likewise.
8416         * math/w_dreml.c (__dreml): Likewise.
8417         * misc/daemon.c (daemon): Likewise.
8418         * resolv/res_debug.c (p_fqnname): Likewise.
8419         * stdlib/div.c (div): Likewise.
8420         * string/memcmp.c (memcmp_bytes): Likewise.
8421         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8422         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8424         * crypt/cert.c (main): Convert to prototype-style function
8425         definition.
8426         * io/pipe.c (__pipe): Likewise.
8427         * io/pipe2.c (__pipe2): Likewise.
8428         * misc/futimesat.c (futimesat): Likewise.
8429         * misc/utimes.c (__utimes): Likewise.
8430         * posix/execve.c (__execve): Likewise.
8431         * posix/execvp.c (execvp): Likewise.
8432         * posix/execvpe.c (__execvpe): Likewise.
8433         * posix/fexecve.c (fexecve): Likewise.
8434         * socket/socketpair.c (socketpair): Likewise.
8435         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8436         * stdlib/erand48.c (erand48): Likewise.
8437         * stdlib/erand48_r.c (__erand48_r): Likewise.
8438         * stdlib/jrand48.c (jrand48): Likewise.
8439         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8440         * stdlib/lcong48.c (lcong48): Likewise.
8441         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8442         * stdlib/nrand48.c (nrand48): Likewise.
8443         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8444         * stdlib/seed48.c (seed48): Likewise.
8445         * stdlib/seed48_r.c (__seed48_r): Likewise.
8446         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8447         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8448         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8450 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8452         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8453         * configure: Regenerated.
8454         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8455         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8456         unconditional.
8457         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8458         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8459         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8460         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8461         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8462         unconditional.
8463         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8465         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8466         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8468         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8469         function definition.
8470         * crypt/crypt_util.c (__encrypt_r): Likewise.
8471         * libio/genops.c (_IO_no_init): Likewise.
8472         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8473         (_IO_old_fopencookie): Likewise.
8474         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8475         * libio/iogetline.c (_IO_getline): Likewise.
8476         (_IO_getline_info): Likewise.
8477         * libio/iogetwline.c (_IO_getwline): Likewise.
8478         (_IO_getwline_info): Likewise.
8479         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8480         * libio/vswprintf.c (_IO_vswprintf): Likewise.
8481         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8482         (find_entry): Likewise.
8483         (iterate_table): Likewise.
8484         (lookup): Likewise.
8485         * login/forkpty.c (forkpty): Likewise.
8486         * misc/hsearch_r.c (__hsearch_r): Likewise.
8487         * misc/select.c (__select): Likewise.
8488         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8489         Likewise.
8490         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8491         Likewise.
8492         * nptl/old_pthread_cond_timedwait.c
8493         (__pthread_cond_timedwait_2_0): Likewise.
8494         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8495         * nptl/pthread_barrierattr_getpshared.c
8496         (pthread_barrierattr_getpshared): Likewise.
8497         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8498         Likewise.
8499         * nptl/pthread_mutex_setprioceiling.c
8500         (pthread_mutex_setprioceiling): Likewise.
8501         * nptl/pthread_mutexattr_getprioceiling.c
8502         (pthread_mutexattr_getprioceiling): Likewise.
8503         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8504         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8505         Likewise.
8506         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8507         Likewise.
8508         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8509         Likewise.
8510         * socket/recvfrom.c (__recvfrom): Likewise.
8511         * socket/sendto.c (__sendto): Likewise.
8512         * socket/setsockopt.c (__setsockopt): Likewise.
8513         * stdio-common/_itoa.c (_itoa): Likewise.
8514         * stdio-common/_itowa.c (_itowa): Likewise.
8515         * stdio-common/reg-printf.c (__register_printf_specifier):
8516         Likewise.
8517         (__register_printf_function): Likewise.
8518         * stdio-common/tempname.c (__path_search): Likewise.
8519         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8520         * stdlib/mul_1.c (mpn_mul_1): Likewise.
8521         * stdlib/random_r.c (__initstate_r): Likewise.
8522         * stdlib/setenv.c (__add_to_environ): Likewise.
8523         * stdlib/submul_1.c (mpn_submul_1): Likewise.
8524         * streams/getpmsg.c (getpmsg): Likewise.
8525         * streams/putmsg.c (putmsg): Likewise.
8526         * streams/putpmsg.c (putpmsg): Likewise.
8527         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8528         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8529         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8530         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8531         * sunrpc/pm_getport.c (pmap_getport): Likewise.
8532         * sunrpc/svc_udp.c (cache_get): Likewise.
8533         * sunrpc/xdr_array.c (xdr_vector): Likewise.
8534         * sysdeps/mach/hurd/getcwd.c
8535         (__canonicalize_directory_name_internal): Likewise.
8536         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8537         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8538         * sysdeps/mach/hurd/select.c (__select): Likewise.
8539         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8540         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8541         * sysdeps/sparc/nptl/pthread_barrier_init.c
8542         (__pthread_barrier_init): Likewise.
8543         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8544         (__pthread_cond_timedwait): Likewise.
8545         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8546         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8547         Likewise.
8548         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8549         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8550         Likewise.
8551         * sysvipc/semtimedop.c (semtimedop): Likewise.
8552         * time/setitimer.c (__setitimer): Likewise.
8553         * time/strftime_l.c (emacs_strftime): Likewise.
8555 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8557         * config.make.in (have-ssp): Delete.
8558         (stack-protector): New variable.
8559         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
8560         cache test for -fstack-protector-strong.  Export stack_protector to
8561         the best ssp flag.
8562         * configure: Regenerated.
8563         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8564         * nscd/Makefile (CFLAGS-nscd): Likewise.
8565         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8567 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
8569         [BZ #19122]
8570         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8571         attribute_hidden.
8573 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8575         [BZ #18743]
8576         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8577         code to...
8578         (ELIDE_LOCK): ...here.
8579         (__get_new_count): New function with part of the code from
8580         __elide_lock that updates the value of adapt_count after a
8581         transaction abort.
8582         (__elided_trylock): Moved this code to...
8583         (ELIDE_TRYLOCK): ...here.
8585 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8587         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8588         * configure: Regenerate.
8589         * INSTALL: Regenerate.
8590         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8591         and tweak grammar.
8593 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
8595         * login/programs/pt_chown.c: Include signal.h
8596         (main): Clear any signal mask from the parent process.
8598 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8600         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8601         * configure: Regenerated.
8602         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8603         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8604         $(gnu89-inline-CFLAGS).
8606         * configure.ac (libc_cv_asm_weak_directive): Remove configure
8607         test.
8608         (libc_cv_asm_weakext_directive): Likewise.
8609         * configure: Regenerated.
8610         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8611         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8612         * include/libc-symbols.h
8613         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8614         #error.
8615         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8616         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8618         * sysdeps/arm/backtrace.c (__backtrace): Convert to
8619         prototype-style function definition.
8620         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8621         * sysdeps/i386/ffs.c (__ffs): Likewise.
8622         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8623         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8624         Likewise.
8625         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8626         Likewise.
8627         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8628         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8629         Likewise.
8630         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8631         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8632         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8633         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8634         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8635         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8636         * sysdeps/mach/hurd/access.c (__access): Likewise.
8637         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8638         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8639         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8640         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8641         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8642         (cthread_getspecific): Likewise.
8643         (cthread_setspecific): Likewise.
8644         (__libc_getspecific): Likewise.
8645         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8646         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8647         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8648         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8649         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8650         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8651         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8652         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8653         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8654         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8655         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8656         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8657         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8658         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8659         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8660         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8661         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8662         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8663         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8664         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8665         * sysdeps/mach/hurd/link.c (__link): Likewise.
8666         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8667         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8668         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8669         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8670         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8671         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8672         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8673         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8674         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8675         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8676         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8677         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8678         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8679         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8680         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8681         * sysdeps/mach/hurd/send.c (__send): Likewise.
8682         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8683         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8684         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8685         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8686         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8687         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8688         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8689         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8690         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8691         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8692         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8693         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8694         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8695         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8696         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8697         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8698         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8699         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8700         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8701         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8702         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8703         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8704         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8705         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8706         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8707         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8708         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8709         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8710         * sysdeps/posix/alarm.c (alarm): Likewise.
8711         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8712         * sysdeps/posix/dirfd.c (dirfd): Likewise.
8713         * sysdeps/posix/dup.c (__dup): Likewise.
8714         * sysdeps/posix/dup2.c (__dup2): Likewise.
8715         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8716         (main): Likewise.
8717         * sysdeps/posix/flock.c (__flock): Likewise.
8718         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8719         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8720         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8721         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8722         * sysdeps/posix/isatty.c (__isatty): Likewise.
8723         * sysdeps/posix/killpg.c (killpg): Likewise.
8724         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8725         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8726         * sysdeps/posix/raise.c (raise): Likewise.
8727         * sysdeps/posix/remove.c (remove): Likewise.
8728         * sysdeps/posix/rename.c (rename): Likewise.
8729         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8730         * sysdeps/posix/seekdir.c (seekdir): Likewise.
8731         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8732         * sysdeps/posix/sigignore.c (sigignore): Likewise.
8733         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8734         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8735         * sysdeps/posix/sigset.c (sigset): Likewise.
8736         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
8737         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8738         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
8739         * sysdeps/posix/time.c (time): Likewise.
8740         * sysdeps/posix/ttyname.c (getttyname): Likewise.
8741         (ttyname): Likewise.
8742         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
8743         * sysdeps/posix/utime.c (utime): Likewise.
8744         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
8745         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8746         Likewise.
8747         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
8748         (pthread_spin_trylock): Likewise.
8749         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
8750         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
8751         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
8752         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
8753         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
8754         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
8755         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
8756         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
8757         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
8758         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
8759         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
8760         * sysdeps/s390/ffs.c (__ffs): Likewise.
8761         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
8762         Likewise.
8763         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8764         Likewise.
8765         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
8766         Likewise.
8767         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
8768         (pthread_barrier_destroy): Likewise.
8769         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8770         (__pthread_barrier_wait): Likewise.
8771         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
8772         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8773         (__pthread_barrier_wait): Likewise.
8774         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
8775         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
8776         (memcmp_not_common_alignment): Likewise.
8777         (MEMCMP): Likewise.
8778         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
8779         (_wordcopy_fwd_dest_aligned): Likewise.
8780         (_wordcopy_bwd_aligned): Likewise.
8781         (_wordcopy_bwd_dest_aligned): Likewise.
8782         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
8783         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
8784         * sysdeps/unix/bsd/stty.c (stty): Likewise.
8785         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
8786         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
8787         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
8788         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
8789         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
8790         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
8791         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
8792         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
8793         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8794         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
8795         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
8796         * sysdeps/unix/stime.c (stime): Likewise.
8797         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
8798         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
8799         Likewise.  Use internal_function.
8800         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
8801         Convert to prototype-style function definition.
8802         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8803         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8804         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
8805         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8806         Likewise.  Use internal_function.
8807         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
8808         prototype-style function definition
8809         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8810         Likewise.
8811         (__getlogin_r): Likewise.
8812         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
8813         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
8814         (__pthread_cond_broadcast): Likewise.
8815         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
8816         (__pthread_cond_destroy): Likewise.
8817         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
8818         (__pthread_cond_init): Likewise.
8819         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
8820         (__pthread_cond_signal): Likewise.
8821         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8822         (__pthread_cond_wait): Likewise.
8823         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
8824         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8825         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
8826         Likewise.
8827         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
8828         Likewise.
8829         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8830         Likewise.
8831         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
8832         Likewise.
8833         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
8834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
8835         (__ftruncate64): Likewise.
8836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
8837         (truncate64): Likewise.
8838         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
8839         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
8840         (pthread_getcpuclockid): Likewise.
8841         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8842         Likewise.
8843         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8844         Likewise.
8845         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
8846         Likewise.
8847         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8848         Likewise.
8849         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
8850         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
8851         (__libc_sigaction): Likewise.
8852         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
8853         Likewise.
8854         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8855         (__sigprocmask): Likewise.
8856         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
8857         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
8858         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
8859         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8860         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8861         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
8862         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8863         Likewise.
8864         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8865         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8866         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8867         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
8868         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
8869         Likewise.
8870         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8871         (__sigprocmask): Likewise.
8872         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
8873         (cfgetispeed): Likewise.
8874         (cfsetospeed): Likewise.
8875         (cfsetispeed): Likewise.
8876         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
8877         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
8878         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8879         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8880         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
8881         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
8882         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
8883         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
8884         Likewise.
8885         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
8886         Likewise.
8887         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
8888         Likewise.
8889         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8890         Likewise.
8891         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8893 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8895         sunrpc: Rewrite with explicit TLS access using __thread.
8896         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
8897         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
8898         directly.
8899         (__rpc_thread_variables): Access thread_rpc_vars directly.
8900         Eliminate redundant assignment of the tvp variable.
8902 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8904         malloc: Rewrite with explicit TLS access using __thread.
8905         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
8906         (tsd_setspecific, tsd_getspecific): Remove.
8907         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
8908         (tsd_setspecific, tsd_getspecific): Likewise.
8909         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
8910         (tsd_setspecific, tsd_getspecific): Likewise.
8911         * malloc/arena.c (thread_arena): New TLS variable.
8912         (arena_key): Remove variable.
8913         (arena_get): Use thread_arena.
8914         (arena_lookup): Remove macro.
8915         (malloc_atfork, free_atfork, ptmalloc_lock_all)
8916         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
8917         (_int_new_arena, get_free_list, reused_arena)
8918         (arena_thread_freeres): Use thread_arena.
8919         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
8920         tsd_getspecific, tsd_setspecific from safety annotations.
8921         (Allocating Cleared Space): Remove arena_lookup from safety
8922         annotations.
8924 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8926         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
8927         struct scratch_buffer instead of extend_alloca.
8929 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8931         * sysdeps/unix/sysv/linux/kernel-features.h
8932         (__ASSUME_SOCK_CLOEXEC): Remove.
8933         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
8934         (__have_paccept): Remove unused macro.
8935         * include/unistd.h (__have_sock_cloexec): Remove declaration.
8936         * misc/syslog.c (openlog_internal): Remove fallback code for
8937         !__ASSUME_SOCK_CLOEXEC.
8938         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
8939         missing SOCK_CLOEXEC.
8940         * nscd/connections.c (have_sock_cloexec): Remove definition.
8941         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8942         * nscd/nscd_helper.c (open_socket): Remove fallback code for
8943         !__ASSUME_SOCK_CLOEXEC.
8944         * resolv/res_send.c (__have_o_nonblock): Remove definition.
8945         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8946         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8947         definition.
8948         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8949         code for !__ASSUME_SOCK_CLOEXEC.
8951 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8953         [BZ #18982]
8954         * manual/stdio.texi (Variable Arguments Output): Add portability
8955         note, explaining that vfprintf clobbers the va_list pointer.
8957 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8959         * math/libm-test.inc (fabs_test_data): Add more tests.
8960         (fdim_test_data): Likewise.
8961         (fma_test_data): Likewise.
8962         (fmax_test_data): Likewise.
8963         (fmin_test_data): Likewise.
8964         (fmod_test_data): Likewise.
8966 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
8968         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
8969         data.
8971 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8973         * math/libm-test.inc (ceil_test_data): Add more tests and more
8974         expectations for "inexact".
8975         (floor_test_data): Add more tests.
8976         (round_test_data): Likewise.
8977         (trunc_test_data): Likewise.
8979         * crypt/cert.c (good_bye): Convert to prototype-style function
8980         definition.
8981         (get8): Likewise.
8982         (put8): Likewise.
8983         * crypt/crypt-entry.c (crypt): Likewise.
8984         (__fcrypt): Likewise.
8985         * crypt/crypt_util.c (_ufc_prbits): Likewise.
8986         (_ufc_set_bits): Likewise.
8987         (_ufc_clearmem): Likewise.
8988         (__init_des_r): Likewise.
8989         (shuffle_sb): Likewise.
8990         (shuffle_sb): Likewise.
8991         (_ufc_setup_salt_r): Likewise.
8992         (_ufc_mk_keytab_r): Likewise.
8993         (_ufc_dofinalperm_r): Likewise.
8994         (encrypt): Likewise.
8995         (__setkey_r): Likewise.
8996         (setkey): Likewise.
8997         * crypt/md5.c (md5_init_ctx): Likewise.
8998         (md5_read_ctx): Likewise.
8999         (md5_finish_ctx): Likewise.
9000         (md5_stream): Likewise.
9001         (md5_buffer): Likewise.
9002         (md5_process_bytes): Likewise.
9003         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9004         (__sha256_finish_ctx): Likewise.
9005         (__sha256_process_bytes): Likewise.
9006         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9007         (__sha512_finish_ctx): Likewise.
9008         (__sha512_process_bytes): Likewise.
9009         * ctype/isctype.c (__isctype): Likewise.
9010         * debug/backtrace.c (__backtrace): Likewise.
9011         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9012         * debug/fgets_chk.c (__fgets_chk): Likewise.
9013         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9014         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9015         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9016         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9017         * debug/memset_chk.c (__memset_chk): Likewise.
9018         * debug/strcat_chk.c (__strcat_chk): Likewise.
9019         * debug/strncat_chk.c (__strncat_chk): Likewise.
9020         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9021         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9022         * dirent/dirfd.c (dirfd): Likewise.
9023         * dirent/getdents.c (__getdirentries): Likewise.
9024         * dirent/getdents64.c (getdirentries64): Likewise.
9025         * dirent/rewinddir.c (__rewinddir): Likewise.
9026         * dirent/seekdir.c (seekdir): Likewise.
9027         * dirent/telldir.c (telldir): Likewise.
9028         * elf/sln.c (makesymlinks): Likewise.
9029         (makesymlink): Likewise.
9030         * gmon/gmon.c (__moncontrol): Likewise.
9031         (__monstartup): Likewise.
9032         (write_hist): Likewise.
9033         (write_call_graph): Likewise.
9034         (write_bb_counts): Likewise.
9035         * grp/setgroups.c (setgroups): Likewise.
9036         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9037         * inet/inet_net.c (inet_network): Likewise.
9038         * inet/inet_netof.c (inet_netof): Likewise.
9039         * inet/rcmd.c (rresvport_af): Likewise.
9040         (rresvport): Likewise.
9041         * io/access.c (__access): Likewise.
9042         * io/chdir.c (__chdir): Likewise.
9043         * io/chmod.c (__chmod): Likewise.
9044         * io/chown.c (__chown): Likewise.
9045         * io/close.c (__close): Likewise.
9046         * io/creat.c (creat): Likewise.
9047         * io/creat64.c (creat64): Likewise.
9048         * io/dup.c (__dup): Likewise.
9049         * io/dup2.c (__dup2): Likewise.
9050         * io/dup3.c (__dup3): Likewise.
9051         * io/euidaccess.c (__euidaccess): Likewise.
9052         * io/faccessat.c (faccessat): Likewise.
9053         * io/fchmod.c (__fchmod): Likewise.
9054         * io/fchmodat.c (fchmodat): Likewise.
9055         * io/fchown.c (__fchown): Likewise.
9056         * io/fchownat.c (fchownat): Likewise.
9057         * io/fcntl.c (__fcntl): Likewise.
9058         * io/flock.c (__flock): Likewise.
9059         * io/fts.c (fts_load): Likewise.
9060         (fts_close): Likewise.
9061         (fts_read): Likewise.
9062         (fts_set): Likewise.
9063         (fts_children): Likewise.
9064         (fts_build): Likewise.
9065         (fts_stat): Likewise.
9066         (fts_sort): Likewise.
9067         (fts_alloc): Likewise.
9068         (fts_lfree): Likewise.
9069         (fts_palloc): Likewise.
9070         (fts_padjust): Likewise.
9071         (fts_maxarglen): Likewise.
9072         (fts_safe_changedir): Likewise.
9073         * io/getwd.c (getwd): Likewise.
9074         * io/isatty.c (__isatty): Likewise.
9075         * io/lchown.c (__lchown): Likewise.
9076         * io/link.c (__link): Likewise.
9077         * io/linkat.c (linkat): Likewise.
9078         * io/lseek.c (__libc_lseek): Likewise.
9079         * io/mkdir.c (__mkdir): Likewise.
9080         * io/mkdirat.c (mkdirat): Likewise.
9081         * io/mkfifo.c (mkfifo): Likewise.
9082         * io/mkfifoat.c (mkfifoat): Likewise.
9083         * io/open.c (__libc_open): Likewise.
9084         * io/open64.c (__libc_open64): Likewise.
9085         * io/readlink.c (__readlink): Likewise.
9086         * io/readlinkat.c (readlinkat): Likewise.
9087         * io/rmdir.c (__rmdir): Likewise.
9088         * io/symlink.c (__symlink): Likewise.
9089         * io/symlinkat.c (symlinkat): Likewise.
9090         * io/ttyname.c (ttyname): Likewise.
9091         * io/ttyname_r.c (__ttyname_r): Likewise.
9092         * io/umask.c (__umask): Likewise.
9093         * io/unlink.c (__unlink): Likewise.
9094         * io/unlinkat.c (unlinkat): Likewise.
9095         * io/utime.c (utime): Likewise.
9096         * libio/clearerr.c (clearerr): Likewise.
9097         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9098         * libio/feof.c (_IO_feof): Likewise.
9099         * libio/feof_u.c (feof_unlocked): Likewise.
9100         * libio/ferror.c (_IO_ferror): Likewise.
9101         * libio/ferror_u.c (ferror_unlocked): Likewise.
9102         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9103         * libio/fileno.c (__fileno): Likewise.
9104         * libio/fputc.c (fputc): Likewise.
9105         * libio/fputc_u.c (fputc_unlocked): Likewise.
9106         * libio/fputwc.c (fputwc): Likewise.
9107         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9108         * libio/freopen.c (freopen): Likewise.
9109         * libio/freopen64.c (freopen64): Likewise.
9110         * libio/fseek.c (fseek): Likewise.
9111         * libio/fseeko.c (fseeko): Likewise.
9112         * libio/fseeko64.c (fseeko64): Likewise.
9113         * libio/ftello.c (__ftello): Likewise.
9114         * libio/ftello64.c (ftello64): Likewise.
9115         * libio/fwide.c (fwide): Likewise.
9116         * libio/genops.c (_IO_un_link): Likewise.
9117         (_IO_link_in): Likewise.
9118         (_IO_least_marker): Likewise.
9119         (_IO_switch_to_main_get_area): Likewise.
9120         (_IO_switch_to_backup_area): Likewise.
9121         (_IO_switch_to_get_mode): Likewise.
9122         (_IO_free_backup_area): Likewise.
9123         (_IO_switch_to_put_mode): Likewise.
9124         (__overflow): Likewise.
9125         (__underflow): Likewise.
9126         (__uflow): Likewise.
9127         (_IO_setb): Likewise.
9128         (_IO_doallocbuf): Likewise.
9129         (_IO_default_underflow): Likewise.
9130         (_IO_default_uflow): Likewise.
9131         (_IO_default_xsputn): Likewise.
9132         (_IO_sgetn): Likewise.
9133         (_IO_default_xsgetn): Likewise.
9134         (_IO_sync): Likewise.
9135         (_IO_default_setbuf): Likewise.
9136         (_IO_default_seekpos): Likewise.
9137         (_IO_default_doallocate): Likewise.
9138         (_IO_init): Likewise.
9139         (_IO_old_init): Likewise.
9140         (_IO_default_sync): Likewise.
9141         (_IO_default_finish): Likewise.
9142         (_IO_default_seekoff): Likewise.
9143         (_IO_sputbackc): Likewise.
9144         (_IO_sungetc): Likewise.
9145         (_IO_set_column): Likewise.
9146         (_IO_set_column): Likewise.
9147         (_IO_adjust_column): Likewise.
9148         (_IO_get_column): Likewise.
9149         (_IO_init_marker): Likewise.
9150         (_IO_remove_marker): Likewise.
9151         (_IO_marker_difference): Likewise.
9152         (_IO_marker_delta): Likewise.
9153         (_IO_seekmark): Likewise.
9154         (_IO_unsave_markers): Likewise.
9155         (_IO_nobackup_pbackfail): Likewise.
9156         (_IO_default_pbackfail): Likewise.
9157         (_IO_default_seek): Likewise.
9158         (_IO_default_stat): Likewise.
9159         (_IO_default_read): Likewise.
9160         (_IO_default_write): Likewise.
9161         (_IO_default_showmanyc): Likewise.
9162         (_IO_default_imbue): Likewise.
9163         (_IO_iter_next): Likewise.
9164         (_IO_iter_file): Likewise.
9165         * libio/getc.c (_IO_getc): Likewise.
9166         * libio/getwc.c (_IO_getwc): Likewise.
9167         * libio/iofclose.c (_IO_new_fclose): Likewise.
9168         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9169         * libio/iofflush.c (_IO_fflush): Likewise.
9170         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9171         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9172         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9173         * libio/iofgets.c (_IO_fgets): Likewise.
9174         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9175         * libio/iofgetws.c (fgetws): Likewise.
9176         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9177         * libio/iofopen64.c (_IO_fopen64): Likewise.
9178         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9179         (_IO_cookie_write): Likewise.
9180         (_IO_cookie_seek): Likewise.
9181         (_IO_cookie_close): Likewise.
9182         (_IO_cookie_seekoff): Likewise.
9183         (_IO_old_cookie_seek): Likewise.
9184         * libio/iofputs.c (_IO_fputs): Likewise.
9185         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9186         * libio/iofputws.c (fputws): Likewise.
9187         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9188         * libio/iofread.c (_IO_fread): Likewise.
9189         * libio/iofread_u.c (__fread_unlocked): Likewise.
9190         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9191         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9192         * libio/ioftell.c (_IO_ftell): Likewise.
9193         * libio/iofwrite.c (_IO_fwrite): Likewise.
9194         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9195         * libio/iogets.c (_IO_gets): Likewise.
9196         * libio/iopadn.c (_IO_padn): Likewise.
9197         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9198         (_IO_new_popen): Likewise.
9199         (_IO_new_proc_close): Likewise.
9200         * libio/ioputs.c (_IO_puts): Likewise.
9201         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9202         (_IO_seekoff): Likewise.
9203         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9204         (_IO_seekpos): Likewise.
9205         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9206         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9207         * libio/ioungetc.c (_IO_ungetc): Likewise.
9208         * libio/ioungetwc.c (ungetwc): Likewise.
9209         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9210         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9211         * libio/iowpadn.c (_IO_wpadn): Likewise.
9212         * libio/libc_fatal.c (__libc_fatal): Likewise.
9213         * libio/memstream.c (__open_memstream): Likewise.
9214         (_IO_mem_sync): Likewise.
9215         (_IO_mem_finish): Likewise.
9216         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9217         (_IO_old_file_close_it): Likewise.
9218         (_IO_old_file_finish): Likewise.
9219         (_IO_old_file_fopen): Likewise.
9220         (_IO_old_file_attach): Likewise.
9221         (_IO_old_file_setbuf): Likewise.
9222         (_IO_old_do_write): Likewise.
9223         (old_do_write): Likewise.
9224         (_IO_old_file_underflow): Likewise.
9225         (_IO_old_file_overflow): Likewise.
9226         (_IO_old_file_sync): Likewise.
9227         (_IO_old_file_seekoff): Likewise.
9228         (_IO_old_file_write): Likewise.
9229         (_IO_old_file_xsputn): Likewise.
9230         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9231         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9232         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9233         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9234         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9235         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9236         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9237         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9238         (_IO_old_popen): Likewise.
9239         (_IO_old_proc_close): Likewise.
9240         * libio/oldpclose.c (__old_pclose): Likewise.
9241         * libio/pclose.c (__new_pclose): Likewise.
9242         * libio/peekc.c (_IO_peekc_locked): Likewise.
9243         * libio/putc.c (_IO_putc): Likewise.
9244         * libio/putc_u.c (putc_unlocked): Likewise.
9245         * libio/putchar.c (putchar): Likewise.
9246         * libio/putchar_u.c (putchar_unlocked): Likewise.
9247         * libio/putwc.c (putwc): Likewise.
9248         * libio/putwc_u.c (putwc_unlocked): Likewise.
9249         * libio/putwchar.c (putwchar): Likewise.
9250         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9251         * libio/rewind.c (rewind): Likewise.
9252         * libio/setbuf.c (setbuf): Likewise.
9253         * libio/setlinebuf.c (setlinebuf): Likewise.
9254         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9255         * libio/vscanf.c (_IO_vscanf): Likewise.
9256         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9257         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9258         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9259         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9260         (_IO_switch_to_main_wget_area): Likewise.
9261         (_IO_switch_to_wbackup_area): Likewise.
9262         (_IO_wsetb): Likewise.
9263         (_IO_wdefault_pbackfail): Likewise.
9264         (_IO_wdefault_finish): Likewise.
9265         (_IO_wdefault_uflow): Likewise.
9266         (__woverflow): Likewise.
9267         (__wuflow): Likewise.
9268         (__wunderflow): Likewise.
9269         (_IO_wdefault_xsputn): Likewise.
9270         (_IO_wdefault_xsgetn): Likewise.
9271         (_IO_wdoallocbuf): Likewise.
9272         (_IO_wdefault_doallocate): Likewise.
9273         (_IO_switch_to_wget_mode): Likewise.
9274         (_IO_free_wbackup_area): Likewise.
9275         (_IO_switch_to_wput_mode): Likewise.
9276         (_IO_sputbackwc): Likewise.
9277         (_IO_sungetwc): Likewise.
9278         (_IO_adjust_wcolumn): Likewise.
9279         (_IO_init_wmarker): Likewise.
9280         (_IO_wmarker_delta): Likewise.
9281         (_IO_seekwmark): Likewise.
9282         (_IO_unsave_wmarkers): Likewise.
9283         * libio/wmemstream.c (open_wmemstream): Likewise.
9284         (_IO_wmem_sync): Likewise.
9285         (_IO_wmem_finish): Likewise.
9286         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9287         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9288         * locale/programs/simple-hash.c (init_hash): Likewise.
9289         (delete_hash): Likewise.
9290         (insert_entry): Likewise.
9291         (set_entry): Likewise.
9292         (next_prime): Likewise.
9293         (is_prime): Likewise.
9294         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9295         (xmalloc): Likewise.
9296         (xrealloc): Likewise.
9297         * locale/programs/xstrdup.c (xstrdup): Likewise.
9298         * localedata/collate-test.c (xstrcoll): Likewise.
9299         * localedata/xfrm-test.c (xstrcmp): Likewise.
9300         * login/getlogin_r.c (__getlogin_r): Likewise.
9301         * login/getpt.c (__posix_openpt): Likewise.
9302         * login/login_tty.c (login_tty): Likewise.
9303         * login/setlogin.c (setlogin): Likewise.
9304         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9305         (mach_msg_destroy_port): Likewise.
9306         (mach_msg_destroy_memory): Likewise.
9307         * malloc/mcheck.c (flood): Likewise.
9308         * misc/acct.c (acct): Likewise.
9309         * misc/brk.c (__brk): Likewise.
9310         * misc/chflags.c (chflags): Likewise.
9311         * misc/chroot.c (chroot): Likewise.
9312         * misc/fchflags.c (fchflags): Likewise.
9313         * misc/fstab.c (getfsspec): Likewise.
9314         (getfsfile): Likewise.
9315         * misc/fsync.c (fsync): Likewise.
9316         * misc/ftruncate.c (__ftruncate): Likewise.
9317         * misc/ftruncate64.c (__ftruncate64): Likewise.
9318         * misc/getdomain.c (getdomainname): Likewise.
9319         (getdomainname): Likewise.
9320         * misc/gethostname.c (__gethostname): Likewise.
9321         * misc/getpass.c (getpass): Likewise.
9322         * misc/getttyent.c (skip): Likewise.
9323         (value): Likewise.
9324         * misc/gtty.c (gtty): Likewise.
9325         * misc/hsearch.c (hsearch): Likewise.
9326         (hcreate): Likewise.
9327         * misc/hsearch_r.c (__hcreate_r): Likewise.
9328         (__hdestroy_r): Likewise.
9329         * misc/ioctl.c (__ioctl): Likewise.
9330         * misc/mkdtemp.c (mkdtemp): Likewise.
9331         * misc/mkostemp.c (mkostemp): Likewise.
9332         * misc/mkostemp64.c (mkostemp64): Likewise.
9333         * misc/mkostemps.c (mkostemps): Likewise.
9334         * misc/mkostemps64.c (mkostemps64): Likewise.
9335         * misc/mkstemp.c (mkstemp): Likewise.
9336         * misc/mkstemp64.c (mkstemp64): Likewise.
9337         * misc/mkstemps.c (mkstemps): Likewise.
9338         * misc/mkstemps64.c (mkstemps64): Likewise.
9339         * misc/mktemp.c (__mktemp): Likewise.
9340         * misc/preadv.c (preadv): Likewise.
9341         * misc/preadv64.c (preadv64): Likewise.
9342         * misc/pwritev.c (pwritev): Likewise.
9343         * misc/pwritev64.c (pwritev64): Likewise.
9344         * misc/readv.c (__readv): Likewise.
9345         * misc/revoke.c (revoke): Likewise.
9346         * misc/setdomain.c (setdomainname): Likewise.
9347         * misc/setegid.c (setegid): Likewise.
9348         * misc/seteuid.c (seteuid): Likewise.
9349         * misc/sethostid.c (sethostid): Likewise.
9350         * misc/sethostname.c (sethostname): Likewise.
9351         * misc/setregid.c (__setregid): Likewise.
9352         * misc/setreuid.c (__setreuid): Likewise.
9353         * misc/sstk.c (sstk): Likewise.
9354         * misc/stty.c (stty): Likewise.
9355         * misc/syscall.c (syscall): Likewise.
9356         * misc/syslog.c (setlogmask): Likewise.
9357         * misc/truncate.c (__truncate): Likewise.
9358         * misc/truncate64.c (truncate64): Likewise.
9359         * misc/ualarm.c (ualarm): Likewise.
9360         * misc/usleep.c (usleep): Likewise.
9361         * misc/ustat.c (ustat): Likewise.
9362         * misc/writev.c (__writev): Likewise.
9363         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9364         * nptl/old_pthread_cond_broadcast.c
9365         (__pthread_cond_broadcast_2_0): Likewise.
9366         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9367         Likewise.
9368         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9369         Likewise.
9370         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9371         Likewise.
9372         * nptl/pt-raise.c (raise): Likewise.
9373         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9374         Likewise.
9375         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9376         * nptl/pthread_barrierattr_destroy.c
9377         (pthread_barrierattr_destroy): Likewise.
9378         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9379         Likewise.
9380         * nptl/pthread_barrierattr_setpshared.c
9381         (pthread_barrierattr_setpshared): Likewise.
9382         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9383         Likewise.
9384         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9385         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9386         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9387         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9388         Likewise.
9389         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9390         Likewise.
9391         * nptl/pthread_condattr_getpshared.c
9392         (pthread_condattr_getpshared): Likewise.
9393         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9394         Likewise.
9395         * nptl/pthread_condattr_setpshared.c
9396         (pthread_condattr_setpshared): Likewise.
9397         * nptl/pthread_detach.c (pthread_detach): Likewise.
9398         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9399         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9400         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9401         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9402         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9403         Likewise.
9404         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9405         Likewise.
9406         * nptl/pthread_mutex_getprioceiling.c
9407         (pthread_mutex_getprioceiling): Likewise.
9408         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9409         Likewise.
9410         * nptl/pthread_mutexattr_getprotocol.c
9411         (pthread_mutexattr_getprotocol): Likewise.
9412         * nptl/pthread_mutexattr_getpshared.c
9413         (pthread_mutexattr_getpshared): Likewise.
9414         * nptl/pthread_mutexattr_getrobust.c
9415         (pthread_mutexattr_getrobust): Likewise.
9416         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9417         Likewise.
9418         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9419         Likewise.
9420         * nptl/pthread_mutexattr_setprioceiling.c
9421         (pthread_mutexattr_setprioceiling): Likewise.
9422         * nptl/pthread_mutexattr_setprotocol.c
9423         (pthread_mutexattr_setprotocol): Likewise.
9424         * nptl/pthread_mutexattr_setpshared.c
9425         (pthread_mutexattr_setpshared): Likewise.
9426         * nptl/pthread_mutexattr_setrobust.c
9427         (pthread_mutexattr_setrobust): Likewise.
9428         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9429         Likewise.
9430         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9431         Likewise.
9432         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9433         Likewise.
9434         * nptl/pthread_rwlockattr_getkind_np.c
9435         (pthread_rwlockattr_getkind_np): Likewise.
9436         * nptl/pthread_rwlockattr_getpshared.c
9437         (pthread_rwlockattr_getpshared): Likewise.
9438         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9439         Likewise.
9440         * nptl/pthread_rwlockattr_setkind_np.c
9441         (pthread_rwlockattr_setkind_np): Likewise.
9442         * nptl/pthread_rwlockattr_setpshared.c
9443         (pthread_rwlockattr_setpshared): Likewise.
9444         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9445         Likewise.
9446         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9447         Likewise.
9448         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9449         Likewise.
9450         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9451         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9452         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9453         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9454         * nptl/sem_close.c (sem_close): Likewise.
9455         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9456         * nptl/sem_init.c (__old_sem_init): Likewise.
9457         * nptl/sigaction.c (__sigaction): Likewise.
9458         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9459         * posix/_exit.c (_exit): Likewise.
9460         * posix/alarm.c (alarm): Likewise.
9461         * posix/confstr.c (confstr): Likewise.
9462         * posix/fpathconf.c (__fpathconf): Likewise.
9463         * posix/getgroups.c (__getgroups): Likewise.
9464         * posix/getpgid.c (__getpgid): Likewise.
9465         * posix/group_member.c (__group_member): Likewise.
9466         * posix/pathconf.c (__pathconf): Likewise.
9467         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9468         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9469         * posix/setgid.c (__setgid): Likewise.
9470         * posix/setpgid.c (__setpgid): Likewise.
9471         * posix/setuid.c (__setuid): Likewise.
9472         * posix/sleep.c (__sleep): Likewise.
9473         * posix/sysconf.c (__sysconf): Likewise.
9474         * posix/times.c (__times): Likewise.
9475         * posix/uname.c (__uname): Likewise.
9476         * posix/waitid.c (__waitid): Likewise.
9477         * pwd/getpw.c (__getpw): Likewise.
9478         * resolv/base64.c (b64_pton): Likewise.
9479         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9480         * resolv/gethnamaddr.c (Dprintf): Likewise.
9481         (gethostbyname): Likewise.
9482         (gethostbyname2): Likewise.
9483         (gethostbyaddr): Likewise.
9484         (_sethtent): Likewise.
9485         (_gethtbyname): Likewise.
9486         (_gethtbyname2): Likewise.
9487         (_gethtbyaddr): Likewise.
9488         (map_v4v6_address): Likewise.
9489         (map_v4v6_hostent): Likewise.
9490         (addrsort): Likewise.
9491         (ht_sethostent): Likewise.
9492         (ht_gethostbyname): Likewise.
9493         (ht_gethostbyaddr): Likewise.
9494         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9495         (inet_net_ntop_ipv4): Likewise.
9496         * resolv/inet_neta.c (inet_neta): Likewise.
9497         * resolv/inet_ntop.c (inet_ntop): Likewise.
9498         (inet_ntop4): Likewise.
9499         (inet_ntop6): Likewise.
9500         * resolv/inet_pton.c (__inet_pton): Likewise.
9501         (inet_pton4): Likewise.
9502         (inet_pton6): Likewise.
9503         * resolv/res_debug.c (loc_aton): Likewise.
9504         (loc_ntoa): Likewise.
9505         * resource/getpriority.c (__getpriority): Likewise.
9506         * resource/getrusage.c (__getrusage): Likewise.
9507         * resource/nice.c (nice): Likewise.
9508         * resource/setpriority.c (__setpriority): Likewise.
9509         * resource/setrlimit64.c (setrlimit64): Likewise.
9510         * resource/vlimit.c (vlimit): Likewise.
9511         * resource/vtimes.c (vtimes): Likewise.
9512         * rt/aio_error.c (aio_error): Likewise.
9513         * rt/aio_return.c (aio_return): Likewise.
9514         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9515         * signal/kill.c (__kill): Likewise.
9516         * signal/killpg.c (killpg): Likewise.
9517         * signal/raise.c (raise): Likewise.
9518         * signal/sigaction.c (__sigaction): Likewise.
9519         * signal/sigaddset.c (sigaddset): Likewise.
9520         * signal/sigaltstack.c (sigaltstack): Likewise.
9521         * signal/sigandset.c (sigandset): Likewise.
9522         * signal/sigblock.c (__sigblock): Likewise.
9523         * signal/sigdelset.c (sigdelset): Likewise.
9524         * signal/sigempty.c (sigemptyset): Likewise.
9525         * signal/sigfillset.c (sigfillset): Likewise.
9526         * signal/sighold.c (sighold): Likewise.
9527         * signal/sigignore.c (sigignore): Likewise.
9528         * signal/sigintr.c (siginterrupt): Likewise.
9529         * signal/sigisempty.c (sigisemptyset): Likewise.
9530         * signal/sigismem.c (sigismember): Likewise.
9531         * signal/signal.c (signal): Likewise.
9532         * signal/sigorset.c (sigorset): Likewise.
9533         * signal/sigpause.c (__sigpause): Likewise.
9534         * signal/sigpending.c (sigpending): Likewise.
9535         * signal/sigprocmask.c (__sigprocmask): Likewise.
9536         * signal/sigrelse.c (sigrelse): Likewise.
9537         * signal/sigreturn.c (__sigreturn): Likewise.
9538         * signal/sigset.c (sigset): Likewise.
9539         * signal/sigsetmask.c (__sigsetmask): Likewise.
9540         * signal/sigstack.c (sigstack): Likewise.
9541         * signal/sigsuspend.c (__sigsuspend): Likewise.
9542         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9543         * signal/sysv_signal.c (__sysv_signal): Likewise.
9544         * socket/accept.c (accept): Likewise.
9545         * socket/accept4.c (__libc_accept4): Likewise.
9546         * socket/bind.c (__bind): Likewise.
9547         * socket/connect.c (__connect): Likewise.
9548         * socket/getpeername.c (getpeername): Likewise.
9549         * socket/getsockname.c (__getsockname): Likewise.
9550         * socket/getsockopt.c (getsockopt): Likewise.
9551         * socket/listen.c (__listen): Likewise.
9552         * socket/recv.c (__recv): Likewise.
9553         * socket/recvmsg.c (__recvmsg): Likewise.
9554         * socket/send.c (__send): Likewise.
9555         * socket/sendmsg.c (__sendmsg): Likewise.
9556         * socket/shutdown.c (shutdown): Likewise.
9557         * socket/sockatmark.c (sockatmark): Likewise.
9558         * socket/socket.c (__socket): Likewise.
9559         * stdio-common/ctermid.c (ctermid): Likewise.
9560         * stdio-common/cuserid.c (cuserid): Likewise.
9561         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9562         * stdio-common/remove.c (remove): Likewise.
9563         * stdio-common/rename.c (rename): Likewise.
9564         * stdio-common/renameat.c (renameat): Likewise.
9565         * stdio-common/tempname.c (__gen_tempname): Likewise.
9566         * stdio-common/xbug.c (InitBuffer): Likewise.
9567         (AppendToBuffer): Likewise.
9568         (ReadFile): Likewise.
9569         * stdlib/a64l.c (a64l): Likewise.
9570         * stdlib/drand48_r.c (drand48_r): Likewise.
9571         * stdlib/getcontext.c (getcontext): Likewise.
9572         * stdlib/getenv.c (getenv): Likewise.
9573         * stdlib/l64a.c (l64a): Likewise.
9574         * stdlib/llabs.c (llabs): Likewise.
9575         * stdlib/lldiv.c (lldiv): Likewise.
9576         * stdlib/lrand48_r.c (lrand48_r): Likewise.
9577         * stdlib/mrand48_r.c (mrand48_r): Likewise.
9578         * stdlib/putenv.c (putenv): Likewise.
9579         * stdlib/random.c (__srandom): Likewise.
9580         (__initstate): Likewise.
9581         (__setstate): Likewise.
9582         * stdlib/random_r.c (__srandom_r): Likewise.
9583         (__setstate_r): Likewise.
9584         (__random_r): Likewise.
9585         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9586         * stdlib/setcontext.c (setcontext): Likewise.
9587         * stdlib/setenv.c (setenv): Likewise.
9588         (unsetenv): Likewise.
9589         * stdlib/srand48.c (srand48): Likewise.
9590         * stdlib/srand48_r.c (__srand48_r): Likewise.
9591         * stdlib/swapcontext.c (swapcontext): Likewise.
9592         * stdlib/system.c (__libc_system): Likewise.
9593         * stdlib/tst-strtod.c (expand): Likewise.
9594         * stdlib/tst-strtol.c (expand): Likewise.
9595         * stdlib/tst-strtoll.c (expand): Likewise.
9596         * streams/fattach.c (fattach): Likewise.
9597         * streams/fdetach.c (fdetach): Likewise.
9598         * streams/getmsg.c (getmsg): Likewise.
9599         * streams/isastream.c (isastream): Likewise.
9600         * string/ffs.c (__ffs): Likewise.
9601         * string/ffsll.c (ffsll): Likewise.
9602         * string/memcmp.c (memcmp_common_alignment): Likewise.
9603         (memcmp_not_common_alignment): Likewise.
9604         (MEMCMP): Likewise.
9605         * string/memcpy.c (memcpy): Likewise.
9606         * string/memmove.c (MEMMOVE): Likewise.
9607         * string/memset.c (memset): Likewise.
9608         * string/rawmemchr.c (RAWMEMCHR): Likewise.
9609         * string/strchrnul.c (STRCHRNUL): Likewise.
9610         * string/strerror.c (strerror): Likewise.
9611         * string/strndup.c (__strndup): Likewise.
9612         * string/strverscmp.c (__strverscmp): Likewise.
9613         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9614         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9615         (clnttcp_freeres): Likewise.
9616         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9617         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9618         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9619         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9620         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9621         (xdr_callhdr): Likewise.
9622         * sunrpc/rpcinfo.c (udpping): Likewise.
9623         (tcpping): Likewise.
9624         (pstatus): Likewise.
9625         (pmapdump): Likewise.
9626         (brdcst): Likewise.
9627         (deletereg): Likewise.
9628         (getprognum): Likewise.
9629         (getvers): Likewise.
9630         (get_inet_address): Likewise.
9631         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9632         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9633         (svcudp_stat): Likewise.
9634         (svcudp_recv): Likewise.
9635         (svcudp_reply): Likewise.
9636         (svcudp_getargs): Likewise.
9637         (svcudp_freeargs): Likewise.
9638         (svcudp_destroy): Likewise.
9639         * sunrpc/xdr.c (xdr_bytes): Likewise.
9640         (xdr_netobj): Likewise.
9641         (xdr_string): Likewise.
9642         (xdr_wrapstring): Likewise.
9643         * sunrpc/xdr_float.c (xdr_float): Likewise.
9644         (xdr_double): Likewise.
9645         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9646         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9647         * sysvipc/ftok.c (ftok): Likewise.
9648         * sysvipc/msgctl.c (msgctl): Likewise.
9649         * sysvipc/msgget.c (msgget): Likewise.
9650         * sysvipc/msgrcv.c (msgrcv): Likewise.
9651         * sysvipc/msgsnd.c (msgsnd): Likewise.
9652         * sysvipc/semget.c (semget): Likewise.
9653         * sysvipc/semop.c (semop): Likewise.
9654         * sysvipc/shmat.c (shmat): Likewise.
9655         * sysvipc/shmctl.c (shmctl): Likewise.
9656         * sysvipc/shmdt.c (shmdt): Likewise.
9657         * sysvipc/shmget.c (shmget): Likewise.
9658         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9659         * termios/speed.c (cfgetospeed): Likewise.
9660         (cfgetispeed): Likewise.
9661         (cfsetospeed): Likewise.
9662         (cfsetispeed): Likewise.
9663         * termios/tcflow.c (tcflow): Likewise.
9664         * termios/tcflush.c (tcflush): Likewise.
9665         * termios/tcgetattr.c (__tcgetattr): Likewise.
9666         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9667         * termios/tcgetsid.c (tcgetsid): Likewise.
9668         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9669         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9670         * time/adjtime.c (__adjtime): Likewise.
9671         * time/dysize.c (dysize): Likewise.
9672         * time/ftime.c (ftime): Likewise.
9673         * time/getitimer.c (__getitimer): Likewise.
9674         * time/gettimeofday.c (__gettimeofday): Likewise.
9675         * time/gmtime.c (__gmtime_r): Likewise.
9676         (gmtime): Likewise.
9677         * time/localtime.c (__localtime_r): Likewise.
9678         (localtime): Likewise.
9679         * time/offtime.c (__offtime): Likewise.
9680         * time/settimeofday.c (__settimeofday): Likewise.
9681         * time/stime.c (stime): Likewise.
9682         * time/strftime_l.c (tm_diff): Likewise.
9683         (iso_week_days): Likewise.
9684         * time/strptime.c (strptime): Likewise.
9685         * time/time.c (time): Likewise.
9686         * time/timespec_get.c (timespec_get): Likewise.
9687         * time/tzset.c (tzset_internal): Likewise.
9688         (compute_change): Likewise.
9689         (__tz_compute): Likewise.
9690         * wcsmbs/btowc.c (__btowc): Likewise.
9691         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9692         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9693         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9694         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9695         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9696         * wcsmbs/wcscat.c (__wcscat): Likewise.
9697         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9698         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9699         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9700         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9701         * wcsmbs/wcsdup.c (wcsdup): Likewise.
9702         * wcsmbs/wcslen.c (__wcslen): Likewise.
9703         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9704         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9705         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9706         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9707         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9708         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9709         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9710         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9711         * wcsmbs/wcstok.c (wcstok): Likewise.
9712         * wcsmbs/wctob.c (wctob): Likewise.
9713         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9714         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9715         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9716         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9717         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9718         * wcsmbs/wmemset.c (__wmemset): Likewise.
9719         * wctype/wcfuncs.c (__towlower): Likewise.
9720         (__towupper): Likewise.
9722         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9723         (lll_unlock_elision): Add adapt_count parameter.
9725 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9727         * sysdeps/nptl/configure.ac: Do not give errors based on the
9728         results of top-level configure tests.
9729         * sysdeps/nptl/configure: Regenerated.
9731         * configure.ac (libc_cv_Bgroup): Remove configure test.
9732         * configure: Regenerated.
9733         * config.make.in (have-Bgroup): Remove variable.
9735         * configure.ac (sizeof_long_double): Remove configure test.
9736         * configure: Regenerated.
9737         * config.make.in (sizeof-long-double): Remove variable.
9739         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
9740         * configure: Regenerated.
9741         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
9742         variable.
9743         (exceptions): Likewise.
9744         * sysdeps/arm/configure: Regenerated.
9745         * config.make.in (exceptions): Remove variable.
9746         * Makeconfig (uses-callbacks): Use -fexceptions instead of
9747         $(exceptions).
9748         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
9749         (CFLAGS-vdprintf_chk.c): Likewise.
9750         (CFLAGS-printf_chk.c): Likewise.
9751         (CFLAGS-fprintf_chk.c): Likewise.
9752         (CFLAGS-vprintf_chk.c): Likewise.
9753         (CFLAGS-vfprintf_chk.c): Likewise.
9754         (CFLAGS-gets_chk.c): Likewise.
9755         (CFLAGS-fgets_chk.c): Likewise.
9756         (CFLAGS-fgets_u_chk.c): Likewise.
9757         (CFLAGS-fread_chk.c): Likewise.
9758         (CFLAGS-fread_u_chk.c): Likewise.
9759         (CFLAGS-wprintf_chk.c): Likewise.
9760         (CFLAGS-fwprintf_chk.c): Likewise.
9761         (CFLAGS-vwprintf_chk.c): Likewise.
9762         (CFLAGS-vfwprintf_chk.c): Likewise.
9763         (CFLAGS-fgetws_chk.c): Likewise.
9764         (CFLAGS-fgetws_u_chk.c): Likewise.
9765         * libio/Makefile (CFLAGS-fileops.c): Likewise.
9766         (CFLAGS-fputc.c): Likewise.
9767         (CFLAGS-fputwc.c): Likewise.
9768         (CFLAGS-freopen64.c): Likewise.
9769         (CFLAGS-freopen.c): Likewise.
9770         (CFLAGS-fseek.c): Likewise.
9771         (CFLAGS-fseeko64.c): Likewise.
9772         (CFLAGS-fseeko.c): Likewise.
9773         (CFLAGS-ftello64.c): Likewise.
9774         (CFLAGS-ftello.c): Likewise.
9775         (CFLAGS-fwide.c): Likewise.
9776         (CFLAGS-genops.c): Likewise.
9777         (CFLAGS-getc.c): Likewise.
9778         (CFLAGS-getchar.c): Likewise.
9779         (CFLAGS-getwc.c): Likewise.
9780         (CFLAGS-getwchar.c): Likewise.
9781         (CFLAGS-iofclose.c): Likewise.
9782         (CFLAGS-iofflush.c): Likewise.
9783         (CFLAGS-iofgetpos64.c): Likewise.
9784         (CFLAGS-iofgetpos.c): Likewise.
9785         (CFLAGS-iofgets.c): Likewise.
9786         (CFLAGS-iofgetws.c): Likewise.
9787         (CFLAGS-iofputs.c): Likewise.
9788         (CFLAGS-iofputws.c): Likewise.
9789         (CFLAGS-iofread.c): Likewise.
9790         (CFLAGS-iofsetpos64.c): Likewise.
9791         (CFLAGS-iofsetpos.c): Likewise.
9792         (CFLAGS-ioftell.c): Likewise.
9793         (CFLAGS-iofwrite.c): Likewise.
9794         (CFLAGS-iogetdelim.c): Likewise.
9795         (CFLAGS-iogetline.c): Likewise.
9796         (CFLAGS-iogets.c): Likewise.
9797         (CFLAGS-iogetwline.c): Likewise.
9798         (CFLAGS-ioputs.c): Likewise.
9799         (CFLAGS-ioseekoff.c): Likewise.
9800         (CFLAGS-ioseekpos.c): Likewise.
9801         (CFLAGS-iosetbuffer.c): Likewise.
9802         (CFLAGS-iosetvbuf.c): Likewise.
9803         (CFLAGS-ioungetc.c): Likewise.
9804         (CFLAGS-ioungetwc.c): Likewise.
9805         (CFLAGS-oldfileops.c): Likewise.
9806         (CFLAGS-oldiofclose.c): Likewise.
9807         (CFLAGS-oldiofgetpos64.c): Likewise.
9808         (CFLAGS-oldiofgetpos.c): Likewise.
9809         (CFLAGS-oldiofsetpos64.c): Likewise.
9810         (CFLAGS-oldiofsetpos.c): Likewise.
9811         (CFLAGS-peekc.c): Likewise.
9812         (CFLAGS-putc.c): Likewise.
9813         (CFLAGS-putchar.c): Likewise.
9814         (CFLAGS-putwc.c): Likewise.
9815         (CFLAGS-putwchar.c): Likewise.
9816         (CFLAGS-rewind.c): Likewise.
9817         (CFLAGS-wfileops.c): Likewise.
9818         (CFLAGS-wgenops.c): Likewise.
9819         (CFLAGS-oldiofopen.c): Likewise.
9820         (CFLAGS-iofopen.c): Likewise.
9821         (CFLAGS-iofopen64.c): Likewise.
9822         (CFLAGS-oldtmpfile.c): Likewise.
9823         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
9824         (CFLAGS-fprintf.c): Likewise.
9825         (CFLAGS-printf.c): Likewise.
9826         (CFLAGS-vfwprintf.c): Likewise.
9827         (CFLAGS-vfscanf.c): Likewise.
9828         (CFLAGS-vfwscanf.c): Likewise.
9829         (CFLAGS-fscanf.c): Likewise.
9830         (CFLAGS-scanf.c): Likewise.
9831         (CFLAGS-isoc99_vfscanf.c): Likewise.
9832         (CFLAGS-isoc99_vscanf.c): Likewise.
9833         (CFLAGS-isoc99_fscanf.c): Likewise.
9834         (CFLAGS-isoc99_scanf.c): Likewise.
9835         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
9836         (CFLAGS-isoc99_fwscanf.c): Likewise.
9837         (CFLAGS-isoc99_vwscanf.c): Likewise.
9838         (CFLAGS-isoc99_vfwscanf.c): Likewise.
9840         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
9841         after mkstemp64.
9842         * login/tst-utmp.c (do_prepare): Likewise.
9843         * rt/tst-aio.c (do_prepare): Likewise.
9844         * rt/tst-aio64.c (do_prepare): Likewise.
9846 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9848         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9849         (__lll_lock_elision): Remove adapt_count decrement...
9850         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9851         (__lll_trylock_elision): Likewise.
9852         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9853         (__lll_unlock_elision): ... to here. And utilize
9854         new adapt_count parameter.
9855         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9856         (__lll_unlock_elision): Update to include adapt_count
9857         parameter.
9858         (lll_unlock_elision): Pass pointer to adapt_count
9859         variable.
9861 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9863         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
9864         Add elision adapt_count parameter to list of arguments.
9865         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9866         (lll_unlock_elision): Update with new parameter list
9867         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9868         (lll_unlock_elision): Likewise.
9869         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
9870         (lll_unlock_elision): Likewise.
9872 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9874         [BZ #19122]
9875         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
9876         attribute_hidden.
9878         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
9879         attribute_hidden.
9880         [IS_IN (rtld)] (__strdup): Likewise.
9881         [IS_IN (rtld)] (__strerror_r): Likewise.
9882         [IS_IN (rtld)] (__strsep_g): Likewise.
9883         [IS_IN (rtld)] (memchr): Likewise.
9884         [IS_IN (rtld)] (memcmp): Likewise.
9885         [IS_IN (rtld)] (memcpy): Likewise.
9886         [IS_IN (rtld)] (memmove): Likewise.
9887         [IS_IN (rtld)] (memset): Likewise.
9888         [IS_IN (rtld)] (rawmemchr): Likewise.
9889         [IS_IN (rtld)] (stpcpy): Likewise.
9890         [IS_IN (rtld)] (strchr): Likewise.
9891         [IS_IN (rtld)] (strcmp): Likewise.
9892         [IS_IN (rtld)] (strlen): Likewise.
9893         [IS_IN (rtld)] (strnlen): Likewise.
9894         [IS_IN (rtld)] (strsep): Likewise.
9896         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
9897         attribute_hidden.
9898         [IS_IN (rtld)] (__strtoul_internal): Likewise.
9900         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
9901         attribute_hidden.
9902         [IS_IN (rtld)] (__libc_sigaction): Likewise.
9904         * include/setjmp.h (__longjmp): Add attribute_hidden.
9905         [IS_IN (rtld)] (__sigsetjmp): Likewise.
9907         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
9908         Add attribute_hidden.
9910         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
9911         [IS_IN (rtld)] (__open): Likewise.
9912         [IS_IN (rtld)] (__fcntl): Likewise.
9914         * include/dirent.h (__opendirat): Add attribute_hidden.
9915         (__getdents): Likewise.
9916         (__getdents64): Likewise.
9917         (__alloc_dir): Likewise.
9918         [IS_IN (rtld)] (__closedir): Likewise.
9919         [IS_IN (rtld)] (__fdopendir): Likewise.
9920         [IS_IN (rtld)] (__readdir): Likewise.
9921         [IS_IN (rtld)] (__readdir64): Likewise.
9922         [IS_IN (rtld)] (__rewinddir): Likewise.
9924         * include/dlfcn.h (_dl_catch_error): Moved to ...
9925         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
9926         attribute_hidden.
9928         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
9929         (_itoa_word): Likewise.
9931         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
9932         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9933         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9934         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
9935         (_dl_higher_prime_number): Likewise.
9936         (_dl_debug_printf_c): Likewise.
9937         (_dl_signal_cerror): Likewise.
9938         (_dl_receive_error): Likewise.
9939         (_dl_reloc_bad_type): Likewise.
9940         (_dl_resolve_conflicts): Likewise.
9941         (_dl_check_all_versions): Likewise.
9942         (_dl_check_map_versions): Likewise.
9943         (_dl_sort_fini): Likewise.
9944         (_dl_debug_initialize): Likewise.
9945         (_dl_init_paths): Likewise.
9946         (_dl_show_auxv): Likewise.
9947         (_dl_next_ld_env_entry): Likewise.
9948         (_dl_important_hwcaps): Likewise.
9949         (_dl_load_cache_lookup): Likewise.
9950         (_dl_update_slotinfo): Likewise.
9951         (_dl_show_scope): Likewise.
9953         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9954         attribute_hidden.
9955         (_wordcopy_fwd_dest_aligned): Likewise.
9956         (_wordcopy_bwd_aligned): Likewise.
9957         (_wordcopy_bwd_dest_aligned): Likewise.
9959         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9960         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9961         Likewise.
9962         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9963         Likewise.
9964         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9966 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9968         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9969         GCC 5 requirement.
9971 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9973         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9974         test.
9975         * sysdeps/i386/configure: Regenerated.
9976         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9977         code unconditional.
9979         * configure.ac (libc_cv_asm_previous_directive): Remove configure
9980         test.
9981         (libc_cv_asm_popsection_directive): Likewise.
9982         * configure: Regenerated.
9983         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9984         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9985         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9986         (__make_section_unallocated): Make definition unconditional.
9987         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9988         Remove conditional definition.
9989         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9990         (__make_section_unallocated): Likewise.
9992         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9993         * configure: Regenerated.
9994         * config.make.in (static-libgcc): Remove variable.
9995         * Makerules (build-shlib-helper): Use -static-libgcc instead of
9996         $(static-libgcc).
9997         (build-module-helper): Likewise.
9999         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10000         * configure: Regenerated.
10002 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10004         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10005         (struct char_buffer): New type.
10006         (char_buffer_start, char_buffer_size, char_buffer_error)
10007         (char_buffer_rewind, char_buffer_add): New functions.
10008         (ADDW): Remove macro, replaced by the char_buffer_add function.
10009         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10010         of extend_alloca.  Make control flow more explicit.
10012 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10014         [BZ #19137]
10015         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10016         Add -fomit-frame-pointer.
10017         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10019 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10021         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10022         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10023         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10024         only if !__GNUC_PREREQ (5,0).
10025         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10026         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10027         (INTERNAL_SYSCALL_NCS): Likewise.
10028         (LOADREGS_0): New macro for GCC 5.
10029         (ASMARGS_0): Likewise.
10030         (LOADREGS_1): Likewise.
10031         (ASMARGS_1): Likewise.
10032         (LOADREGS_2): Likewise.
10033         (ASMARGS_2): Likewise.
10034         (LOADREGS_3): Likewise.
10035         (ASMARGS_3): Likewise.
10036         (LOADREGS_4): Likewise.
10037         (ASMARGS_4): Likewise.
10038         (LOADREGS_5): Likewise.
10039         (ASMARGS_5): Likewise.
10040         (LOADREGS_6): Likewise.
10041         (ASMARGS_6): Likewise.
10043 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10045         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10046         -fomit-frame-pointer.
10047         (CFLAGS-mmap64.c): Likewise.
10048         (CFLAGS-semtimedop.c): Likewise.
10049         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10050         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10051         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10052         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10054 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10056         [BZ #18928]
10057         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10058         _dl_pointer_guard member.
10059         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10060         initializer.
10061         (security_init): Always set up pointer guard.
10062         (process_envvars): Do not process LD_POINTER_GUARD.
10064 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10066         [BZ #19134]
10067         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10068         (.LC2): Likewise.
10069         (.LC3): Likewise.
10070         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10072 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10074         [BZ #19129]
10075         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10076         r0 and r1.
10078 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10080         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10082 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10084         * include/stap-probe.h: Fix macro definition formatting.
10086 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10088         [BZ #19074]
10089         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10090         load and store num_ifs.
10092 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10094         [BZ #18822]
10095         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10096         (__sched_getaffinity_new): Add libc_hidden_proto and
10097         libc_hidden_def.
10099 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10101         [BZ #19007]
10102         * scripts/localplt.awk: Also allow GOT references.
10103         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10104         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10105         with "+ REL R_386_GLOB_DAT".
10106         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10107         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10109 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10111         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10112         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10113         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10114         Likewise.
10115         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10116         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10117         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10118         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10119         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10120         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10121         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10122         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10123         Likewise.
10124         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10126 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10128         [BZ #19125]
10129         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10130         <math_private.h> and <stdint.h>.
10131         (__llround): Avoid conversions to and from long long int, and
10132         subtractions, where those might raise spurious exceptions.
10133         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10134         <math_private.h> and <stdint.h>.
10135         (__llroundf): Avoid conversions to and from long long int, and
10136         subtractions, where those might raise spurious exceptions.
10138 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10140         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10141         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10142         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10143         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10144         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10145         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10146         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10147         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10148         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10149         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10150         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10151         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10152         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10153         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10154         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10155         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10156         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10157         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10158         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10159         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10160         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10161         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10162         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10163         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10164         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10165         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10166         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10167         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10168         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10169         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10170         (__xstat64_conv): Likewise.
10171         (__xstat32_conv): Likewise.
10173 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10175         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10176         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10177         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10178         <sysdeps/unix/sysv/linux/sysdep.h>.
10179         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10180         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10181         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10182         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10183         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10184         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10185         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10186         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10187         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10190         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10191         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10192         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10193         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10194         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10195         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10196         (sysdep-dl-routines): Add sysdep.
10197         [$(subdir) == nptl] (libpthread-routines): Likewise.
10198         [$(subdir) == rt] (librt-routines): Likewise.
10199         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10200         PIC when branching to SYSCALL_ERROR_LABEL.
10201         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10202         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10203         <sysdeps/unix/sysv/linux/sysdep.h>.
10204         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10205         (SYSCALL_ERROR_ERRNO): Removed.
10206         (SYSCALL_ERROR_HANDLER): Changed to empty.
10207         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10208         (__syscall_error): New prototype.
10209         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10210         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10212 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10214         [BZ #19124]
10215         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10216         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10217         _dl_runtime_resolve_avx.
10218         (_dl_runtime_profile_avx512): Make it a hidden alias of
10219         _dl_runtime_profile_avx.
10221 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10223         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10224         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10225         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10226         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10228         [BZ #16422]
10229         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10230         New configure test.
10231         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10232         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10233         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10234         <math_private.h> and <stdint.h>.
10235         (__llrint): Avoid conversions to long long int where those might
10236         raise spurious exceptions.
10237         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10238         <math_private.h> and <stdint.h>.
10239         (__llrintf): Avoid conversions to long long int where those might
10240         raise spurious exceptions.
10242 2015-10-12  Andreas Schwab  <schwab@suse.de>
10244         [BZ #18969]
10245         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10246         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10247         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10248         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10249         $(gen-locales).
10250         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10251         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10252         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10253         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10254         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10255         $(gen-locales).
10256         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10257         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10258         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10259         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10260         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10261         ($(objpfx)tst-ftell-active-handler.out)
10262         ($(objpfx)tst-ftell-append.out)
10263         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10264         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10265         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10266         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10267         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10268         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10269         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10270         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10271         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10272         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10273         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10274         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10275         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10276         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10277         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10278         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10279         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10280         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10281         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10282         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10283         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10284         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10285         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10286         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10287         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10288         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10289         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10290         $(gen-locales).
10291         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10292         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10293         $(gen-locales).
10294         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10295         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10296         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10297         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10298         $(gen-locales).
10299         * libio/tst_wprintf2.c (main): Use explicit locale.
10300         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10302 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10304         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10305         __msg_sig_post.
10306         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10308 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10310         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10311         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10313         * sysdeps/arm/libm-test-ulps: Regenerated.
10315         [BZ #15470]
10316         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10318         [BZ #16399]
10319         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10320         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10321         and <fix-fp-int-convert-overflow.h>.
10322         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10323         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10324         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10325         and <fix-fp-int-convert-overflow.h>.
10326         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10327         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10328         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10329         <fix-fp-int-convert-overflow.h>.
10330         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10331         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10332         * sysdeps/ieee754/dbl-64/s_lround.c: Include
10333         <fix-fp-int-convert-overflow.h>.
10334         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10335         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10336         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10337         and <fix-fp-int-convert-overflow.h>.
10338         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10339         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10340         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10341         <limits.h> and <fix-fp-int-convert-overflow.h>.
10342         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10343         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10344         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10345         and <fix-fp-int-convert-overflow.h>.
10346         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10347         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10348         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10349         and <fix-fp-int-convert-overflow.h>.
10350         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10351         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10352         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10354 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
10356         [BZ #18589]
10357         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10358         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10359         $(gen-locales).
10361 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10362             Phil Blundell <pb@pbcl.net>
10364         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10365         * nptl/tst-cancel26.c: New file.
10366         * nptl/tst-cancel27.c: Likewise.
10368 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
10370         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10371         __ILP32__ isn't defined.
10372         (lrint): Likewise.
10373         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10374         (lrintf): Likewise.
10375         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10376         (lrintl): Likewise.
10377         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10378         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10379         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10381 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10383         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10384         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10386         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10387         file.
10388         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10389         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10391 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10393         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10394         configure test.
10395         * sysdeps/i386/configure: Regenerated.
10396         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10397         configure test.
10398         * sysdeps/x86_64/configure: Regenerated.
10399         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10400         Make code unconditional.
10402         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10403         test.
10404         * sysdeps/i386/configure: Regenerated.
10405         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10406         test.
10407         * sysdeps/x86_64/configure: Regenerated.
10408         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10409         Make code unconditional.
10410         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10411         Likewise.
10412         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10413         Likewise.
10414         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10415         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10416         code unconditional.
10417         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10418         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10419         code unconditional.
10420         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10421         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10422         code unconditional.
10423         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10424         code unconditional.
10425         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10426         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10427         code unconditional.
10428         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10429         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10430         code unconditional.
10431         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10432         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10433         code unconditional.
10434         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10435         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10436         code unconditional.
10437         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10438         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10440         [BZ #19095]
10441         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10442         mantissa to long int before shifting left.
10444 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10446         [BZ #19094]
10447         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10448         <limits.h>.
10449         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10450         when result overflows but exception would not result from cast.
10451         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10452         <limits.h>.
10453         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10454         when result overflows but exception would not result from cast.
10455         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10456         <limits.h>.
10457         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10458         when result overflows but exception would not result from cast.
10459         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10460         <limits.h>.
10461         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10462         when result overflows but exception would not result from cast.
10463         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10464         <limits.h>.
10465         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10466         when result overflows but exception would not result from cast.
10467         * math/libm-test.inc (lrint_test_data): Add more tests.
10468         (llrint_test_data): Likewise.
10470 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10472         [BZ #18872]
10473         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10474         Move out from under [$(run-built-tests) = yes] conditional.
10475         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10476         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10478 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
10480         [BZ #18589]
10481         * string/Makefile (tests): Add bug-strcoll2.
10482         (LOCALES): Add cs_CZ.UTF-8.
10483         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10485         [BZ #18589]
10486         * string/bug-strcoll2.c: New file.
10487         * locale/categories.def: Revert commit
10488         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10489         * locale/langinfo.h: Likewise.
10490         * locale/localeinfo.h: Likewise.
10491         * locale/C-collate.c: Likewise.
10492         * locale/programs/ld-collate.c (collate_output): Likewise.
10493         * string/strcoll_l.c (STRDIFF): Likewise.
10494         (STRCOLL): Likewise.
10495         * wcsmbs/wcscoll_l.c: Likewise.
10497 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10499         * math/libm-test.inc (lround_test_data): Do not expect the absence
10500         of "inexact" for some tests with non-integer arguments.
10501         (llround_test_data): Likewise.
10503         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10504         test.
10505         (libc_cv_cc_sse2avx): Likewise.
10506         * sysdeps/i386/configure: Regenerated.
10507         * sysdeps/i386/i686/multiarch/Makefile
10508         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10509         [$(subdir) = math].
10510         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10511         code unconditional.
10512         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10513         Likewise.
10514         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10515         Likewise.
10516         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10517         Likewise.
10518         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10519         test.
10520         (libc_cv_cc_sse2avx): Likewise.
10521         * sysdeps/x86_64/configure: Regenerated.
10522         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10523         unconditional.
10524         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10525         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10526         unconditional.
10527         (_dl_runtime_profile)
10528         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10529         conditional code.
10530         * sysdeps/x86_64/fpu/multiarch/Makefile
10531         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10532         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10533         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10534         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10535         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10536         * sysdeps/x86_64/fpu/multiarch/e_log.c
10537         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10538         * sysdeps/x86_64/fpu/multiarch/s_atan.c
10539         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10540         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10541         Likewise.
10542         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10543         Likewise.
10544         * sysdeps/x86_64/fpu/multiarch/s_sin.c
10545         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10546         * sysdeps/x86_64/fpu/multiarch/s_tan.c
10547         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10548         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10549         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10550         (HAVE_SSE2AVX_SUPPORT): Likewise.
10552 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
10554         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10555         instead of #pragma optimize.
10557 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10559         [BZ #17195]
10560         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10561         as is similarly done in systrim and _int_free already.
10563 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10565         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10567 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10569         [BZ #19088]
10570         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10571         <limits.h>.
10572         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10573         overflows but exception would not result from cast.
10574         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10575         and <limits.h>.
10576         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10577         overflows but exception would not result from cast.
10578         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10579         <limits.h>.
10580         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10581         overflows but exception would not result from cast.
10582         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10583         <limits.h>.
10584         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10585         overflows but exception would not result from cast.
10586         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10587         <limits.h>.
10588         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10589         overflows but exception would not result from cast.
10590         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10591         <limits.h>.
10592         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10593         overflows but exception would not result from cast.
10594         * math/libm-test.inc (lround_test_data): Add more tests.
10595         (llround_test_data): Likewise.
10597 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
10599         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10600         (CFLAGS-ialloc.c): Ditto.
10601         (CFLAGS-scheck.c): Ditto.
10603 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10605         [BZ #19086]
10606         * manual/filesys.texi (Storage Allocation): Fix argument order for
10607         posix_fallocate64.
10609 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10611         [BZ #19085]
10612         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10613         exponent below 48 inside case for non-overflowing exponent.
10614         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10616 2015-10-07  Florian Weimer  <fweimer@redhat.com>
10618         * iconvdata/cp737.h (from_idx): Add const.
10619         * iconvdata/cp775.h (from_idx): Likewise.
10621 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10623         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10624         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10625         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10627         [BZ #19079]
10628         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10629         file, conditioned on [!_LP64].
10630         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10631         [!_LP64] (__lround): Do not define as function or alias.
10632         [!_LP64] (lround): Likewise.
10633         [!_LP64] (__lroundl): Likewise.
10634         [!_LP64] (lroundl): Likewise.
10635         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10636         macro.
10637         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10638         Likewise.
10640 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10642         * math/libm-test.inc (lrint_test_data): Add more tests.
10643         (llrint_test_data): Likewise.
10644         (lround_test_data): Likewise.
10645         (llround_test_data): Likewise.
10647         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10648         (llrint_test_data): Add tests used for lrint.
10650         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10651         test.
10652         * sysdeps/i386/configure: Regenerated.
10653         * sysdeps/i386/i686/multiarch/Makefile
10654         [$(config-cflags-sse4) = yes]: Make code unconditional.
10655         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10656         Likewise.
10657         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10658         Likewise.
10659         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10660         test.
10661         * sysdeps/x86_64/configure: Regenerated.
10662         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10663         Make code unconditional.
10664         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10665         Likewise.
10666         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10667         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10669         * scripts/rpm2dynsym.sh: Remove file.
10671 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10673         * configure.ac (libc_cv_cxx_thread_local): Define.
10674         * configure: Regenerate.
10675         * config.make.in (have-cxx-thread_local): Define.
10676         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10677         (LDLIBS-tst-thread_local1): Define.
10678         (tests): Add tst-thread_local1.
10679         [have-cxx-thread_local != yes] (tests-unsupported): Add
10680         tst-thread_local1.
10681         * nptl/tst-thread_local1.cc: New file.
10683 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10685         [BZ #19078]
10686         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10687         (u_thres): Likewise.
10688         (__expl): Determine whether to call __kernel_standard_l based on
10689         value of result, not argument.
10691         * math/libm-test.inc (scalb_test_data): Add more expectations for
10692         the "inexact" exception.
10694         [BZ #19077]
10695         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10696         0.0L for argument 1.0L.
10698         [BZ #19076]
10699         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10700         constant 0.0L when computing infinite result.
10702 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10704         [BZ #10432]
10705         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10706         malloc_usable_size.
10708 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10710         [BZ #19018]
10711         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10712         Mangle function pointer before storing it.
10713         (__call_tls_dtors): Demangle function pointer before calling it.
10715 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10717         [BZ #19012]
10718         * iconv/gconv_db.c (gen_steps): Check for additional errors.
10719         Clean up on failure.
10721 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
10723         [BZ #19071]
10724         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10725         long int variable to store possibly incremented high part of
10726         mantissa.
10727         * math/libm-test.inc (lround_test_data): Add tests used for
10728         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
10729         for tests requiring 64-bit long.  Do not condition tests on
10730         [TEST_FLOAT] unnecessarily.
10731         (llround_test_data): Add tests used for lround.  Add another
10732         expectation for the "inexact" exception.  Do not condition tests
10733         on [TEST_FLOAT] unnecessarily.
10735         [BZ #887]
10736         [BZ #19049]
10737         [BZ #19050]
10738         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
10739         * sysdeps/ieee754/dbl-64/e_log10.c: Include
10740         <fix-int-fp-convert-zero.h>.
10741         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10742         * sysdeps/ieee754/dbl-64/e_log2.c: Include
10743         <fix-int-fp-convert-zero.h>.
10744         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10745         * sysdeps/ieee754/dbl-64/s_erf.c: Include
10746         <fix-int-fp-convert-zero.h>.
10747         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10748         * sysdeps/ieee754/dbl-64/s_logb.c: Include
10749         <fix-int-fp-convert-zero.h>.
10750         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10751         * sysdeps/ieee754/flt-32/e_log10f.c: Include
10752         <fix-int-fp-convert-zero.h>.
10753         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10754         * sysdeps/ieee754/flt-32/e_log2f.c: Include
10755         <fix-int-fp-convert-zero.h>.
10756         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10757         * sysdeps/ieee754/flt-32/s_erff.c: Include
10758         <fix-int-fp-convert-zero.h>.
10759         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10760         * sysdeps/ieee754/flt-32/s_logbf.c: Include
10761         <fix-int-fp-convert-zero.h>.
10762         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10763         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
10764         <fix-int-fp-convert-zero.h>.
10765         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10766         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
10767         <fix-int-fp-convert-zero.h>.
10768         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10769         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
10770         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
10771         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
10772         file.
10773         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
10775 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10777         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10779 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
10781         [BZ #19059]
10782         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
10783         overflowing computation.
10784         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10785         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10786         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10787         Likewise.
10788         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10789         Likewise.
10790         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10791         Likewise.
10792         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10793         Likewise.
10794         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10795         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10796         Likewise.
10797         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10798         Likewise.
10799         * math/libm-test.inc (nexttoward_test_data): Add more tests.
10801         * nss/rewrite_field.c (__nss_rewrite_field): Use
10802         internal_function.
10803         * nss/valid_field.c (__nss_valid_field): Likewise.
10804         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
10806 2015-10-02  Florian Weimer  <fweimer@redhat.com>
10808         [BZ #18724]
10809         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
10810         (__nss_invalid_field_characters, __nss_valid_field)
10811         (__nss_valid_list_field, __nss_rewrite_field): Declare.
10812         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
10813         tst-field.c: New file.
10814         * nss/Makefile (routines): Add valid_field, rewrite_field.
10815         (tests-static): Define unconditionally.
10816         (tests): Include tests-static.
10817         [build-static-nss] (tests-static): Use append.
10818         [build-static-nss] (tests): Remove modification.
10819         * nss/getent.c (print_group): Call putgrent.  Report error.
10820         (print_gshadow): Call putsgent.  Report error.
10821         (print_passwd): Call putpwent.  Report error.
10822         (print_shadow): Call putspent.  Report error.
10823         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
10824         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
10825         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
10826         name, password, directory, shell fields for valid syntax.  Rewrite
10827         GECOS field to match syntax.
10828         * pwd/Makefile (tests): Add tst-putpwent.
10829         * pwd/tst-putpwent.c: New file.
10830         * grp/putgrent.c (putgrent): Convert to ISO function definition.
10831         Check grName, grpasswd, gr_mem fields for valid syntax.
10832         Change loop variable i to size_t.
10833         * grp/Makefile (tests): Add tst-putgrent.
10834         * grp/tst-putgrent.c: New file.
10835         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
10836         valid syntax.
10837         * shadow/Makefile (tests): Add tst-putspent.
10838         * shadow/tst-putspent.c: New file.
10839         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
10840         sg_mem fields for valid syntax.
10841         * gshadow/Makefile (tests): Add tst-putsgent.
10842         * gshadow/tst-putsgent.c: New file.
10844 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10846         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
10847         assembly instructions.
10849 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10851         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
10852         prefix from operands.
10854 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
10856         [BZ #16347]
10857         [BZ #19046]
10858         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
10859         <libc-internal.h>.
10860         (MAXLGM): Do not use diagnostic control macros.
10861         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
10862         threshold for ldbl-128ibm.
10863         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
10864         instead of multiplying by log then subtracting.
10865         * math/auto-libm-test-in: Add more tests of lgamma.
10866         * math/auto-libm-test-out: Regenerated.
10868         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
10869         (TYPE_HEX_DIG): Likewise.
10870         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
10871         precisions when printing floating-point numbers.
10872         (check_float_internal): Likewise.
10874 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10876         [BZ #16620]
10877         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
10878         of log (10) rounded downward to 48 bits.
10879         (log10_low): Use corresponding low part of log (10).
10881         [BZ #19032]
10882         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
10883         compute result as (x - x) / (x - x) not as 0 / 0.
10884         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10885         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
10887         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10888         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
10889         and expm1.
10890         * math/auto-libm-test-out: Regenerated.
10891         * math/libm-test.inc (acos_test_data): Add more tests.
10892         (asin_test_data): Likewise.
10893         (asinh_test_data): Likewise.
10894         (atan_test_data): Likewise.
10895         (atanh_test_data): Likewise.
10896         (atan2_test_data): Likewise.
10897         (cbrt_test_data): Likewise.
10898         (ceil_test_data): Likewise.
10899         (copysign_test_data): Likewise.
10900         (cos_test_data): Likewise.
10901         (cosh_test_data): Likewise.
10902         (erf_test_data): Likewise.
10903         (erfc_test_data): Likewise.
10904         (exp_test_data): Likewise.
10905         (exp10_test_data): Likewise.
10906         (exp2_test_data): Likewise.
10907         (expm1_test_data): Likewise.
10908         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10910 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
10912         [BZ #19006]
10913         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
10914         to ...
10915         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
10916         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
10917         to ...
10918         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
10919         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
10920         to ...
10921         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
10922         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
10923         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
10924         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
10925         to ...
10926         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
10927         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10928         Moved to ...
10929         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
10930         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10931         Moved to ...
10932         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
10933         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
10934         to ...
10935         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
10936         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10937         Moved to ...
10938         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
10939         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
10940         to ...
10941         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
10942         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10943         Removed.
10944         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10945         Likewise.
10946         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10947         Likewise.
10948         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10949         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10950         Likewise.
10951         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10952         Likewise.
10953         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10954         Likewise.
10955         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10956         Likewise.
10957         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10958         Likewise.
10959         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10960         Likewise.
10961         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10962         Likewise.
10963         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10964         Likewise.
10965         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10966         Likewise.
10967         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10968         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10969         Likewise.
10970         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10971         Likewise.
10972         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10973         Likewise.
10974         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10975         Likewise.
10976         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10977         Likewise.
10978         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10979         Replace ../i486/pthread_cond_timedwait.S with
10980         ../pthread_cond_timedwait.S.
10982 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10984         * math/libm-test.inc (acos_test_data): Refine expectations for
10985         errno and "inexact" exceptions.
10986         (acosh_test_data): Likewise.
10987         (asin_test_data): Likewise.
10988         (asinh_test_data): Likewise.
10989         (atan_test_data): Likewise.
10990         (atanh_test_data): Likewise.
10991         (atan2_test_data): Likewise.
10992         (cbrt_test_data): Likewise.
10993         (ceil_test_data): Likewise.
10994         (copysign_test_data): Likewise.
10995         (cosh_test_data): Likewise.
10996         (erf_test_data): Likewise.
10997         (erfc_test_data): Likewise.
10998         (exp_test_data): Likewise.
10999         (exp10_test_data): Likewise.
11000         (exp2_test_data): Likewise.
11001         (expm1_test_data): Likewise.
11002         (fabs_test_data): Likewise.
11003         (floor_test_data): Likewise.
11004         (fma_test_data): Likewise.
11005         (fmax_test_data): Likewise.
11006         (fmin_test_data): Likewise.
11007         (fmod_test_data): Likewise.
11008         (fpclassify_test_data): Likewise.
11009         (frexp_test_data): Likewise.
11010         (hypot_test_data): Likewise.
11011         (ilogb_test_data): Likewise.
11012         (isgreater_test_data): Likewise.
11013         (isgreaterequal_test_data): Likewise.
11014         (isinf_test_data): Likewise.
11015         (isless_test_data): Likewise.
11016         (islessequal_test_data): Likewise.
11017         (islessgreater_test_data): Likewise.
11018         (isnan_test_data): Likewise.
11019         (isnormal_test_data): Likewise.
11020         (issignaling_test_data): Likewise.
11021         (isunordered_test_data): Likewise.
11022         (j0_test_data): Likewise.
11023         (j1_test_data): Likewise.
11024         (jn_test_data): Likewise.
11025         (lgamma_test_data): Likewise.
11026         (lrint_test_data): Likewise.
11027         (llrint_test_data): Likewise.
11028         (log_test_data): Likewise.
11029         (log10_test_data): Likewise.
11030         (log1p_test_data): Likewise.
11031         (log2_test_data): Likewise.
11032         (logb_test_data): Likewise.
11033         (lround_test_data): Likewise.
11034         (llround_test_data): Likewise.
11035         (modf_test_data): Likewise.
11036         (nearbyint_test_data): Likewise.
11037         (nextafter_test_data): Likewise.
11038         (nexttoward_test_data): Likewise.
11039         (pow_test_data): Likewise.
11040         (remainder_test_data): Likewise.
11041         (remquo_test_data): Likewise.
11042         (rint_test_data): Likewise.
11043         (round_test_data): Likewise.
11044         (signbit_test_data): Likewise.
11045         (sinh_test_data): Likewise.
11046         (sqrt_test_data): Likewise.
11047         (tanh_test_data): Likewise.
11048         (tgamma_test_data): Likewise.
11049         (trunc_test_data): Likewise.
11050         (y0_test_data): Likewise.
11051         (y1_test_data): Likewise.
11052         (yn_test_data): Likewise.
11053         (significand_test_data): Likewise.
11055 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11057         * manual/filesys.texi (Storage Allocation): Document that
11058         posix_fallocate emulation fails when fd is open with O_WRONLY.
11060 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11062         [BZ #19016]
11063         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11064         allow more cases with X^2 + Y^2 >= 0.5.
11065         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11066         normal element in sum instead of special-casing based on values of
11067         arguments.
11068         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11069         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11070         -1 as normal element in sum instead of special-casing based on
11071         values of arguments.
11072         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11073         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11074         (__x2y2m1): Update comment.
11075         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11076         as normal element in sum instead of special-casing based on values
11077         of arguments.
11078         * math/s_clog.c (__clog): Handle more cases using log1p without
11079         hypot.
11080         * math/s_clog10.c (__clog10): Likewise.
11081         * math/s_clog10f.c (__clog10f): Likewise.
11082         * math/s_clog10l.c (__clog10l): Likewise.
11083         * math/s_clogf.c (__clogf): Likewise.
11084         * math/s_clogl.c (__clogl): Likewise.
11085         * math/auto-libm-test-in: Add more tests of clog and clog10.
11086         * math/auto-libm-test-out: Regenerated.
11087         * sysdeps/i386/fpu/libm-test-ulps: Update.
11088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11090 2015-09-28  Martin Sebor  <msebor@redhat.com>
11092         [BZ #18969]
11093         * string/Makefile (LOCALES): Define.
11094         (gen-locales.mk): Include.
11095         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11096         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11097         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11098         on setlocale failure.
11100 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11102         [BZ #18985]
11103         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11104         (__strftime_internal): Likewise.
11105         * time/tst-strftime.c (do_bz18985): New test.
11106         (do_test): Call it.
11108 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11110         [BZ #18956]
11111         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11112         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11113         extracting high part.
11114         * math/auto-libm-test-in: Add another test of pow.
11115         * math/auto-libm-test-out: Regenerated.
11116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11118 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11120         [BZ #18825]
11121         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11122         New macro.
11123         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11124         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11125         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11126         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11127         DBL_NARROW_EVAL, reloading the PIC register as needed.
11128         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11129         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11130         FLT_NARROW_EVAL.  Use separate return path for case when first
11131         argument is NaN.
11132         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11133         DEFINE_LDBL_MIN.
11134         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11135         PIC register.
11136         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11137         math_check_force_underflow_nonneg.
11138         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11139         underflow for subnormal result.
11140         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11141         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11142         math_check_force_underflow_nonneg.
11143         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11144         math_check_force_underflow.
11145         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11146         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11147         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11148         DEFINE_LDBL_MIN.
11149         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11150         * math/auto-libm-test-in: Add more tests of pow.
11151         * math/auto-libm-test-out: Regenerated.
11153 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11155         * nss/bug17079.c (init_test_items): Add diagnostic for
11156         inconsistent entries.
11157         (test_buffer_size): Skip inconsistent entries.
11159 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11161         [BZ #13304]
11162         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11163         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11164         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11166         [BZ #13304]
11167         * sysdeps/microblaze/s_fma.c: New file.
11168         * sysdeps/microblaze/s_fmaf.c: Likewise.
11169         * sysdeps/microblaze/sfp-machine.h: Likewise.
11171 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11173         [BZ #17250]
11174         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11175         member.
11177 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11179         [BZ #18803]
11180         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11181         (MO): New macro.
11182         (__ieee754_hypot) [PIC]: Load PIC register.
11183         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11184         DBL_NARROW_EVAL.
11185         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11186         math_check_force_underflow_nonneg in case where result might be
11187         tiny.
11188         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11189         Likewise.
11190         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11191         Likewise.
11192         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11193         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11194         * math/auto-libm-test-in: Add more tests of hypot.
11195         * math/auto-libm-test-out: Regenerated.
11197 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11199         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11201 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11203         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11204         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11205         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11206         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11207         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11208         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11209         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11211         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11212         LOAD_PIC_REG.
11214         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11215         (FLT_CHECK_FORCE_UFLOW): Likewise.
11216         (DBL_CHECK_FORCE_UFLOW): Likewise.
11217         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11218         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11219         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11220         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11221         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11222         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11223         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11224         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11225         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11226         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11227         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11228         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11229         (flt_min): Replace with use of DEFINE_FLT_MIN.
11230         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11231         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11232         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11233         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11234         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11235         (flt_min): Replace with use of DEFINE_FLT_MIN.
11236         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11237         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11238         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11239         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11240         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11241         (flt_min): Replace with use of DEFINE_FLT_MIN.
11242         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11243         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11244         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11245         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11246         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11247         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11248         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11249         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11250         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11251         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11252         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11253         (flt_min): Replace with use of DEFINE_FLT_MIN.
11254         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11255         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11256         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11257         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11258         main computation.
11259         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11260         (flt_min): Replace with use of DEFINE_FLT_MIN.
11261         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11262         main computation.
11263         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11264         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11265         (MO): New macro.
11266         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11267         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11268         (flt_min): Replace with use of DEFINE_FLT_MIN.
11269         (MO): New macro.
11270         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11271         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11272         (__log1pl): Use MO.
11274         [BZ #19003]
11275         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11276         $(config-cflags-nofma).
11278 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11280         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11282 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11284         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11285         (TWO127): Likewise.
11287         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11288         (min_of_type): Likewise.
11289         (math_check_force_underflow): Likewise.
11290         (math_check_force_underflow_nonneg): Likewise.
11291         (math_check_force_underflow_complex): Likewise.
11292         * math/e_exp2l.c (__ieee754_exp2l): Use
11293         math_check_force_underflow_nonneg.
11294         * math/k_casinh.c (__kernel_casinh): Likewise.
11295         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11296         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11297         * math/s_catan.c (__catan): Use
11298         math_check_force_underflow_complex.
11299         * math/s_catanf.c (__catanf): Likewise.
11300         * math/s_catanh.c (__catanh): Likewise.
11301         * math/s_catanhf.c (__catanhf): Likewise.
11302         * math/s_catanhl.c (__catanhl): Likewise.
11303         * math/s_catanl.c (__catanl): Likewise.
11304         * math/s_ccosh.c (__ccosh): Likewise.
11305         * math/s_ccoshf.c (__ccoshf): Likewise.
11306         * math/s_ccoshl.c (__ccoshl): Likewise.
11307         * math/s_cexp.c (__cexp): Likewise.
11308         * math/s_cexpf.c (__cexpf): Likewise.
11309         * math/s_cexpl.c (__cexpl): Likewise.
11310         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11311         * math/s_clog10.c (__clog10): Likewise.
11312         * math/s_clog10f.c (__clog10f): Likewise.
11313         * math/s_clog10l.c (__clog10l): Likewise.
11314         * math/s_clogf.c (__clogf): Likewise.
11315         * math/s_clogl.c (__clogl): Likewise.
11316         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11317         * math/s_csinf.c (__csinf): Likewise.
11318         * math/s_csinh.c (__csinh): Likewise.
11319         * math/s_csinhf.c (__csinhf): Likewise.
11320         * math/s_csinhl.c (__csinhl): Likewise.
11321         * math/s_csinl.c (__csinl): Likewise.
11322         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11323         * math/s_csqrtf.c (__csqrtf): Likewise.
11324         * math/s_csqrtl.c (__csqrtl): Likewise.
11325         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11326         * math/s_ctanf.c (__ctanf): Likewise.
11327         * math/s_ctanh.c (__ctanh): Likewise.
11328         * math/s_ctanhf.c (__ctanhf): Likewise.
11329         * math/s_ctanhl.c (__ctanhl): Likewise.
11330         * math/s_ctanl.c (__ctanl): Likewise.
11331         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11332         instead of volatile.
11333         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11334         math_check_force_underflow.
11335         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11336         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11337         volatile when forcing underflow.
11338         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11339         math_check_force_underflow_nonneg.
11340         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11341         Likewise.
11342         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11343         math_check_force_underflow.
11344         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11345         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11346         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11347         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11348         math_check_force_underflow_nonneg.
11349         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11350         math_check_force_underflow.
11351         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11352         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11353         instead of volatile.
11354         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11355         math_check_force_underflow.
11356         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11357         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11358         math_check_force_underflow_nonneg.
11359         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11360         math_check_force_underflow.
11361         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11362         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11363         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11364         math_check_force_underflow_nonneg.
11365         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11366         Likewise.
11367         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11368         math_check_force_underflow.
11369         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11370         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11371         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11372         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11373         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11374         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11375         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11376         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11377         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11378         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11379         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11380         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11381         Likewise.
11382         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11383         math_check_force_underflow_nonneg.
11384         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11385         Likewise.
11386         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11387         math_check_force_underflow.
11388         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11389         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11390         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11391         Likewise.
11392         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11393         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11394         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11395         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11396         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11397         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11398         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11399         instead of volatile.
11400         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11401         math_check_force_underflow.
11402         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11403         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11404         math_check_force_underflow.
11405         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11406         Likewise.
11407         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11408         Use math_check_force_underflow_nonneg.
11409         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11410         math_check_force_underflow.
11411         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11412         Likewise.
11413         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11414         Likewise.
11415         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11416         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11417         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11418         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11419         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11420         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11421         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11422         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11423         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11424         math_check_force_underflow_nonneg.
11425         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11426         math_check_force_underflow.
11427         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11428         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11429         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11430         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11431         math_check_force_underflow_nonneg.
11432         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11433         math_check_force_underflow.
11434         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11435         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11436         instead of volatile.
11437         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11438         math_check_force_underflow.
11440         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11441         * stdlib/strtod_l.c: Include <math_private.h>.
11442         (overflow_value): Use math_narrow_eval.
11443         (underflow_value): Likewise.
11444         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11445         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11446         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11447         (__ieee754_gamma_r): Likewise.
11448         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11449         Likewise.
11450         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11451         Likewise.
11452         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11453         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11454         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11455         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11456         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11457         (__ieee754_gammaf_r): Likewise.
11458         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11459         Likewise.
11460         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11461         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11462         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11463         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11464         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11465         volatile.
11466         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11467         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11468         math_narrow_eval.
11469         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11470         Likewise.
11471         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11472         Likewise.
11473         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11474         Likewise.
11475         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11476         volatile.
11477         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11478         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11479         math_narrow_eval.
11480         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11481         Likewise.
11482         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11483         Likewise.
11485 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
11487         * nptl/Versions: Remove ignored symbols.
11489 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11491         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
11492         * nss/Makefile (tests): Update.
11494 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11496         * nss/bug18287.c: New file.
11497         * nss/Makefile (tests): Add bug18287.
11499 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11501         * mach/Versions (__mach_host_self_): Add symbol.
11503 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11505         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11506         vm_page_size.
11508 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11510         Really fix sysdeps/i386/fpu/s_scalbn.S build
11512         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11513         (libc: GLIBC_2_22): Remove unused version set.
11515 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11517         * config.make.in (enable-timezone-tools): New variable.
11518         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11519         (enable_timezone_tools): Export to generated files.
11520         * configure: Regenerate.
11521         * INSTALL: Regenerate.
11522         * manual/install.texi (--disable-timezone-tools): Document new flag.
11523         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11524         ifeq ($(enable-timezone-tools),yes) check.
11526 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11528         * timezone/Makefile: Revert previous change.
11530         [BZ #18980]
11531         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11532         (DEFINE_DBL_MIN): Likewise.
11533         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11534         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11535         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11536         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11537         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11538         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11539         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11540         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11541         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11542         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11543         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11544         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11545         (flt_min): Replace with use of DEFINE_FLT_MIN.
11546         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11547         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11548         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11549         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11550         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11551         (flt_min): Replace with use of DEFINE_FLT_MIN.
11552         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11553         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11554         (flt_min): Replace with use of DEFINE_FLT_MIN.
11555         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11556         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11557         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11558         (__ieee754_hypot): Use DBL_NARROW_EVAL.
11559         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11560         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11561         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11562         (__ieee754_pow): Use DBL_NARROW_EVAL.
11563         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11564         (__ieee754_powf): Use FLT_NARROW_EVAL.
11565         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11566         (__ieee754_expf_sse2): Convert double-precision result to single
11567         precision.
11568         * sysdeps/i386/fpu/libm-test-ulps: Update.
11570 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11572         * timezone/Makefile: Ignore unused variable errors due to private.h
11573         (time_t_min) and (time_t_max).
11574         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
11575         Likewise.
11577 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11579         [BZ #18981]
11580         * sysdeps/i386/fpu/i386-math-asm.h: New file.
11581         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11582         (__ieee754_scalb): Use DBL_NARROW_EVAL.
11583         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11584         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11585         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11586         (__scalbn): Use DBL_NARROW_EVAL.
11587         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11588         (__scalbnf): Use FLT_NARROW_EVAL.
11590 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11592         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11593         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11594         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11595         * stdio-common/printf_fp.c (___printf_fp):
11596         Use signbit to get the sign. Use isinf macro to allow inlining.
11597         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11598         * stdio-common/printf_size.c (__printf_size): Likewise.
11600 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11602         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11604 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11606         [BZ #18980]
11607         * sysdeps/generic/math_private.h: Include <float.h>.
11608         (math_narrow_eval): New macro.
11609         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11610         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11611         math_narrow_eval on overflowing return value.
11612         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11613         Likewise.
11614         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11615         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11616         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11617         Likewise.
11618         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11620 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11622         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11623         * math/Makefile: Remove isinf_ns.c.
11624         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11625         * math/multc3.c (__multc3): Likewise.
11626         * math/s_casin.c (__casin): Likewise.
11627         * math/s_casinf.c (__casinf): Likewise.
11628         * math/s_casinl.c (__casinl): Likewise.
11629         * math/s_cproj.c (__cproj): Likewise.
11630         * math/s_cprojf.c (__cprojf): Likewise.
11631         * math/s_cprojl.c (__cprofl): Likewise.
11632         * math/s_ctan.c (__ctan): Likewise.
11633         * math/s_ctanf.c (__ctanf): Likewise.
11634         * math/s_ctanh.c (__ctanh): Likewise.
11635         * math/s_ctanhf.c (__ctanhf): Likewise.
11636         * math/s_ctanhl.c (__ctanhl): Likewise.
11637         * math/s_ctanl.c (__ctanl): Likewise.
11638         * math/w_fmod.c (__fmod): Likewise.
11639         * math/w_fmodf.c (__fmodf): Likewise.
11640         * math/w_fmodl.c (_fmodl): Likewise.
11641         * math/w_remainder.c (__remainder): Likewise.
11642         * math/w_remainderf.c (__remainderf): Likewise.
11643         * math/w_remainderl.c (__remainderl): Likewise.
11644         * math/w_scalb.c (__scalb): Likewise.
11645         * math/w_scalbf.c (__scalbf): Likewise.
11646         * math/w_scalbl.c (__scalbl): Likewise.
11647         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11648         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11649         with isinf.
11650         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11651         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11652         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11653         __isinf_nsf with isinf.
11654         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11655         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11656         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11657         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11658         with isinf.
11659         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11660         __isinf_nsl with isinf.
11661         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11662         with isinf.
11663         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11664         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11665         __isinf_nsl with isinf.
11666         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11667         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11668         with isinf.
11670 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11672         * resolv/base64.c (rcsid): Remove unused static.
11673         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11674         static.  (tqpi1): Likewise.
11675         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11676         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11677         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11678         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11679         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11680         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11681         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11682         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
11683         Likewise.
11685 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
11687         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11688         <nptl/pthreadP.h>.
11689         (_longjmp_unwind): Use __libc_ptf_call.
11690         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11692 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
11694         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11695         * sysdeps/arm/__longjmp.S: Likewise.
11697 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11699         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11700         Use __builtin_signbit.
11701         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11702         Use __builtin_signbitf.
11703         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11704         Use __builtin_signbitl.
11705         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11706         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11708 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11710         [BZ #15367]
11711         [BZ #17441]
11713         * math/Makefile: Build test-snan.c with -fsignaling-nans.
11714         * math/math.h (fpclassify): Use __builtin_fpclassify when
11715         available.  (signbit): Use __builtin_signbit(f/l).
11716         (isfinite): Use__builtin_isfinite.  (isnormal): Use
11717         __builtin_isnormal.  (isnan): Use __builtin_isnan.
11718         (isinf): Use __builtin_isinf_sign.
11720 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11722         * benchtests/Makefile: Add bench-math-inlines, link with libm.
11723         * benchtests/bench-math-inlines.c: New benchmark.
11724         * benchtests/bench-util.h: New file.
11725         * benchtests/bench-util.c: New file.
11726         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11728 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
11730         * elf/tst-dlmopen1.c: Define TEST_SO.
11731         (do_test): Use TEST_SO.
11733         * elf/dl-load.c: Include libc-internal.h.
11734         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11736 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11738         [BZ #17887]
11739         * time/strptime_l.c (__strptime_internal): Make %z accept
11740         [+-]HH:MM time zones.
11742 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11744         [BZ #17886]
11745         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
11746         valid time zone.
11748 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
11750         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
11751         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
11752         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11753         (__ASSUME_FDATASYNC): Delete.
11755 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11757         * conform/linknamespace.pl: Require weak undefined symbols to be
11758         in the standard namespace.
11759         (%strong_syms): Rename to %seen_syms.
11760         (%strong_seen): Rename to %seen_where.
11762 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
11764         [BZ #18970]
11765         * misc/error.c (error): Replace pthread_setcancelstate with
11766         __pthread_setcancelstate.
11767         (error_at_line): Likewise.
11768         * posix/wordexp.c (parse_comm): Likewise.
11769         * stdlib/fmtmsg.c (fmtmsg): Likewise.
11770         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
11771         (__pthread_setcancelstate): This.
11772         (pthread_setcancelstate): Add an alias.
11773         * nptl/nptl-init.c (pthread_functions): Replace
11774         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
11775         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
11776         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
11777         hidden_proto.
11778         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
11779         it with hidden_def.
11780         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
11781         (pthread_setcancelstate): Renamed to ...
11782         (__pthread_setcancelstate): This.
11783         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
11784         __libc_ptf_call with __pthread_setcancelstate.
11786 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11787             Andreas Schwab  <schwab@suse.de>
11789         [BZ #17118]
11790         * math/s_ctan.c (__ctan): Determine sign of zero real part of
11791         result when imaginary part of argument is infinite using sine and
11792         cosine.
11793         * math/s_ctanf.c (__ctanf): Likewise.
11794         * math/s_ctanl.c (__ctanl): Likewise.
11795         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
11796         of result when real part of argument is infinite using sine and
11797         cosine.
11798         * math/s_ctanhf.c (__ctanhf): Likewise.
11799         * math/s_ctanhl.c (__ctanhl): Likewise.
11800         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
11801         (ctanh_test_data): Add more tests of ctanh.
11803 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11805         [BZ #15384]
11806         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
11807         bit-mask as in subtraction.
11808         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
11809         Likewise.
11810         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11811         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11812         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
11814         [BZ #18951]
11815         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
11816         underflow exception for small results.
11817         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11818         Likewise.
11819         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11820         Likewise.
11821         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11822         Likewise.
11823         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11824         Likewise.
11825         * math/auto-libm-test-in: Add more tests of tgamma.
11826         * math/auto-libm-test-out: Regenerated.
11828 2015-09-17  Andreas Schwab  <schwab@suse.de>
11830         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
11832 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11834         [BZ #18977]
11835         * math/bits/mathcalls.h
11836         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
11837         not declare.
11838         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
11839         Likewise.
11840         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
11841         Likewise.
11842         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
11843         Likewise.
11844         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
11845         Likewise.
11846         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
11847         Likewise.
11848         * conform/data/math.h-data
11849         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
11850         function.
11851         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
11852         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
11853         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
11854         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
11855         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
11856         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
11857         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
11858         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
11859         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
11860         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
11861         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
11863         [BZ #6803]
11864         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
11865         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
11866         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
11867         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
11868         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
11869         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
11870         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
11871         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
11872         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11873         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
11874         Likewise.
11875         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11876         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
11877         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
11878         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
11879         long_double_symbol calls.
11880         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
11881         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
11882         strong alias of __ldexpl.
11883         (scalbnl): Define using long_double_symbol.
11884         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
11885         Remove alias.
11886         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
11887         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
11888         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
11889         (scalbln_test_data): Add more errno expectations.
11891 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
11893         Cache the host port like we cache the task port.  This way we do not
11894         need to call the kernel just to get the port.  Furthermore, we no
11895         longer increase the reference count on every invocation of
11896         `mach_host_self'.
11898         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
11899         Protect declarations against the macro expansion.
11900         * mach/mach_init.c (__mach_host_self_): New variable.
11901         (mach_init): Initialize `__mach_host_self_'.
11902         * mach/mach_init.h (__mach_host_self_): New declaration.
11903         (__mach_host_self, mach_host_self): New macros.
11904         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
11905         Release reference.
11907 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11909         [BZ #4404]
11910         * po/de.po: Update from Translation Project.
11912         [BZ #16415]
11913         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
11914         (__expm1l): Remove code to handle positive infinity and overflow.
11915         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
11916         variable.
11917         (__expm1l): Remove code to handle positive infinity and overflow.
11919 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
11920             Paul Pluzhnikov  <ppluzhnikov@google.com>
11922         [BZ #18872]
11923         * stdio-common/Makefile (tst-printf-bz18872): New test.
11924         (tst-printf-bz18872-mem.out): Likewise.
11925         * stdio-common/tst-printf-bz18872.sh: Generate new test.
11926         * stdio-common/vfprintf.c: Fix memory leaks.
11928 2015-09-16  Andreas Schwab  <schwab@suse.de>
11930         [BZ #17244]
11931         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
11932         Remove extra va_start/va_end calls.
11934         [BZ #17243]
11935         * posix/execl.c (execl): Add missing va_end.
11936         * posix/execle.c (execle): Likewise.
11937         * posix/execlp.c (execlp): Likewise.
11939 2015-09-15  Roland McGrath  <roland@hack.frob.com>
11941         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
11942         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11944 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
11946         [BZ #18967]
11947         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
11948         undefine around includes of <bits/mathcalls.h>.
11949         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11950         not declare function.
11951         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11952         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11953         (scalb): Likewise.
11954         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11955         not define macro.
11956         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11957         variable.
11958         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11959         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11960         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11962         [BZ #18857]
11963         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11964         return non-finite argument without doing ordered comparisons on
11965         it.
11967         [BZ #16296]
11968         * math/fenv.h (fegetround): Use __attribute_pure__.
11969         * include/fenv.h (__fegetround): Likewise.
11971         [BZ #18595]
11972         * math/s_ctan.c (__ctan): Force underflow exception for results
11973         whose real or imaginary part has small absolute value.
11974         * math/s_ctanf.c (__ctanf): Likewise.
11975         * math/s_ctanh.c (__ctanh): Likewise.
11976         * math/s_ctanhf.c (__ctanhf): Likewise.
11977         * math/s_ctanhl.c (__ctanhl): Likewise.
11978         * math/s_ctanl.c (__ctanl): Likewise.
11979         * math/auto-libm-test-in: Do not allow missing underflow for ctan
11980         and ctanh.  Add more tests of ctan and ctanh.
11982         [BZ #15918]
11983         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11984         handling of cases where one argument is an infinity.
11986         [BZ #18875]
11987         [BZ #18966]
11988         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11989         (MO): New macro.
11990         (__ieee754_exp10): For small results, force underflow exception
11991         and remove excess range and precision from return value.
11992         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11993         (MO): New macro.
11994         (__ieee754_exp10f): For small results, force underflow exception
11995         and remove excess range and precision from return value.
11996         * math/auto-libm-test-in: Add more tests of exp10.
11997         * math/auto-libm-test-out: Regenerated.
11999 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12001         [BZ #18875]
12002         [BZ #18961]
12003         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12004         (MO): New macro.
12005         (__ieee754_exp): For small results, force underflow exception and
12006         remove excess range and precision from return value.
12007         (__exp_finite): Likewise.
12008         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12009         (MO): New macro.
12010         (__ieee754_expf): For small results, force underflow exception and
12011         remove excess range and precision from return value.
12012         (__expf_finite): Likewise.
12013         * math/auto-libm-test-in: Add more tests of exp.
12014         * math/auto-libm-test-out: Regenerated.
12016         [BZ #16521]
12017         [BZ #18875]
12018         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12019         small results.
12020         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12021         (MO): New macro.
12022         (__ieee754_exp2): For small results, force underflow exception and
12023         remove excess range and precision from return value.
12024         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12025         (MO): New macro.
12026         (__ieee754_exp2f): For small results, force underflow exception
12027         and remove excess range and precision from return value.
12028         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12029         (MO): New macro.
12030         (__ieee754_exp2l): Force underflow exception for small results.
12031         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12032         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12033         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12034         (MO): New macro.
12035         (__ieee754_exp2l): Force underflow exception for small results.
12036         * math/auto-libm-test-in: Add more tests or exp2.
12037         * math/auto-libm-test-out: Regenerated.
12039 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12041         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12043         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12044         /dev/null.
12046 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12048         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12049         io fs process)): Drop spurious backslash.
12051 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12053         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12054         Use sysinfo system call instead of parsing /proc/meminfo.
12055         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12056         Likewise.
12058 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12060         [BZ #16985]
12061         * programs/localedef.c (main): Display argv[remaining] when
12062         output_path is NULL.
12064 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12066         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12067         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12068         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12069         tanh.
12070         * math/auto-libm-test-out: Regenerated.
12071         * sysdeps/i386/fpu/libm-test-ulps: Update.
12072         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12073         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12076 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12078         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12079         Use 'override' keyword to freeze the value here, preventing
12080         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12082 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12084         [BZ #14912]
12085         * sysdeps/aarch64/bits/atomic.h: Move to ...
12086         * sysdeps/aarch64/atomic-machine.h: ...here.
12087         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12088         _AARCH64_ATOMIC_MACHINE_H.
12089         * sysdeps/alpha/bits/atomic.h: Move to ...
12090         * sysdeps/alpha/atomic-machine.h: ...here.
12091         * sysdeps/arm/bits/atomic.h: Move to ...
12092         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12093         * bits/atomic.h: Move to ...
12094         * sysdeps/generic/atomic-machine.h: ...here.
12095         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12096         * sysdeps/i386/bits/atomic.h: Move to ...
12097         * sysdeps/i386/atomic-machine.h: ...here.
12098         * sysdeps/ia64/bits/atomic.h: Move to ...
12099         * sysdeps/ia64/atomic-machine.h: ...here.
12100         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12101         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12102         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12103         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12104         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12105         * sysdeps/microblaze/bits/atomic.h: Move to ...
12106         * sysdeps/microblaze/atomic-machine.h: ...here.
12107         * sysdeps/mips/bits/atomic.h: Move to ...
12108         * sysdeps/mips/atomic-machine.h: ...here.
12109         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12110         * sysdeps/powerpc/bits/atomic.h: Move to ...
12111         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12112         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12113         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12114         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12115         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12116         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12117         <atomic-machine.h> instead of <bits/atomic.h>.
12118         * sysdeps/s390/bits/atomic.h: Move to ...
12119         * sysdeps/s390/atomic-machine.h: ...here.
12120         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12121         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12122         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12123         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12124         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12125         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12126         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12127         * sysdeps/tile/bits/atomic.h: Move to ...
12128         * sysdeps/tile/atomic-machine.h: ...here.
12129         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12130         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12131         <sysdeps/tile/atomic-machine.h> instead of
12132         <sysdeps/tile/bits/atomic.h>.
12133         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12134         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12135         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12136         <sysdeps/tile/atomic-machine.h> instead of
12137         <sysdeps/tile/bits/atomic.h>.
12138         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12139         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12140         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12141         <sysdeps/arm/atomic-machine.h> instead of
12142         <sysdeps/arm/bits/atomic.h>.
12143         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12144         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12145         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12146         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12147         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12148         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12149         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12150         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12151         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12152         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12153         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12154         * sysdeps/x86_64/bits/atomic.h: Move to ...
12155         * sysdeps/x86_64/atomic-machine.h: ...here.
12156         * include/atomic.h: Include <atomic-machine.h> instead of
12157         <bits/atomic.h>.
12159         * sysdeps/mips/mips32/libm-test-ulps: Update.
12160         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12162         [BZ #18952]
12163         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12164         not convert non-integer negative arguments to int to determine the
12165         value of signgam.
12166         * math/auto-libm-test-in: Add more tests of lgamma.
12167         * math/auto-libm-test-out: Regenerated.
12169         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12170         cosh, csqrt, erfc, expm1 and lgamma.
12171         * math/auto-libm-test-out: Regenerated.
12172         * sysdeps/i386/fpu/libm-test-ulps: Update.
12173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12175 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12177         [BZ #2542]
12178         [BZ #2543]
12179         [BZ #2558]
12180         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12181         __lgamma_neg for arguments from -28.0 to -2.0.
12182         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12183         __lgamma_negf for arguments from -15.0 to -2.0.
12184         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12185         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12186         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12187         Call __lgamma_negl for arguments from -33.0 to -2.0.
12188         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12189         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12190         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12191         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12192         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12193         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12194         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12195         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12196         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12197         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12198         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12199         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12200         (__lgamma_neg): Likewise.
12201         (__lgamma_negl): Likewise.
12202         (__lgamma_product): Likewise.
12203         (__lgamma_productl): Likewise.
12204         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12205         * math/auto-libm-test-in: Add more tests of lgamma.
12206         * math/auto-libm-test-out: Regenerated.
12207         * sysdeps/i386/fpu/libm-test-ulps: Update.
12208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12210 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12212         [BZ #18675]
12213         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12215 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12217         [BZ #14912]
12218         * bits/libc-lock.h: Move to ...
12219         * sysdeps/generic/libc-lock.h: ...here.
12220         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12221         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12222         * sysdeps/mach/hurd/libc-lock.h: ...here.
12223         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12224         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12225         * sysdeps/mach/bits/libc-lock.h: Move to ...
12226         * sysdeps/mach/libc-lock.h: ...here.
12227         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12228         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12229         * sysdeps/nptl/libc-lock.h: ...here.
12230         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12231         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12232         * sysdeps/nptl/libc-lockP.h: ...here.
12233         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12234         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12235         <bits/libc-lock.h>.
12236         * dirent/scandir-tail.c: Likewise.
12237         * dlfcn/dlerror.c: Likewise.
12238         * elf/dl-close.c: Likewise.
12239         * elf/dl-iteratephdr.c: Likewise.
12240         * elf/dl-lookup.c: Likewise.
12241         * elf/dl-open.c: Likewise.
12242         * elf/dl-support.c: Likewise.
12243         * elf/dl-writev.h: Likewise.
12244         * elf/rtld.c: Likewise.
12245         * grp/fgetgrent.c: Likewise.
12246         * gshadow/fgetsgent.c: Likewise.
12247         * gshadow/sgetsgent.c: Likewise.
12248         * iconv/gconv_conf.c: Likewise.
12249         * iconv/gconv_db.c: Likewise.
12250         * iconv/gconv_dl.c: Likewise.
12251         * iconv/gconv_int.h: Likewise.
12252         * iconv/gconv_trans.c: Likewise.
12253         * include/link.h: Likewise.
12254         * inet/getnameinfo.c: Likewise.
12255         * inet/getnetgrent.c: Likewise.
12256         * inet/getnetgrent_r.c: Likewise.
12257         * intl/bindtextdom.c: Likewise.
12258         * intl/dcigettext.c: Likewise.
12259         * intl/finddomain.c: Likewise.
12260         * intl/gettextP.h: Likewise.
12261         * intl/loadmsgcat.c: Likewise.
12262         * intl/localealias.c: Likewise.
12263         * intl/textdomain.c: Likewise.
12264         * libidn/idn-stub.c: Likewise.
12265         * libio/libioP.h: Likewise.
12266         * locale/duplocale.c: Likewise.
12267         * locale/freelocale.c: Likewise.
12268         * locale/newlocale.c: Likewise.
12269         * locale/setlocale.c: Likewise.
12270         * login/getutent_r.c: Likewise.
12271         * login/getutid_r.c: Likewise.
12272         * login/getutline_r.c: Likewise.
12273         * login/utmp-private.h: Likewise.
12274         * login/utmpname.c: Likewise.
12275         * malloc/mtrace.c: Likewise.
12276         * misc/efgcvt.c: Likewise.
12277         * misc/error.c: Likewise.
12278         * misc/fstab.c: Likewise.
12279         * misc/getpass.c: Likewise.
12280         * misc/mntent.c: Likewise.
12281         * misc/syslog.c: Likewise.
12282         * nis/nis_call.c: Likewise.
12283         * nis/nis_callback.c: Likewise.
12284         * nis/nss-default.c: Likewise.
12285         * nis/nss_compat/compat-grp.c: Likewise.
12286         * nis/nss_compat/compat-initgroups.c: Likewise.
12287         * nis/nss_compat/compat-pwd.c: Likewise.
12288         * nis/nss_compat/compat-spwd.c: Likewise.
12289         * nis/nss_nis/nis-alias.c: Likewise.
12290         * nis/nss_nis/nis-ethers.c: Likewise.
12291         * nis/nss_nis/nis-grp.c: Likewise.
12292         * nis/nss_nis/nis-hosts.c: Likewise.
12293         * nis/nss_nis/nis-network.c: Likewise.
12294         * nis/nss_nis/nis-proto.c: Likewise.
12295         * nis/nss_nis/nis-pwd.c: Likewise.
12296         * nis/nss_nis/nis-rpc.c: Likewise.
12297         * nis/nss_nis/nis-service.c: Likewise.
12298         * nis/nss_nis/nis-spwd.c: Likewise.
12299         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12300         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12301         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12302         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12303         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12304         * nis/nss_nisplus/nisplus-network.c: Likewise.
12305         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12306         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12307         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12308         * nis/nss_nisplus/nisplus-service.c: Likewise.
12309         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12310         * nis/ypclnt.c: Likewise.
12311         * nptl/libc_pthread_init.c: Likewise.
12312         * nss/getXXbyYY.c: Likewise.
12313         * nss/getXXent.c: Likewise.
12314         * nss/getXXent_r.c: Likewise.
12315         * nss/nss_db/db-XXX.c: Likewise.
12316         * nss/nss_db/db-netgrp.c: Likewise.
12317         * nss/nss_db/nss_db.h: Likewise.
12318         * nss/nss_files/files-XXX.c: Likewise.
12319         * nss/nss_files/files-alias.c: Likewise.
12320         * nss/nsswitch.c: Likewise.
12321         * posix/regex_internal.h: Likewise.
12322         * posix/wordexp.c: Likewise.
12323         * pwd/fgetpwent.c: Likewise.
12324         * resolv/res_hconf.c: Likewise.
12325         * resolv/res_libc.c: Likewise.
12326         * shadow/fgetspent.c: Likewise.
12327         * shadow/lckpwdf.c: Likewise.
12328         * shadow/sgetspent.c: Likewise.
12329         * socket/opensock.c: Likewise.
12330         * stdio-common/reg-modifier.c: Likewise.
12331         * stdio-common/reg-printf.c: Likewise.
12332         * stdio-common/reg-type.c: Likewise.
12333         * stdio-common/vfprintf.c: Likewise.
12334         * stdio-common/vfscanf.c: Likewise.
12335         * stdlib/abort.c: Likewise.
12336         * stdlib/cxa_atexit.c: Likewise.
12337         * stdlib/fmtmsg.c: Likewise.
12338         * stdlib/random.c: Likewise.
12339         * stdlib/setenv.c: Likewise.
12340         * string/strsignal.c: Likewise.
12341         * sunrpc/auth_none.c: Likewise.
12342         * sunrpc/bindrsvprt.c: Likewise.
12343         * sunrpc/create_xid.c: Likewise.
12344         * sunrpc/key_call.c: Likewise.
12345         * sunrpc/rpc_thread.c: Likewise.
12346         * sysdeps/arm/backtrace.c: Likewise.
12347         * sysdeps/generic/ldsodefs.h: Likewise.
12348         * sysdeps/generic/stdio-lock.h: Likewise.
12349         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12350         * sysdeps/i386/backtrace.c: Likewise.
12351         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12352         * sysdeps/m68k/backtrace.c: Likewise.
12353         * sysdeps/mach/hurd/cthreads.c: Likewise.
12354         * sysdeps/mach/hurd/dirstream.h: Likewise.
12355         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12356         * sysdeps/nptl/malloc-machine.h: Likewise.
12357         * sysdeps/nptl/stdio-lock.h: Likewise.
12358         * sysdeps/posix/dirstream.h: Likewise.
12359         * sysdeps/posix/getaddrinfo.c: Likewise.
12360         * sysdeps/posix/system.c: Likewise.
12361         * sysdeps/pthread/aio_suspend.c: Likewise.
12362         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12363         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12364         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12365         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12366         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12367         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12368         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12369         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12370         * sysdeps/unix/sysv/linux/system.c: Likewise.
12371         * sysdeps/x86_64/backtrace.c: Likewise.
12372         * time/alt_digit.c: Likewise.
12373         * time/era.c: Likewise.
12374         * time/tzset.c: Likewise.
12375         * wcsmbs/wcsmbsload.c: Likewise.
12376         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12377         instead of <bits/libc-lock.h> in comment.
12379 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12381         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12382         Only use .set mips2 if the current ISA is below mips2.
12383         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12384         Likewise.
12385         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12386         mips32r2 if the current ISA is below mips32r2.
12387         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12388         (TLS_IE): Updated to use the TLD_RDHWR macro.
12389         (TLS_LE): Likewise.
12390         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12391         __ASSEMBLER__ condition.
12393 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12395         Fix parallel build of before-compile targets.
12397         * sysdeps/mach/Makefile ($(patsubst
12398         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12399         mach-before-compile target.
12400         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12401         io fs process)): Move rule to dedicated hurd-before-compile target.
12403 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12405         Fix rules generating headers in hurd/ and mach/ when initial make call
12406         has subdir= explicitly set.
12408         * sysdeps/mach/Makefile ($(patsubst
12409         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12410         calling $(MAKE).
12411         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12412         io fs process)): Force subdir to hurd when calling $(MAKE).
12413         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12414         subdir to mach when calling $(MAKE).
12416 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12418         Check sysheaders when looking for Mach and Hurd headers
12420         * sysdeps/mach/configure.ac: Add sysheaders check.
12421         * sysdeps/mach/configure: Regenerate.
12422         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12423         * sysdeps/mach/hurd/configure: Regenerate.
12425 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12427         [BZ #18921]
12428         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12429         Fix inverted sense of test of 'o_directory_works' value.
12430         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12431         Bernhard Voelker <mail@bernhard-voelker.de>.
12433 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12435         [BZ #14912]
12436         * bits/linkmap.h: Move to ...
12437         * sysdeps/generic/linkmap.h: ...here.
12438         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12439         * sysdeps/aarch64/linkmap.h: ...here.
12440         * sysdeps/arm/bits/linkmap.h: Move to ...
12441         * sysdeps/arm/linkmap.h: ...here.
12442         * sysdeps/hppa/bits/linkmap.h: Move to ...
12443         * sysdeps/hppa/linkmap.h: ...here.
12444         * sysdeps/ia64/bits/linkmap.h: Move to ...
12445         * sysdeps/ia64/linkmap.h: ...here.
12446         * sysdeps/mips/bits/linkmap.h: Move to ...
12447         * sysdeps/mips/linkmap.h: ...here.
12448         * sysdeps/s390/bits/linkmap.h: Move to ...
12449         * sysdeps/s390/linkmap.h: ...here.
12450         * sysdeps/sh/bits/linkmap.h: Move to ...
12451         * sysdeps/sh/linkmap.h: ...here.
12452         * sysdeps/x86/bits/linkmap.h: Move to ...
12453         * sysdeps/x86/linkmap.h: ...here.
12454         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12456 2015-09-04  Andreas Schwab  <schwab@suse.de>
12458         [BZ #18635]
12459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12460         (__makecontext): Terminate FDE before return label.
12461         (__novec_makecontext): Likewise.
12463 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12465         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12466         first member of struct sv in syscall macro.
12468 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12470         [BZ #14912]
12471         * bits/stdio-lock.h: Move to ...
12472         * sysdeps/generic/stdio-lock.h: ...here.
12473         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12474         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12475         * sysdeps/nptl/stdio-lock.h: ...here.
12476         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12477         * include/libio.h: Include <stdio-lock.h> instead of
12478         <bits/stdio-lock.h>.
12479         * sysdeps/nptl/fork.c: Likewise.
12480         * sysdeps/pthread/flockfile.c: Likewise.
12481         * sysdeps/pthread/ftrylockfile.c: Likewise.
12482         * sysdeps/pthread/funlockfile.c: Likewise.
12484         [BZ #14912]
12485         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12486         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12487         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12488         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12489         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12490         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12491         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12493 2015-09-03  Roland McGrath  <roland@hack.frob.com>
12495         * elf/Makefile (test-xfail-tst-protected1a): New variable.
12496         (test-xfail-tst-protected1b): New variable.
12498 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
12500         [BZ #14912]
12501         * bits/libc-tsd.h: Move to ...
12502         * sysdeps/generic/libc-tsd.h: ...here.
12503         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12504         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12505         * sysdeps/mach/hurd/libc-tsd.h: ...here.
12506         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12507         * include/ctype.h: Include <libc-tsd.h> instead of
12508         <bits/libc-tsd.h>.
12509         * include/rpc/rpc.h: Likewise.
12510         * locale/localeinfo.h: Likewise.
12511         * sunrpc/rpc_thread.c: Likewise.
12512         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12513         * sysdeps/nptl/malloc-machine.h: Likewise.
12515         * Makefile (headers): Remove bits/libc-lock.h.
12516         * libio/Makefile (headers): Remove bits/stdio-lock.h.
12518         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12519         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12520         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12521         <bits/stdio-lock.h>.
12522         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12523         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12525 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12527         [BZ #18757]
12528         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12529         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12530         BZ #18757.
12532 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12534         * malloc/mtrace.pl: Filter out NULL entries.
12536 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
12538         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12539         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12540         macro.
12542         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12543         (TCP_CC_INFO): Likewise.
12544         (TCP_SAVE_SYN): Likewise.
12545         (TCP_SAVED_SYN): Likewise.
12547 2015-08-31  Brett Neumeier <brett@neumeier.us>
12549         [BZ #18870]
12550         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12552 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
12554         [BZ #18873]
12555         Fix broken overflow check in posix_fallocate
12556         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12557         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12558         Fix parenthesization typo.
12560 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
12562         [BZ #18887]
12563         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12564         tst-mntent-blank-passno.
12565         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12566         * misc/tst-mntent-blank-corrupt.c: New test.
12567         * misc/tst-mntent-blank-passno.c: New test ripped from ...
12568         * misc/tst-mntent.c (do_test): ... here.
12570 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
12572         [BZ #4404]
12573         * po/de.po: Fix SIGALRM typo.
12575 2015-08-28  James Perkins  <james@loowit.net>
12577         * time/tst-strptime2.c (tests): Replace short list of test
12578         strings for strptime %z specifier with code which exhaustively
12579         tests every combination of sign and 0 to 5 digits. Tests for
12580         rejection of invalid strings.
12582 2015-08-28  James Perkins  <james@loowit.net>
12584         [BZ #16141]
12585         * time/strptime_l.c (__strptime_internal): Fix %z minutes
12586         calculation, removing incorrect decimal time rounding, so that
12587         all minute values result in a valid seconds value.
12588         * time/strptime_l.c (__strptime_internal): Extend %z time zone
12589         offset range limits to UTC-99:59 through UTC+99:59 to parse
12590         current and historical use cases.
12591         * time/tst-strptime2.c (tests): Modify and add tests for the
12592         strptime %z input field descriptor, specifically conversion of
12593         minutes to seconds and validating an offset range of -9959 to
12594         +9959.
12596 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12597             Dmitry V. Levin  <ldv@altlinux.org>
12599         [BZ #18877]
12600         * posix/Makefile (tests): Add tst-mmap-offset.
12601         * posix/tst-mmap.c: New file.
12602         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12603         offset calculation for negative values.
12605 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12607         * sysdeps/i386/init-arch.h: New file.
12608         * sysdeps/i386/i586/init-arch.h: Likewise.
12609         * sysdeps/i386/i686/init-arch.h: Likewise.
12610         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12611         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
12612         * sysdeps/x86/cpu-features.h (bit_I586): New.
12613         (bit_I686): Likewise.
12614         (bit_CX8): Likewise.
12615         (bit_CMOV): Likewise.
12616         (index_CX8): Likewise.
12617         (index_CMOV): Likewise.
12618         (index_I586): Likewise.
12619         (index_I686): Likewise.
12620         (reg_CX8): Likewise.
12621         (reg_CMOV): Likewise.
12622         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12623         available at compile-time.
12624         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12625         available at compile-time.
12626         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12627         (USE_I686): Likewise.
12629 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12631         * sysdeps/i386/bcopy.S: New file.
12632         * sysdeps/i386/bzero.S: Likewise.
12633         * sysdeps/i386/memcpy.S: Likewise.
12634         * sysdeps/i386/memmove.S: Likewise.
12635         * sysdeps/i386/mempcpy.S: Likewise.
12636         * sysdeps/i386/memset.S: Likewise.
12637         * sysdeps/i386/bzero.c: Removed.
12638         * sysdeps/i386/memset.c: Likewise.
12639         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12640         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12641         * sysdeps/i386/i586/memset_chk.S: Likewise.
12642         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12643         * sysdeps/i386/memcpy_chk.S: Here.
12644         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12645         * sysdeps/i386/memmove_chk.S: Here.
12646         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12647         * sysdeps/i386/mempcpy_chk.S: Likewise.
12648         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12649         * sysdeps/i386/memset_chk.S: Likewise.
12651 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12653         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12654         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12655         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12656         * soft-fp/fmadf4.c: Ditto.
12657         * soft-fp/fmatf4.c: Ditto.
12659 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12661         * sysdeps/i386/i586/Implies: Removed.
12662         * sysdeps/i386/i686/Implies: Likewise.
12664 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12666         * sysdeps/i386/i486/strlen.S: Moved to ...
12667         * sysdeps/i386/strlen.S: Here.
12669 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12671         * sysdeps/i386/i486/strcat.S: Moved to ...
12672         * sysdeps/i386/strcat.S: Here.
12674 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12676         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12677         * sysdeps/i386/pthread_spin_trylock.S: Here.
12678         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12679         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12681 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12683         * sysdeps/i386/i486/string-inlines.c: Moved to ...
12684         * sysdeps/i386/string-inlines.c: Here.
12686 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12688         * sysdeps/i386/i486/htonl.S: Moved ...
12689         * sysdeps/i386/htonl.S: here.
12691 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12693         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12694         * sysdeps/i386/bits/atomic.h: Here.
12696 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12698         * sysdeps/i386/i486/Versions: Removed.
12700 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12702         [BZ #2898]
12703         * misc/mktemp.c: Add mkdtemp to the link_warning message.
12704         Based on patch by Aurelien Jarno.
12706 2015-08-26  Stan Shebs  <stanshebs@google.com>
12708         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12709         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12711 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12713         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12714         * sysdeps/powerpc/dl-procinfo.c:
12715         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12716         feature so it shows when LD_SHOW_AUXV=1.
12718 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12720         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12721         (__arch_compare_and_exchange_val_32_acq): Remove and use common
12722         definition.  ISA 2.07B no longer requires full sync.
12724 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
12726         [BZ #18863]
12727         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12728         (si_call_addr): Define.
12729         (si_syscall): Define.
12730         (si_arch): Define.
12732 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12734         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12735         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12736         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
12737         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12738         (__memset_zero_constant_len_parameter): New.
12739         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
12740         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12741         (__memset_zero_constant_len_parameter): Don't define if
12742         __memset_chk or USE_AS_BZERO are defined.
12744         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
12745         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
12746         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
12748         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
12749         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
12750         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
12751         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
12752         comments.
12753         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
12754         -mno-mmx for $(all-rtld-routines).
12755         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
12756         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
12757         i386.
12759 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12761         * sysdeps/generic/unwind.h
12762         (_Unwind_Word): Use __mode__(__unwind_word__)
12763         instead of __mode__(__word__).
12764         (_Unwind_Sword): Likewise.
12766         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12767         (MAX_NEEDED_INPUT): New define.
12768         (MAX_NEEDED_OUTPUT): New define.
12770         * NEWS: New item for IBM z13 string optimizations.
12772         * sysdeps/s390/multiarch/memrchr-c.c: New File.
12773         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
12774         * sysdeps/s390/multiarch/memrchr.c: Likewise.
12775         * sysdeps/s390/multiarch/Makefile
12776         (sysdep_routines): Add memrchr functions.
12777         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12778         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
12780         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
12781         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
12782         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
12783         * sysdeps/s390/multiarch/Makefile
12784         (sysdep_routines): Add wmemcmp functions.
12785         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12786         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
12787         * benchtests/bench-wmemcmp.c: New File.
12788         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
12790         * sysdeps/s390/multiarch/wmemset-c.c: New File.
12791         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
12792         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12793         * sysdeps/s390/multiarch/Makefile
12794         (sysdep_routines): Add wmemset functions.
12795         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12796         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
12797         * wcsmbs/wmemset.c: Use WMEMSET if defined.
12798         * string/test-memset.c: Add wmemset support.
12799         * wcsmbs/test-wmemset.c: New File.
12800         * wcsmbs/Makefile (strop-tests): Add wmemset.
12801         * benchtests/bench-memset.c: Add wmemset support.
12802         * benchtests/bench-wmemset.c: New File.
12803         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
12805         * sysdeps/s390/multiarch/memccpy-c.c: New File.
12806         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
12807         * sysdeps/s390/multiarch/memccpy.c: Likewise.
12808         * sysdeps/s390/multiarch/Makefile
12809         (sysdep_routines): Add memccpy functions.
12810         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12811         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
12812         * string/memccpy.c: Use MEMCCPY if defined.
12814         * sysdeps/s390/multiarch/memchr-vx.S: New File.
12815         * sysdeps/s390/multiarch/memchr.c: Likewise.
12816         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
12817         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
12818         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12819         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
12820         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
12821         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12822         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
12823         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
12824         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
12825         and rawmemchr functions.
12826         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12827         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
12828         and wmemchr.
12829         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
12830         * string/test-memchr.c: Add wmemchr support.
12831         * wcsmbs/test-wmemchr.c: New File.
12832         * wcsmbs/Makefile (strop-tests): Add wmemchr.
12833         * benchtests/bench-memchr.c: Add wmemchr support.
12834         * benchtests/bench-wmemchr.c: New File.
12835         * benchtests/Makefile (wcsmbs-bench): wmemchr.
12837         * sysdeps/s390/multiarch/strcspn-c.c: New File.
12838         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
12839         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12840         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
12841         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
12842         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
12843         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
12844         wcscspn functions.
12845         * sysdeps/s390/multiarch/ifunc-impl-list.c
12846         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
12847         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
12848         * string/test-strcspn.c: Add wcscspn support.
12849         * wcsmbs/test-wcscspn.c: New File.
12850         * wcsmbs/Makefile (strop-tests): Add wcscspn.
12851         * benchtests/bench-strcspn.c: Add wcscspn support.
12852         * benchtests/bench-wcscspn.c: New File.
12853         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
12855         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
12856         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
12857         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12858         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
12859         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
12860         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12861         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
12862         wcspbrk functions.
12863         * sysdeps/s390/multiarch/ifunc-impl-list.c
12864         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
12865         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
12866         * string/test-strpbrk.c: Add wcspbrk support.
12867         * wcsmbs/test-wcspbrk.c: New File.
12868         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
12869         * benchtests/bench-strpbrk.c: Add wcspbrk support.
12870         * benchtests/bench-wcspbrk.c: New File.
12871         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
12873         * sysdeps/s390/multiarch/strspn-c.c: New File.
12874         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
12875         * sysdeps/s390/multiarch/strspn.c: Likewise.
12876         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
12877         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
12878         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12879         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
12880         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
12881         wcsspn functions.
12882         * sysdeps/s390/multiarch/ifunc-impl-list.c
12883         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
12884         * string/test-strspn.c: Add wcsspn support.
12885         * wcsmbs/test-wcsspn.c: New File.
12886         * wcsmbs/Makefile (strop-tests): Add wcsspn.
12887         * benchtests/bench-strspn.c: Add wcsspn support.
12888         * benchtests/bench-wcsspn.c: New File.
12889         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
12891         * sysdeps/s390/multiarch/strrchr-c.c: New File.
12892         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
12893         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12894         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
12895         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
12896         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
12897         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
12898         wcsrchr functions.
12899         * sysdeps/s390/multiarch/ifunc-impl-list.c
12900         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
12901         * benchtests/bench-wcsrchr.c: New File.
12902         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
12904         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
12905         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
12906         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
12907         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
12908         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
12909         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
12910         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
12911         wcschrnul functions.
12912         * sysdeps/s390/multiarch/ifunc-impl-list.c
12913         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
12914         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
12915         * string/test-strchr.c: Add wcschrnul support.
12916         * wcsmbs/test-wcschrnul.c: New File.
12917         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
12918         * benchtests/bench-strchr.c: Add wcschrnul support.
12919         * benchtests/bench-wcschrnul.c: New File.
12920         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
12922         * sysdeps/s390/multiarch/strchr-c.c: New File.
12923         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
12924         * sysdeps/s390/multiarch/strchr.c: Likewise.
12925         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
12926         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
12927         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12928         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
12929         wcschr functions.
12930         * sysdeps/s390/multiarch/ifunc-impl-list.c
12931         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
12932         * string/strchr.c (STRCHR): Define and use macro.
12933         * benchtests/bench-wcschr.c: New File.
12934         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
12936         * sysdeps/s390/multiarch/strncmp-c.c: New File.
12937         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
12938         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12939         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
12940         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
12941         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
12942         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12943         wcsncmp functions.
12944         * sysdeps/s390/multiarch/ifunc-impl-list.c
12945         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12946         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12947         * benchtests/bench-strncmp.c: Add wcsncmp support.
12948         * benchtests/bench-wcsncmp.c: New File.
12949         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12951         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12952         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12953         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12954         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12955         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12956         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12957         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12958         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12959         wcscmp functions.
12960         * sysdeps/s390/multiarch/ifunc-impl-list.c
12961         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12962         * string/strcmp.c (STRCMP): Define and use macro.
12963         * benchtests/bench-wcscmp.c: New File.
12964         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12965         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12966         instead of _HAVE_STRING_ARCH_memchr.
12968         * sysdeps/s390/multiarch/strncat-c.c: New File.
12969         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12970         * sysdeps/s390/multiarch/strncat.c: Likewise.
12971         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12972         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12973         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12974         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12975         wcsncat functions.
12976         * sysdeps/s390/multiarch/ifunc-impl-list.c
12977         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12978         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12979         * string/test-strncat.c: Add wcsncat support.
12980         * wcsmbs/test-wcsncat.c: New File.
12981         * wcsmbs/Makefile (strop-tests): Add wcsncat.
12982         * benchtests/bench-strncat.c: Add wcsncat support.
12983         * benchtests/bench-wcsncat.c: New File.
12984         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12986         * sysdeps/s390/multiarch/strcat-c.c: New File.
12987         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12988         * sysdeps/s390/multiarch/strcat.c: Likewise.
12989         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12990         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12991         * sysdeps/s390/multiarch/wcscat.c: Likewise.
12992         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12993         wcscat functions.
12994         * sysdeps/s390/multiarch/ifunc-impl-list.c
12995         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12996         * string/strcat.c (STRCAT): Define and use macro.
12997         * wcsmbs/wcscat.c: Use WCSCAT if defined.
12998         * string/test-strcat.c: Add wcscat support.
12999         * wcsmbs/test-wcscat.c: New File.
13000         * wcsmbs/Makefile (strop-tests): Add wcscat.
13001         * benchtests/bench-strcat.c: Add wcscat support.
13002         * benchtests/bench-wcscat.c: New File.
13003         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13005         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13006         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13007         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13008         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13009         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13010         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13011         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13012         wcpncpy functions.
13013         * sysdeps/s390/multiarch/ifunc-impl-list.c
13014         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13015         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13016         * string/test-stpncpy.c: Add wcpncpy support.
13017         * wcsmbs/test-wcpncpy.c: New File.
13018         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13019         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13020         * benchtests/bench-wcpncpy.c: New File.
13021         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13023         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13024         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13025         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13026         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13027         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13028         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13029         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13030         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13031         wcsncpy functions.
13032         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13033         * sysdeps/s390/multiarch/ifunc-impl-list.c
13034         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13035         * string/test-strncpy.c: Add wcsncpy support.
13036         * wcsmbs/test-wcsncpy.c: New File.
13037         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13038         * benchtests/bench-strncpy.c: Add wcsncpy support.
13039         * benchtests/bench-wcsncpy.c: New File.
13040         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13042         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13043         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13044         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13045         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13046         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13047         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13048         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13049         wcpcpy functions.
13050         * string/stpcpy.c: Use STPCPY if defined.
13051         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13052         * sysdeps/s390/multiarch/ifunc-impl-list.c
13053         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13054         * string/test-stpcpy.c: Add wcpcpy support.
13055         * wcsmbs/test-wcpcpy.c: New File.
13056         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13057         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13058         * benchtests/bench-wcpcpy.c: New File.
13059         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13061         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13062         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13063         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13064         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13065         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13066         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13067         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13068         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13069         wcscpy functions.
13070         * sysdeps/s390/multiarch/ifunc-impl-list.c
13071         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13072         * benchtests/bench-wcscpy.c: New File.
13073         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13075         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13076         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13077         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13078         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13079         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13080         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13081         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13082         wcsnlen functions.
13083         * sysdeps/s390/multiarch/ifunc-impl-list.c
13084         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13085         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13086         * string/test-strnlen.c: Add wcsnlen support.
13087         * wcsmbs/test-wcsnlen.c: New File.
13088         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13089         * benchtests/bench-strnlen.c: Add wcsnlen support.
13090         * benchtests/bench-wcsnlen.c: New File.
13091         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13093         * sysdeps/s390/multiarch/Makefile: New File.
13094         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13095         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13096         * sysdeps/s390/multiarch/strlen.c: Likewise.
13097         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13098         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13099         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13100         * string/strlen.c (STRLEN): Define and use macro.
13101         * sysdeps/s390/multiarch/ifunc-impl-list.c
13102         (IFUNC_VX_IMPL): New macro function.
13103         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13104         * benchtests/Makefile (wcsmbs-bench): New variable.
13105         (string-bench-all): Added wcsmbs-bench.
13106         * benchtests/bench-wcslen.c: New File.
13108         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13109         s390_vx_libc_ifunc2): New macro function.
13111         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13112         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13113         assembler support.
13114         * sysdeps/s390/configure: Regenerated.
13116         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13117         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13119         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13120         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13121         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13123         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13124         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13125         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13126         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13127         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13128         (memcmp, bcmp): Use __memcmp_default as alias source.
13129         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13130         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13131         Rename to __memcmp_default.
13132         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13133         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13134         (memcpy): Use __memcpy_default as alias source.
13135         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13136         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13137         Rename to __memcpy_default.
13138         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13139         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13140         (memset): Use __memset_default as alias source.
13141         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13142         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13143         Rename to __memset_default.
13144         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13145         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13146         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13147         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13148         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13149         (memcmp, bcmp): Use __memcmp_default as alias source.
13150         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13151         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13152         Rename to __memcmp_default.
13153         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13154         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13155         (memcpy): Use __memcpy_default as alias source.
13156         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13157         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13158         Rename to __memcpy_default.
13159         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13160         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13161         (memset): Use __memset_default as alias source.
13162         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13163         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13164         Rename to __memset_default.
13165         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13166         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13168         [BZ #18610]
13169         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13170         __ieee_instruction_pointer to __unused.
13171         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13172         __ieee_instruction_pointer.
13173         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13174         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13175         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13176         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13177         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13178         Mark dxc-field as reserved.
13180 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13182         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13183         if the weak reference is not null.
13185 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13187         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13189         [BZ #11214]
13190         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13192 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13194         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13195         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13196         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13197         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13198         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13199         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13200         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13201         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13202         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13203         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13204         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13205         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13206         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13207         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13208         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13209         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13210         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13211         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13213 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13215         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13216         register other than r0 for tabort, it has special meaning.
13217         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13218         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13219         transaction before starting syscall.
13221 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13223         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13225 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13227         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13229         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13230         * sysdeps/x86_64/rtld-memset.S: Likewise.
13231         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13232         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13233         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13234         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13236         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13238 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13240         * debug/strcpy_chk.c: Improve performance.
13241         * debug/stpcpy_chk.c: Likewise.
13242         * sysdeps/x86_64/strcpy_chk.S: Remove.
13243         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13245         [BZ #18240]
13246         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13248 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13250         [BZ #15128]
13251         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13252         ifuncmain8.
13253         (modules-names): Add ifuncmod8.
13254         ($(objpfx)ifuncmain8): New rule.
13255         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13256         <cpuid.h>.
13257         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13258         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13259         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13260         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13261         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13262         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13263         * sysdeps/x86_64/ifuncmain8.c: New file.
13264         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13265         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13266         Removed.
13267         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13268         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13269         Change rtld_savespace_sse to __glibc_unused2.
13270         (RTLD_CHECK_FOREIGN_CALL): Removed.
13271         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13272         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13273         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13275 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13277         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13279 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13281         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13282         Unconditionally set __fpcr to avoid uninialized warning.
13283         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13285 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13287         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13288         is corrupt.
13290         * malloc/arena.c (arena_get2): Drop unused argument.
13291         (arena_lock): Adjust.
13292         (arena_get_retry): Likewise.
13294 2015-08-24  Andreas Schwab  <schwab@suse.de>
13296         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13297         Don't define.
13298         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13299         (__ASSUME_IPC64): Don't undef.
13300         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13301         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13302         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13303         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13304         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13305         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13306         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13307         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13308         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13309         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13310         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13311         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13312         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13313         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13314         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13315         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13316         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13317         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13318         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13319         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13320         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13322 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
13324         * manual/Makefile (install): Only build manual when perl is available.
13326 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13328         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13329         '#undef memcpy' by '#undef memchr'.
13331 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13333         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13334         memchr not point to the internal __GI_memchr implementation.
13336 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13338         * timezone/Makefile (CFLAGS-zdump.c): Remove
13339         -Wno-strict-prototypes.
13340         (CFLAGS-zic.c): Likewise.
13341         (CFLAGS-ialloc.c): Likewise.
13342         (CFLAGS-scheck.c): Likewise.
13344         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13345         -Wno-error=undef.
13347 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13349         * i386/i686/multiarch/strcasestr-c.c: Removed.
13350         * x86_64/multiarch/strcasestr.c: Likewise.
13351         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13352         Remove strcasestr.
13354 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13356         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13358         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13359         variables for high and low parts before possibly modifying them.
13361 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13363         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13364         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13365         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13366         of "multiarch/init-arch.h".
13367         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13368         * sysdeps/x86/init-arch.h: This.
13370 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13372         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13373         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13375 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
13377         [BZ #17787]
13378         * manual/macros.texi: Add twoexp macro.
13379         * manual/filesys.texi: Fix exponents.
13380         * manual/llio.texi: Likewise.
13381         * manual/stdio.texi: Likewise.
13383 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13385         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13386         incorrect use.
13388 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13390         [BZ #18370]
13391         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13392         whose real or imaginary part has small absolute value.
13393         * math/s_csqrtf.c (__csqrtf): Likewise.
13394         * math/s_csqrtl.c (__csqrtl): Likewise.
13395         * math/auto-libm-test-in: Add more tests of csqrt.
13396         * math/auto-libm-test-out: Regenerated.
13397         * sysdeps/i386/fpu/libm-test-ulps: Update.
13399 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13401         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13402         __ppc_set_ppr_very_low): New functions.
13403         * manual/platform.texi: Add documentation about
13404         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13406 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13408         * string/stpncpy.c (stpncpy): Improve performance using
13409         __strnlen/memcpy/memset.
13411 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13413         [BZ #18796]
13414         * scripts/test-installation.pl: Don't add -lmvec to build options if
13415         libmvec wasn't built.
13417 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13419         [BZ #14341]
13420         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13421         case when there is a gap between DT_REL and DT_JMPREL sections.
13422         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13423         (LDFLAGS-tst-split-dynreloc): New.
13424         (tst-split-dynreloc-ENV): Likewise.
13425         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13426         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13428 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13430         [BZ #18822]
13431         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13432         attribute_hidden.
13433         (__xstat64_conv): Likewise.
13434         (__xstat32_conv): Likewise.
13436 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13438         [BZ #18822]
13439         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13440         Don't load %ebx when calling __setcontext.  Call __setcontext
13441         with HIDDEN_JUMPTARGET.
13442         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13443         libc_hidden_def.
13445 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13447         * sysdeps/i386/i686/Makefile
13448         [$(subdir) == string] (sysdep_routines): Moved to ...
13449         * sysdeps/i386/Makefile: Here.
13450         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13451         * sysdeps/i386/cacheinfo.c: Here.
13452         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13453         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13454         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13455         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13457 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13459         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13460         __i586__ is defined.
13461         (HAS_I686): Defined to 1 if __i686__ is defined.
13463 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13465         * elf/Makefile [$(have-z-execstack) = yes]
13466         (CPPFLAGS-tst-execstack.c): New variable.
13468         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13469         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13470         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13471         UTMPX || _HAVE_UT_TV].
13472         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13473         UTMPX || _HAVE_UT_TV - 0].
13475 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13477         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13478         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13479         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13481 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13483         * sysdeps/powerpc/dl-procinfo.c:
13484         (_dl_powerpc_cap_flags): Added missing strings for some
13485         hwcap features.
13486         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13488 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
13490         Port the 0x7efe...feff pattern to GCC 6.
13491         See Steve Ellcey's bug report in:
13492         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13493         * string/memrchr.c (MEMRCHR):
13494         * string/rawmemchr.c (RAWMEMCHR):
13495         * string/strchr.c (strchr):
13496         * string/strchrnul.c (STRCHRNUL):
13497         Rewrite code to avoid issues with signed shift overflow.
13499 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
13501         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13502         whether cpuid is available only if HAS_CPUID is 0.
13503         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13504         (HAS_I586): Likewise.
13505         (HAS_I686): Likewise.
13507 2015-08-18  Zack Weinberg  <zackw@panix.com>
13509         * misc/Versions (libc): Add GLIBC_2.23.
13511 2015-08-18  Alan Modra  <amodra@gmail.com>
13513         [BZ #18421]
13514         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13515         .Lp__global.
13516         (_start): Load %dp via .Lp__global.
13517         [!SHARED]: Use .section .rodata.
13519 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13521         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13522         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13524 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13526         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13527         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13529 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13531         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13532         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13534 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13536         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13537         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13539 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13541         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13542         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13544 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13546         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13547         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13549 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13551         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13553 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13555         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13556         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
13557         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13558         (__ASSUME_LWS_CAS): Delete.
13560 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13562         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13563         * sysdeps/hppa/configure: Regenerated.
13564         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13565         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13566         * sysdeps/hppa/nptl/tls.h: Likewise.
13568 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
13570         [BZ #18823]
13571         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13572         for scaling up small arguments.
13573         * math/s_csqrtf.c (__csqrtf): Likewise.
13574         * math/s_csqrtl.c (__csqrtl): Likewise.
13575         * math/auto-libm-test-in: Add more tests of csqrt.
13576         * math/auto-libm-test-out: Regenerated.
13578 2015-08-17  Andreas Schwab  <schwab@suse.de>
13580         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13581         version set GLIBC_2.19.
13583 2015-08-16  Zack Weinberg  <zackw@panix.com>
13585         [BZ #18681]
13586         * misc/regexp.h: This interface is no longer supported.
13587         Remove all contents, leaving only an #error directive.
13588         * misc/regexp.c (loc1, loc2, locs, step, advance):
13589         Demote to compatibility symbols.
13591 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
13593         [BZ #18084]
13594         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13595         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13596         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13597         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13598         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13599         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13600         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13601         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13602         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13604 2015-08-15  Zack Weinberg  <zackw@panix.com>
13606         [BZ #18795]
13607         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13608         buffer length is known to be too large, not if it's known to be
13609         small enough.
13610         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13611         overflow at runtime, involving a length parameter, twice: once
13612         with a compile-time constant length parameter, once without.
13614 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
13616         [BZ #18824]
13617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13618         scaling x * y up instead of down.
13619         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13620         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13621         * math/auto-libm-test-in: Add more tests of fma.
13622         * math/auto-libm-test-out: Regenerated.
13624 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13626         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13628 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13630         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13631         unnecessary movq.
13632         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13633         Likewise.
13635 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13637         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13638         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13639         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13640         and tgamma.
13641         * math/auto-libm-test-out: Regenerated.
13642         * sysdeps/i386/fpu/libm-test-ulps: Update.
13643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13645         [BZ #16520]
13646         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13647         (__tanh): Force underflow exception for arguments with small
13648         absolute value.
13649         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13650         (__tanhf): Force underflow exception for arguments with small
13651         absolute value.
13652         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13653         (__tanhl): Force underflow exception for arguments with small
13654         absolute value.
13655         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13656         (__tanhl): Force underflow exception for arguments with small
13657         absolute value.
13658         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13659         (__tanhl): Force underflow exception for arguments with small
13660         absolute value.
13661         * math/auto-libm-test-in: Add more tests of tanh.
13662         * math/auto-libm-test-out: Regenerated.
13663         * sysdeps/i386/fpu/libm-test-ulps: Update.
13665 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13667         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13668         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13670 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13672         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13673         <cpuid.h>.
13675 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13677         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13678         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13680 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13682         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13683         Remove $(objpfx)init-arch.o.
13684         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13685         init-arch.
13686         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13687         (INIT_ARCH_EXT): Defined as empty.
13688         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13689         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13690         __init_cpu_features call.  Replace HAS_XXX with
13691         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13692         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13693         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13694         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13695         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13696         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13697         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13698         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13699         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13700         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13701         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13702         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13703         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13704         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13705         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13706         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13707         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13708         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13709         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13710         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13711         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13712         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13713         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13714         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13715         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13716         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13717         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13718         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13719         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13720         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13721         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13722         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13723         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13724         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13725         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13726         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13728 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13730         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13731         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13732         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13733         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13734         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13735         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13736         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
13737         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
13738         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
13739         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
13740         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
13741         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
13742         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13743         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13744         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13745         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13746         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13747         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13748         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13749         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13750         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13751         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13752         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13753         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13754         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13755         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13756         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13757         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13758         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13759         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13760         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13761         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13762         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13763         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13764         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13765         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13766         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13767         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13768         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13769         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13770         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13771         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13772         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13774 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13776         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
13777         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13778         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13779         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13780         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13781         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13782         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13783         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
13784         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13785         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13786         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13787         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
13788         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
13789         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
13790         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
13791         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
13792         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
13793         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
13794         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
13795         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
13796         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13797         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
13798         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
13799         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13800         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13801         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
13802         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
13803         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
13804         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13805         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13806         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13807         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13808         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13809         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13810         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13811         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13812         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13813         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13814         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13815         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13816         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13817         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13818         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13820 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13822         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
13823         (dl_platform_init): Call init_cpu_features.
13824         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
13825         * sysdeps/i386/i686/cacheinfo.c
13826         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
13827         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
13828         * sysdeps/i386/i686/multiarch/Versions: Removed.
13829         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
13830         Removed.
13831         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
13832         * sysdeps/unix/sysv/linux/x86/Makefile
13833         (libpthread-sysdep_routines): Remove init-arch.
13834         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
13835         <sysdeps/x86_64/dl-procinfo.c> instead of
13836         sysdeps/generic/dl-procinfo.c>.
13837         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
13838         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
13839         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
13840         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
13841         [$(subdir) == elf] (tests-static): Add
13842         tst-get-cpu-features-static.
13843         * sysdeps/x86/Versions: New file.
13844         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
13845         * sysdeps/x86/cpu-features.c: Likewise.
13846         * sysdeps/x86/cpu-features.h: Likewise.
13847         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
13848         * sysdeps/x86/libc-start.c: Likewise.
13849         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13850         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
13851         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
13852         * sysdeps/x86_64/dl-procinfo.c: Likewise.
13853         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
13854         Assume USE_MULTIARCH is defined and don't check it.
13855         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
13856         (is_amd): Likewise.
13857         (max_cpuid): Likewise.
13858         (intel_check_word): Likewise.
13859         (__cache_sysconf): Don't call __init_cpu_features.
13860         (__x86_preferred_memory_instruction): Removed.
13861         (init_cacheinfo): Don't call __init_cpu_features. Replace
13862         __cpu_features with GLRO(dl_x86_cpu_features).
13863         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
13864         (dl_platform_init): Call init_cpu_features.
13865         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
13866         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
13867         * sysdeps/x86_64/multiarch/Versions: Removed.
13868         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
13869         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
13870         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
13871         Removed.
13872         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
13874 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13876         [BZ #18820]
13877         * libio/Makefile (test-fmemopen-mem): New test.
13878         * libio/test-fmemopen.c (do_bz18820): New test.
13879         * libio/fmemopen.c (__fmemopen): Fix memory leak.
13880         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
13882 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13884         [BZ #16734]
13885         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
13886         (FREE_BUF): Delete.
13887         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
13888         * libio/genops.c (_IO_setb): Use malloc and free directly.
13889         (_IO_default_doallocate, _IO_default_finish): Likewise.
13890         ( _IO_unbuffer_all): Likewise.
13891         ( libc_freeres_fn): Likewise.
13892         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13893         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13894         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
13895         (_IO_wdefault_doallocate): Likewise.
13897 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13899         [BZ #18086]
13900         * sysdeps/posix/nice.c (nice): Restore old errno.
13901         * posix/tst-nice.c (do_test): Add test for BZ #18086.
13903 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
13905         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
13907 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13909         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
13910         __bcopy and add a weak_alias to bcopy.
13911         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
13912         for static build.
13914         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
13915         cleanup macro usage.
13916         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
13917         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
13918         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13919         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
13920         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13921         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
13922         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
13923         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13924         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13925         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
13926         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13927         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
13928         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13929         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
13930         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13931         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
13932         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
13933         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
13934         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13936         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
13937         libc_hidden_def.
13938         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
13940         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
13941         (sysdep_routines): Add strstr-ppc64.
13942         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13944 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
13946         [BZ #18778]
13947         * elf/Makefile (tests): Add Add tst-nodelete2.
13948         (modules-names): Add tst-nodelete2mod.
13949         (tst-nodelete2mod.so-no-z-defs): New.
13950         ($(objpfx)tst-nodelete2): Likewise.
13951         ($(objpfx)tst-nodelete2.out): Likewise.
13952         (LDFLAGS-tst-nodelete2): Likewise.
13953         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13954         out of loop through all loaded libraries.
13955         * elf/tst-nodelete2.c: New file.
13956         * elf/tst-nodelete2mod.c: Likewise.
13957         * elf/tst-znodelete-zlib.cc: Delete.
13959 2015-08-11  Andreas Schwab  <schwab@suse.de>
13961         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13962         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13963         (__openat64_nocancel): Likewise.
13965 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
13967         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13968         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13969         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13970         * math/auto-libm-test-out: Regenerated.
13971         * sysdeps/i386/fpu/libm-test-ulps: Update.
13972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13974 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13976         [BZ #18790]
13977         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13978         threshold for returning +/- 1.
13979         * math/auto-libm-test-in: Add more tests of tanh.
13980         * math/auto-libm-test-out: Regenerated.
13981         * sysdeps/i386/fpu/libm-test-ulps: Update.
13983 2015-08-10  Andreas Schwab  <schwab@suse.de>
13985         [BZ #18781]
13986         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13987         MORE_OFLAGS to oflag.
13988         * io/test-lfs.c (do_test): Test openat64.
13990 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13992         [BZ #18789]
13993         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13994         smaller threshold for returning the argument.
13995         * math/auto-libm-test-in: Add more tests of sinh.
13996         * math/auto-libm-test-out: Regenerated.
13997         * sysdeps/i386/fpu/libm-test-ulps: Update.
13999 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14001         [BZ #18674]
14002         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14003         break.
14005 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14007         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14008         (generated): Don't add $(addprefix z.,$(tzfiles)).
14010 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14012         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14013         * scripts/sysd-rules.awk: Likewise.
14015 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14017         * iconvdata/tst-tables.sh: Change echo -n to printf.
14018         * nss/db-Makefile: Likewise.
14019         * posix/tst-getconf.sh: Likewise.
14020         * stdio-common/tst-unbputc.sh: Likewise.
14022 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14024         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14025         MADV_*_PAGES defines behind this feature check.
14027 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14029         [BZ #18480]
14030         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14031         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14032         Define.
14033         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14034         LOAD_REGS_5, LOAD_REGS_6): Update.
14035         (INTERNAL_SYSCALL): Update using new LOAD defines.
14036         (INTERNAL_SYSCALL_NCS): Likewise.
14037         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14039 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14041         [BZ #16734]
14042         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14044 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14046         [BZ #17905]
14047         * catgets/Makefile (tst-catgets-mem): New test.
14048         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14049         * catgets/open_catalog.c (__open_catalog): Likewise.
14050         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14052 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14054         [BZ #18787]
14055         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14056         clobber registers.
14057         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14058         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14059         Cast return to __typeof (oldval).
14061 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14063         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14064         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14065         and delete sys/syscall.h include.
14067 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14069         [BZ #16517]
14070         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14071         (tan): Force underflow exception for arguments with small absolute
14072         value.
14073         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14074         (__kernel_tanf): Force underflow exception for arguments with
14075         small absolute value.
14076         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14077         (__kernel_tanl): Force underflow exception for arguments with
14078         small absolute value.
14079         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14080         (__kernel_tanl): Force underflow exception for arguments with
14081         small absolute value.
14082         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14083         (__kernel_tanl): Force underflow exception for arguments with
14084         small absolute value.
14085         * math/auto-libm-test-in: Add more tests of tan.
14086         * math/auto-libm-test-out: Regenerated.
14088 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14090         Fix sysdeps/i386/fpu/s_scalbn.S build
14092         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14094 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14096         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14098 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14100         Fix gcrt0.o compilation
14102         When static-start-installed-name is different from
14103         start-installed-name, we must not use the shared objects.
14105         * csu/Makefile
14106         (extra-objs): Add gmon-start.o when building shared library and
14107         $(static-start-installed-name) is different from
14108         $(start-installed-name).
14109         $(objpfx)g$(static-start-installed-name): When building shared
14110         library and $(static-start-installed-name) is different from
14111         $(static-start-installed-name), revert to non-shared rule,
14112         i.e. using $(objpfx)% and gmon-start.o.
14114 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14116         [BZ #16519]
14117         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14118         (__ieee754_sinh): Force underflow exception for arguments with
14119         small absolute value.
14120         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14121         (__ieee754_sinhf): Force underflow exception for arguments with
14122         small absolute value.
14123         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14124         (__ieee754_sinhl): Force underflow exception for arguments with
14125         small absolute value.
14126         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14127         (__ieee754_sinhl): Force underflow exception for arguments with
14128         small absolute value.
14129         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14130         (__ieee754_sinhl): Force underflow exception for arguments with
14131         small absolute value.
14132         * math/auto-libm-test-in: Add more tests of sinh.
14133         * math/auto-libm-test-out: Regenerated.
14134         * sysdeps/i386/fpu/libm-test-ulps: Update.
14136 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14138         * libio/oldfileops.c: Include unistd.h.
14140 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14142         * stdlib/isomac.c: Include ctype.h.
14144 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14146         * dirent/tst-seekdir.c (main): Converted to ...
14147         (do_test): ... this.
14148         (TEST_FUNCTION): New macro.
14149         Include test-skeleton.c.
14150         * elf/tst-dlmodcount.c (main): Converted to ...
14151         (do_test): ... this.
14152         (TEST_FUNCTION): New macro.
14153         Include test-skeleton.c.
14154         * elf/tst-order-main.c (main): Converted to ...
14155         (do_test): ... this.
14156         (TEST_FUNCTION): New macro.
14157         Include test-skeleton.c.
14158         * elf/tst-pie2.c (main): Converted to ...
14159         (do_test): ... this.
14160         (TEST_FUNCTION): New macro.
14161         Include test-skeleton.c.
14162         * inet/tst-ether_aton.c (main): Converted to ...
14163         (do_test): ... this.
14164         (TEST_FUNCTION): New macro.
14165         Include test-skeleton.c.
14166         * misc/tst-mntent.c (main): Converted to ...
14167         (do_test): ... this.
14168         (TEST_FUNCTION): New macro.
14169         Include test-skeleton.c.
14170         * misc/tst-tsearch.c (main): Converted to ...
14171         (do_test): ... this.
14172         (TEST_FUNCTION): New macro.
14173         Include test-skeleton.c.
14174         * posix/tst-regexloc.c (main): Converted to ...
14175         (do_test): ... this.
14176         (TEST_FUNCTION): New macro.
14177         Include test-skeleton.c.
14178         * resolv/tst-aton.c (main): Converted to ...
14179         (do_test): ... this.
14180         (TEST_FUNCTION): New macro.
14181         Include test-skeleton.c.
14182         * stdio-common/test-fwrite.c (main): Converted to ...
14183         (do_test): ... this.
14184         (TEST_FUNCTION): New macro.
14185         Include test-skeleton.c.
14186         * stdio-common/tst-ferror.c (main): Converted to ...
14187         (do_test): ... this.
14188         (TEST_FUNCTION): New macro.
14189         Include test-skeleton.c.
14190         * stdio-common/tst-printf.c (main): Converted to ...
14191         (do_test): ... this.
14192         (TEST_FUNCTION): New macro.
14193         Include test-skeleton.c.
14194         * stdio-common/tst-printfsz.c (main): Converted to ...
14195         (do_test): ... this.
14196         (TEST_FUNCTION): New macro.
14197         Include test-skeleton.c.
14198         * stdlib/tst-strtod.c (main): Converted to ...
14199         (do_test): ... this.
14200         (TEST_FUNCTION): New macro.
14201         Include test-skeleton.c.
14202         * string/tst-strlen.c (main): Converted to ...
14203         (do_test): ... this.
14204         (TEST_FUNCTION): New macro.
14205         Include test-skeleton.c.
14206         * string/tst-svc.c (main): Converted to ...
14207         (do_test): ... this.
14208         (TEST_FUNCTION): New macro.
14209         Include test-skeleton.c.
14210         * time/tst-strptime.c (main): Converted to ...
14211         (do_test): ... this.
14212         (TEST_FUNCTION): New macro.
14213         Include test-skeleton.c.
14214         * timezone/tst-timezone.c (main): Converted to ...
14215         (do_test): ... this.
14216         (TEST_FUNCTION): New macro.
14217         Include test-skeleton.c.
14219 2015-08-05  Zack Weinberg  <zackw@panix.com>
14221         * misc/regexp.h: Update comments.
14223 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14225         [BZ #18635]
14226         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14227         before return label.
14229 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14231         [BZ #18661]
14232         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14233         when calling __errno_location.
14234         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14235         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14237 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14239         [BZ #18661]
14240         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14241         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14242         __gettimeofday.
14244 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14246         [BZ #18661]
14247         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14248         (__start_context): Don't use pop to restore %rdi so that stack
14249         is aligned to 16 bytes when calling __setcontext.
14251 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14253         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14254         only for libc.
14255         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14257 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14259         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14260         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14261         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14263 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14265         * string/memccpy.c (memccpy):
14266         Improve performance by using memchr/memcpy/__mempcpy.
14268 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14270         * string/strncpy.c (strncpy):
14271         Improve performance by using __strnlen/memcpy.
14273 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14275         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14276         Optimize to avoid an unnecessary FPCR read.
14278 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14280         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14281         Optimize to reduce FPCR/FPSR accesses.
14283 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14285         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14286         dead->data[category] != NULL.
14288 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14290         [BZ #18647]
14291         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14292         and |x| close to 1, use absolute value of x when computing log.
14293         * math/auto-libm-test-in: Add more tests of pow.
14294         * math/auto-libm-test-out: Regenerated.
14296 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14298         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14299         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14300         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14302 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14304         [BZ #18525]
14305         * locales/km_KH: Remove timezone definition.
14306         * locales/lo_LA: Likewise.
14307         * locales/my_MM: Likewise.
14308         * locales/nan_TW@latin: Likewise.
14309         * locales/th_TH: Likewise.
14310         * locales/uk_UA: Likewise.
14312 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14314         [BZ #18265]
14315         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14316         (wcsncat): Likewise.
14317         (wcscmp): Likewise.
14318         (wcsncmp): Likewise.
14320 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14322         * test-skeleton.c (usage): New function.
14323         (main): Call usage when opt is '?'.
14325 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14327         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14328         before first use.
14330 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14332         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14333         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
14334         in there too.
14336 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
14338         * version.h (RELEASE): Set to "development".
14339         (VERSION): Set to "2.22.90"
14341         * version.h (RELEASE): Set to "stable".
14342         (VERSION): Set to "2.22"
14343         * include/features.h (__GLIBC_MINOR__): Set to 22.
14345 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
14347         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14348         Restructure macro to avoid "value computed is not used" warning.
14349         (atomic_compare_and_exchange_val_acq): Likewise.
14351 2015-08-04  Andreas Schwab  <schwab@suse.de>
14353         [BZ #18635]
14354         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14355         ret.
14356         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14358 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
14360         * po/pl.po: Updated translation.
14361         * po/uk.po: Likewise.
14362         * po/fi.po: Likewise.
14363         * po/ko.po: Likewise.
14364         * po/ru.po: Likewise.
14365         * po/vi.po: Likewise.
14367 2015-07-31  Zack Weinberg  <zackw@panix.com>
14369         [BZ #18681]
14370         * regexp.h: Add unconditional #warning stating that this header
14371         will be removed soon.  Revise banner comment to match.
14372         (compile): Consistently use ERROR instead of RETURN to report
14373         errors (partial fix for bz#18681).
14374         * regexp.c: Don't include regexp.h. Remove some unnecessary
14375         declarations.
14377 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14379         * po/libc.pot: Regenerated.
14381 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14383         [BZ #18740]
14384         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14385         float-vlen4-arch-ext-cflags): Removed.
14386         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14387         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14389 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14391         [BZ #14113]
14392         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14393         aligned to __aligned__.
14394         (pthread_cond_t, pthread_rwlock_t): Likewise.
14396 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14398         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14400 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14402         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14403         (struct sigaction): Change sa_flags from a long to an int, and add
14404         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14406 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14408         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14409         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14410         sysdeps/generic/sysdep.h include.
14411         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14412         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14413         sysdeps/hppa/sysdep.h.
14414         (ENTRY, PSEUDO): Undefine before defining.
14416 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14418         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14419         from scratch to use INTERNAL_SYSCALL.
14421 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14423         [BZ #18078]
14424         * scripts/check-localplt.awk: Support alternate relocations.
14425         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14426         sections.
14427         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14428         malloc entries with + REL R_386_GLOB_DAT.
14429         * sysdeps/x86_64/localplt.data: New file.
14431 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14433         [BZ #18731]
14434         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14435         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14436         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14438 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14440         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14442 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14444         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14445         directly in terms of __sync_fetch_and_add and delete (int) cast.
14447 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14449         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14450         the -D_ASM_IA64_CURRENT_H flag.
14452 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14454         [BZ #18641]
14455         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14457 2015-07-27  Andreas Schwab  <schwab@suse.de>
14459         * conform/conformtest.pl (checknamespace): Filter out string
14460         literals while tokenizing.
14462 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14464         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14465         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14466         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14468 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14470         * nptl/tst-join7mod.c: Add #include <string.h>.
14472 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14474         * sysdeps/nios2/libm-test-ulps: Update.
14476 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14478         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14479         Fix order of arguments to the rt_sigprocmask syscall.
14480         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14481         Likewise.
14483 2015-07-24  Roland McGrath  <roland@hack.frob.com>
14485         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14487 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14489         [BZ #18457]
14490         * nptl/Makefile (tests): New test case tst-join7.
14491         (modules-names): New test case module tst-join7mod.
14492         * nptl/tst-join7.c: New file.
14493         * nptl/tst-join7mod.c: New file.
14494         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14495         all translation units in libc.so, libpthread.so and rtld.
14497 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14501 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14503         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14504         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14505         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14506         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14507         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14508         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14509         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14510         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14511         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14512         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14513         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14514         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14515         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14516         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14517         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14518         implementation.
14520 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14522         [BZ #17711]
14523         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14524         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14525         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14526         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14527         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14528         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14530 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14532         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14533         instead of just saying load lock in the comments.
14535 2015-07-23  Roland McGrath  <roland@hack.frob.com>
14537         * sysdeps/unix/Subdirs: Moved ...
14538         * sysdeps/posix/Subdirs: ... here.
14539         * login/pty.h (struct termios, struct winsize): Add forward decls.
14540         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14541         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14542         * sysdeps/arm/nacl/libc.abilist: Updated.
14543         * sysdeps/nacl/libutil.abilist: New file.
14545         * bits/signum.h: Update comments to mention 1003.1-2013 too.
14546         (SIGWINCH): New macro.
14548         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14549         * sysdeps/arm/nacl/libc.abilist: Add it.
14551 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14553         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14555 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14557         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14558         Swap __glibc_reserved0 and sa_flags order.
14560 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14562         [BZ #18657]
14563         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14564         are pending TLS destructor calls.
14565         * include/link.h (struct link_map): Add concurrency note for
14566         L_TLS_DTOR_COUNT.
14567         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14568         Don't touch the link map flag.  Atomically increment
14569         l_tls_dtor_count.
14570         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14571         Avoid taking the load lock and don't touch the link map flag.
14572         * stdlib/tst-tls-atexit-nodelete.c: New test case.
14573         * stdlib/Makefile (tests): Use it.
14574         * stdlib/tst-tls-atexit.c (do_test): dlopen
14575         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
14576         to allow tst-tls-atexit-nodelete test case to use it.
14578 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14580         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14581         to bits/types.h.
14582         (msgqnum_t): New typedef.
14583         (msglen_t): Likewise.
14584         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
14585         and msg_qbytes type to msglen_t.
14587 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14589         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14590         pad0 to __glibc_reserved0.
14591         (struct stat64): Likewise.
14593 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14595         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14596         Change sa_flags from a long to an int and add __glibc_reserved0 before
14597         it for padding.
14599 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14601         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14602         anonymous by deleting "siginfo" name.
14604 2015-07-21  Roland McGrath  <roland@hack.frob.com>
14606         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14607         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14608         rather than __nacl_irt_filename.
14609         * sysdeps/nacl/xstat.c (__xstat): Likewise.
14611         * NEWS: New item for arm-nacl port.
14612         * sysdeps/arm/nacl/libc.abilist: New file.
14613         * sysdeps/nacl/ld.abilist: New file.
14614         * sysdeps/nacl/libBrokenLocale.abilist: New file.
14615         * sysdeps/nacl/libanl.abilist: New file.
14616         * sysdeps/nacl/libcrypt.abilist: New file.
14617         * sysdeps/nacl/libdl.abilist: New file.
14618         * sysdeps/nacl/libm.abilist: New file.
14619         * sysdeps/nacl/libpthread.abilist: New file.
14620         * sysdeps/nacl/libresolv.abilist: New file.
14621         * sysdeps/nacl/librt.abilist: New file.
14623 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
14625         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14626         __startcontext to initialize the new context.
14627         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14628         up CFI directive to forbid further backtracing.
14630 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14632         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14633         reference.
14634         * charmaps/ANSI_X3.4-1968: Likewise.
14635         * charmaps/BS_4730: Likewise.
14636         * charmaps/BS_VIEWDATA: Likewise.
14637         * charmaps/CP1250: Likewise.
14638         * charmaps/CP1251: Likewise.
14639         * charmaps/CP1252: Likewise.
14640         * charmaps/CP1253: Likewise.
14641         * charmaps/CP1254: Likewise.
14642         * charmaps/CP1255: Likewise.
14643         * charmaps/CP1256: Likewise.
14644         * charmaps/CSN_369103: Likewise.
14645         * charmaps/EBCDIC-DK-NO: Likewise.
14646         * charmaps/GB_1988-80: Likewise.
14647         * charmaps/GREEK-CCITT: Likewise.
14648         * charmaps/GREEK7: Likewise.
14649         * charmaps/INIS-8: Likewise.
14650         * charmaps/ISIRI-3342: Likewise.
14651         * charmaps/ISO_2033-1983: Likewise.
14652         * charmaps/ISO_5427-EXT: Likewise.
14653         * locales/POSIX: Likewise.
14654         * locales/ar_SA: Likewise.
14655         * locales/be_BY: Likewise.
14656         * locales/be_BY@latin: Likewise.
14657         * locales/ca_ES: Likewise.
14658         * locales/cs_CZ: Likewise.
14659         * locales/da_DK: Likewise.
14660         * locales/de_BE: Likewise.
14661         * locales/de_CH: Likewise.
14662         * locales/de_LU: Likewise.
14663         * locales/en_AU: Likewise.
14664         * locales/en_BW: Likewise.
14665         * locales/en_CA: Likewise.
14666         * locales/en_DK: Likewise.
14667         * locales/en_GB: Likewise.
14668         * locales/en_IE: Likewise.
14669         * locales/en_NZ: Likewise.
14670         * locales/en_ZA: Likewise.
14671         * locales/en_ZW: Likewise.
14672         * locales/es_AR: Likewise.
14673         * locales/es_BO: Likewise.
14674         * locales/es_CL: Likewise.
14675         * locales/es_CO: Likewise.
14676         * locales/es_DO: Likewise.
14677         * locales/es_EC: Likewise.
14678         * locales/es_ES: Likewise.
14679         * locales/es_HN: Likewise.
14680         * locales/es_MX: Likewise.
14681         * locales/es_PA: Likewise.
14682         * locales/es_PE: Likewise.
14683         * locales/es_PY: Likewise.
14684         * locales/es_SV: Likewise.
14685         * locales/es_US: Likewise.
14686         * locales/es_UY: Likewise.
14687         * locales/es_VE: Likewise.
14688         * locales/et_EE: Likewise.
14689         * locales/fa_IR: Likewise.
14690         * locales/fo_FO: Likewise.
14691         * locales/fr_CA: Likewise.
14692         * locales/fr_CH: Likewise.
14693         * locales/gv_GB: Likewise.
14694         * locales/he_IL: Likewise.
14695         * locales/hr_HR: Likewise.
14696         * locales/id_ID: Likewise.
14697         * locales/is_IS: Likewise.
14698         * locales/it_CH: Likewise.
14699         * locales/iw_IL: Likewise.
14700         * locales/kl_GL: Likewise.
14701         * locales/ko_KR: Likewise.
14702         * locales/kw_GB: Likewise.
14703         * locales/lg_UG: Likewise.
14704         * locales/lt_LT: Likewise.
14705         * locales/lv_LV: Likewise.
14706         * locales/mi_NZ: Likewise.
14707         * locales/nhn_MX: Likewise.
14708         * locales/nl_BE: Likewise.
14709         * locales/pl_PL: Likewise.
14710         * locales/sk_SK: Likewise.
14711         * locales/sl_SI: Likewise.
14712         * locales/sv_FI: Likewise.
14713         * locales/tl_PH: Likewise.
14714         * locales/tr_TR: Likewise.
14715         * locales/vi_VN: Likewise.
14717 2015-07-21  Khem Raj  <raj.khem@gmail.com>
14719         [BZ #17475]
14720         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14721         of tu_IN and bh_IN.
14723 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
14725         [BZ #18694]
14726         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14727         bits/wordsize.h.
14728         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14730 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14732         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14733         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14734         (spawn_thread): New function.
14735         (load): Rename to reg_dtor_and_close.  Move dlopen to...
14736         (do_test): ... here.  Use IS_LOADED to test for its
14737         availability.
14739 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
14741         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14743 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
14745         [BZ #18696]
14746         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
14747         si_addr_bnd.
14748         (si_lower): New.
14749         (si_upper): Likewise.
14751 2015-07-16  David S. Miller  <davem@davemloft.net>
14753         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
14755 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14757         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
14758         buffer.
14759         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
14760         fail output information.
14762 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
14765         and strstr-ppc64..
14766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14767         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
14768         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
14769         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
14770         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
14772 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14774         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14775         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14776         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14777         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14779 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14781         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14782         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
14783         rtld_hidden_proto.
14784         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
14786 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14788         * tst-nodelete-opened.c (do_test): Add comment to clarify how
14789         the test can fail.
14791         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
14793         [BZ #18676]
14794         * elf/tst-nodelete-opened.c: New test case.
14795         * elf/tst-nodelete-opened-lib.c: New test case module.
14796         * elf/Makefile (tests, modules-names): Use them.
14797         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
14798         early.
14800 2015-07-15  David S. Miller  <davem@davemloft.net>
14802         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
14803         futex-intenal.h
14804         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
14805         * sysdeps/sparc/sparc64/Makefile: Likewise.
14806         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14807         Remove space from macro define.
14808         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
14810 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
14812         [BZ #17475]
14813         * locale/iso-639.def: Update Bhili and Tulu language codes as
14814         per iso639-3.
14816 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
14818         * elf/tst-leaks1.c (main): Converted to ...
14819         (do_test): ... this.
14820         (TEST_FUNCTION): New macro.
14821         Include test-skeleton.c.
14822         * localedata/tst-langinfo.c (main): Converted to ...
14823         (do_test): ... this.
14824         (TEST_FUNCTION): New macro.
14825         Include test-skeleton.c.
14826         * math/test-fpucw.c (main): Converted to ...
14827         (do_test): ... this.
14828         (TEST_FUNCTION): New macro.
14829         Include test-skeleton.c.
14830         * math/test-tgmath.c (main): Converted to ...
14831         (do_test): ... this.
14832         (TEST_FUNCTION): New macro.
14833         Include test-skeleton.c.
14834         * math/test-tgmath2.c (main): Converted to ...
14835         (do_test): ... this.
14836         (TEST_FUNCTION): New macro.
14837         Include test-skeleton.c.
14838         * setjmp/tst-setjmp.c (main): Converted to ...
14839         (do_test): ... this.
14840         (TEST_FUNCTION): New macro.
14841         Include test-skeleton.c.
14842         * stdio-common/tst-sscanf.c (main): Converted to ...
14843         (do_test): ... this.
14844         (TEST_FUNCTION): New macro.
14845         Include test-skeleton.c.
14846         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
14847         (do_test): ... this.
14848         (TEST_FUNCTION): New macro.
14849         Include test-skeleton.c.
14851         * elf/tst-audit9.c (main): Converted to ...
14852         (do_test): ... this.
14853         (TEST_FUNCTION): New macro.
14854         Include test-skeleton.c.
14856 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
14858         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
14860 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14862         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
14863         New variable.
14865 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14867         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14869 2015-07-14  Roland McGrath  <roland@hack.frob.com>
14871         * sysdeps/generic/dl-fileid.h: New file.
14872         * sysdeps/posix/dl-fileid.h: New file.
14873         * sysdeps/nacl/dl-fileid.h: New file.
14874         * include/link.h: Include <dl-fileid.h>.
14875         (struct link_map): Replace l_dev and l_ino with l_file_id.
14876         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
14877         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
14878         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
14880 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14882         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
14884 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14886         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
14887         Add iff $CXX is set.
14888         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
14889         Likewise.
14890         (tst-nodelete-zmodiff): Likewise.
14891         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
14893 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14895         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
14897 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14899         * sysdeps/aarch64/fpu/math_private.h
14900         (define math_opt_barrier): Add AArch64 version.
14901         (math_force_eval): Likewise.
14903 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14905         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
14907 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14909         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
14910         %ld with %jd and cast to intmax_t.
14911         (do_test_length_zero): Likewise.
14913 2015-07-10  Roland McGrath  <roland@hack.frob.com>
14915         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
14917 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
14919         * sysdeps/tile/libm-test-ulps: Regenerated.
14921         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
14922         Comment out the whole function, not just its body.
14924 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14926         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
14927         locks.
14929         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
14931 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14933         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
14934         (sem_assume_only_signals_cause_futex_EINTR): Remove.
14936 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14938         * sysdeps/nptl/futex-internal.h: New file.
14939         * sysdeps/nacl/futex-internal.h: New file.
14940         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
14941         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
14942         error checking.
14943         (setxid_unmark_thread): Likewise.
14944         (__nptl_setxid): Likewise.
14945         (__wait_lookup_done): Likewise.
14946         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14947         * nptl/nptl-init.c (sighandler_setxid): Likewise.
14948         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14949         * nptl/pthread_once.c (clear_once_control): Likewise.
14950         (__pthread_once_slow): Likewise.
14951         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14952         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14953         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14954         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14955         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14956         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14957         Likewise.
14958         (__pthread_rwlock_rdlock): Likewise.
14959         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14960         Likewise.
14961         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14962         Likewise.
14963         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14964         Likewise.
14965         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14966         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14967         Likewise.
14968         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14969         __ASSUME_PRIVATE_FUTEX check.
14970         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14971         Check that shared futexes are supported.
14972         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14973         wrappers with error checking.
14974         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14975         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14976         * nptl/pthread_barrierattr_setpshared.c
14977         (pthread_barrierattr_setpshared): Check that shared futexes are
14978         supported.
14979         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14980         Likewise.
14981         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14982         Likewise.
14983         * nptl/sem_init.c (futex_private_if_supported): Remove.
14984         (__new_sem_init): Adapt and check that shared futexes are supported.
14985         * nptl/sem_open.c (sem_open): Likewise.
14986         * nptl/sem_post.c (futex_wake): Remove.
14987         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14988         (do_futex_wait): Use futex wrappers with error checking.
14989         * nptl/sem_wait.c: Include lowlevellock.h.
14990         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14991         Use futex_supports_pshared.
14992         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14993         Use futex wrappers with error checking.
14994         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14995         Likewise.
14996         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14997         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14998         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14999         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15000         (futex_wake): Likewise.
15001         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15002         (do_futex_wait): Use futex wrappers with error checking.
15003         (__new_sem_wait_slow): Update EINTR handling.
15004         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15006 2015-07-09  Martin Sebor  <msebor@redhat.com>
15008         [BZ #18435]
15009         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15010         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15011         * nptl/Makefile (test-xfail-tst-once5): Define.
15013 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15015         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15016         * elf/dl-minimal.c: For readability, reorder some definitions and
15017         introduce more page breaks.  Include <stdio.h>.
15018         (__libc_fatal): New function.
15020         * include/unistd.h: Add rtld_hidden_proto for _exit.
15021         * posix/_exit.c: Add rtld_hidden_def.
15022         * sysdeps/mach/hurd/_exit.c: Likewise.
15023         * sysdeps/nacl/_exit.c: Likewise.
15024         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15025         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15027 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15029         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15030         bndmov encoding with zero displacement.
15032 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15033             H.J. Lu  <hongjiu.lu@intel.com>
15035         [BZ #18134]
15036         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15037         * sysdeps/i386/configure: Regenerated.
15038         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15039         (_dl_runtime_profile): Save and restore Intel MPX return bound
15040         registers when calling _dl_call_pltexit.  Add
15041         PRESERVE_BND_REGS_PREFIX before return.
15042         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15043         (LRV_BND1_OFFSET): Likewise.
15044         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15045         lrv_bnd1.
15046         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15047         typo in bndmov encoding.
15048         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15049         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15050         branch instructions to preserve bounds.
15052 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15055         [GLIBC_2.22]: Add fmemopen.
15057 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15059         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15060         returns an error, also try to use host port from __mach_host_self for
15061         the __vm_wire call.
15062         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15064 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15066         [BZ #18400]
15067         [BZ #18648]
15068         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15069         Fix pr_uid and pr_gid members.
15070         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15071         definition to elf_greg_t.
15073 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15075         [BZ #18383]
15076         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15077         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15078         * sysdeps/arm/configure: Regenerated.
15079         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15080         (test-xfail-tst-tlsalign-static): Variable removed.
15082         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15083         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15084         rather than explicit 'ln -s'.
15086         * resolv/rpc/netdb.h: New file.
15087         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15089 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15091         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15092         length buffers.
15093         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15094         test-skeleton.c.
15096         [BZ #6544]
15097         [BZ #11216]
15098         [BZ #12836]
15099         [BZ #13151]
15100         [BZ #13152]
15101         [BZ #14292]
15102         * include/stdio.h (fmemopen): Remove hidden prototype.
15103         (__fmemopen): Add new hidden prototype.
15104         * libio/Makefile: Add oldfmemopen object.
15105         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15106         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15107         compliance.
15108         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15109         symbol compatibility.
15110         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15111         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15112         fmemopen.
15113         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15114         on append and read mode.
15115         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15116         fmemopen.
15117         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15118         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15119         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15120         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15121         Likewise.
15122         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15123         [GLIBC_2.22]: Likewise.
15124         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15125         Likewise.
15126         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15127         Likewise.
15128         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15129         [GLIBC_2.22]: Likewise.
15130         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15131         [GLIBC_2.22]: Likewise.
15132         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15133         [GLIBC_2.22]: Likewise.
15134         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15135         [GLIBC_2.22]: Likewise.
15136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15137         [GLIBC_2.22]: Likewise.
15138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15139         [GLIBC_2.22]: Likewise.
15140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15141         [GLIBC_2.22]: Likewise.
15142         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15143         Likewise.
15144         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15145         Likewise.
15146         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15147         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15148         [GLIBC_2.22]: Likewise.
15149         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15150         [GLIBC_2.22]: Likewise.
15151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15152         [GLIBC_2.22]: Likewise.
15153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15154         [GLIBC_2.22]: Likewise.
15155         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15156         Likewise.
15157         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15158         Likewise.
15159         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15160         Likewise.
15161         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15162         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15164 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15166         [BZ #18643]
15167         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15168         IPV6_PATHMTU, and IPV6_DONTFRAG.
15170 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15172         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15173         and _IO_UNBUFFERED.
15174         * libio/oldfileops.c: Likewise.
15175         * libio/wfileops.c: Likewise.
15177 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15179         * nscd/selinux.c: Delete selinux/flask.h include.
15181 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15183         [BZ #18641]
15184         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15185         (putpwent): Likewise.
15186         (getpwnam): Likewise.
15187         (getpwent_r): Likewise.
15188         (getpwuid_r): Likewise.
15189         (getpwnam_r): Likewise.
15190         (fgetpwent_r): Likewise.
15192 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15194         [BZ #18557]
15195         * inet/rcmd.c (__validuser2_sa): Check user first to
15196         short-circuit host check.
15198 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15199             Mikhail Ilin  <m.ilin@samsung.com>
15201         [BZ #17833]
15202         * elf/Makefile (tests): Add tst-nodelete.
15203         (modules-names): Add tst-nodelete-uniquemod.
15204         (tst-nodelete-uniquemod.so-no-z-defs): New.
15205         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15206         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15207         ($(objpfx)tst-nodelete): Likewise.
15208         ($(objpfx)tst-nodelete.out): Likewise.
15209         (LDFLAGS-tst-nodelete): Likewise.
15210         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15211         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15212         implement forced object deletion.
15213         (_dl_close): Pass false to _dl_close_worker.
15214         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15215         * elf/tst-nodelete.cc: New file.
15216         * elf/tst-nodeletelib.cc: Likewise.
15217         * elf/tst-znodeletelib.cc: Likewise.
15218         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15220 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15222         [BZ #18508]
15223         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15224         Depend on $(libdl).
15225         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15226         is not called infinitely times.
15227         (backtrace_helper): New function.
15228         (trace_arg): New struct.
15229         (st1): Enlarge stack size.
15230         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15231         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15232         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15233         Likewise.
15235 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15237         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15239 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15241         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15242         Include sys/types.h instead of bits/types.h.
15243         Remove inclusion of bits/wordsize.h.
15245 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15247         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15248         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15249         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15250         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15251         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15252         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15254 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15256         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15257         link-defines.sym.
15258         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15259         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15260         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15261         and LR_SIZE.
15262         * sysdeps/i386/link-defines.sym: New file.
15264 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15266         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15267         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15268         ($(objpfx)tst-audit3): New rule.
15269         ($(objpfx)tst-audit3.out): Likewise.
15270         * sysdeps/i386/tst-audit3.c: New file.
15271         * sysdeps/i386/tst-audit3.h: Likewise.
15272         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15273         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15275 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15277         [BZ #18633]
15278         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15279         pointer in C code.
15280         (__strcat_c): Likewise.
15281         (__strcat_g): Likewise.
15283 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15285         [BZ #18592]
15286         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15288 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15290         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15291         New function.  (__ieee754_sqrtf): New function.
15292         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15293         New function.
15294         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15295         New function.
15297 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15299         * sysdeps/ieee754/support.c: Remove unused file.
15301 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15303         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15304         registers instead of d ones so the layout is kernel abi compatible.
15305         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15306         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15307         Likewise.
15309 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15311         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15313 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15315         [BZ #18619]
15316         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15317         and return argument in case of subnormal argument.
15319 2015-07-01  Martin Sebor  <msebor@redhat.com>
15321         [BZ #18435]
15322         * nptl/Makefile: Add tst-once5.cc.
15323         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15324         Remove macro redefinitions.
15325         * nptl/tst-once5.cc: New test.
15327 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15329         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15331         * sysdeps/arm/libm-test-ulps: Regenerated.
15333         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15334         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15336 2015-06-30  Torvald Riegel  <triegel@redhat.com>
15338         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15339         lll_lock_wait_private and lll_futex_wake probes.
15341         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15342         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15343         Likewise.
15344         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15345         atomic_spin_nop.
15346         * sysdeps/x86_64/bits/atomic.h: Likewise.
15347         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15348         to atomic_spin_nop and move ...
15349         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15350         ... here and ...
15351         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15352         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15353         atomic_spin_nop instead of BUSY_WAIT_NOP.
15354         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15355         Likewise.
15356         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15357         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15358         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15359         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15360         instead of atomic_delay.
15362 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
15364         [BZ #18613]
15365         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15366         X_ADJ not X when adjusting exponent.
15367         (__ieee754_gamma_r): Do intermediate computations in
15368         round-to-nearest then adjust overflowing and underflowing results
15369         as needed.
15370         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15371         of X_ADJ not X when adjusting exponent.
15372         (__ieee754_gammaf_r): Do intermediate computations in
15373         round-to-nearest then adjust overflowing and underflowing results
15374         as needed.
15375         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15376         log of X_ADJ not X when adjusting exponent.
15377         (__ieee754_gammal_r): Do intermediate computations in
15378         round-to-nearest then adjust overflowing and underflowing results
15379         as needed.  Use 1.0L not 1.0f as numerator of division.
15380         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15381         log of X_ADJ not X when adjusting exponent.
15382         (__ieee754_gammal_r): Do intermediate computations in
15383         round-to-nearest then adjust overflowing and underflowing results
15384         as needed.  Use 1.0L not 1.0f as numerator of division.
15385         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15386         of X_ADJ not X when adjusting exponent.
15387         (__ieee754_gammal_r): Do intermediate computations in
15388         round-to-nearest then adjust overflowing and underflowing results
15389         as needed.  Use 1.0L not 1.0f as numerator of division.
15390         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15391         to auto-libm-test-in.
15392         (tgamma_test): Use ALL_RM_TEST.
15393         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15394         tests of tgamma with spurious-overflow.
15395         * math/auto-libm-test-out: Regenerated.
15396         * math/gen-libm-have-vector-test.sh: Do not check for START.
15397         * sysdeps/i386/fpu/libm-test-ulps: Update.
15398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15400         [BZ #18612]
15401         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15402         arguments, just return 0.5 times the argument, with underflow
15403         forced as needed.
15404         * math/auto-libm-test-in: Add more tests of j1.
15405         * math/auto-libm-test-out: Regenerated.
15407         [BZ #16559]
15408         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15409         (__ieee754_j1): Force underflow exception for small results.
15410         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15411         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15412         (__ieee754_j1f): Force underflow exception for small results.
15413         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15414         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15415         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15416         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15417         (__ieee754_j1l): Force underflow exception for small results.
15418         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15419         * math/auto-libm-test-in: Add more tests of j1 and jn.
15420         * math/auto-libm-test-out: Regenerated.
15422         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15423         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15424         (PF_MPLS): Likewise.
15425         (AF_IB): Likewise.
15426         (AF_MPLS): Likewise.
15427         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15428         value and macro.
15429         (MS_RMT_MASK): Include MS_LAZYTIME.
15431 2015-06-26  Mel Gorman  <mgorman@suse.de>
15433         [BZ #18502]
15434         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15435         already minimal.
15437 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15439         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15440         (DT_MIPS_NUM): Update.
15441         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15442         DT_MIPS_RLD_MAP_REL.
15444 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15446         [BZ #16559]
15447         [BZ #18602]
15448         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15449         round-to-nearest internally then recompute results that
15450         underflowed to zero in the original rounding mode.
15451         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15452         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15453         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15454         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15455         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15456         * sysdeps/i386/fpu/libm-test-ulps: Update.
15457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15459 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15461         * NEWS: Fixed description of link with vector math library.
15463 2015-06-25  Andreas Schwab  <schwab@suse.de>
15465         [BZ #18549]
15466         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15467         * libio/test-fmemopen.c (do_test): Add test for it.
15469 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15471         [BZ #17841]
15472         * Makeconfig (no-pie-ldflag): New.
15473         (+link): Set to $(+link-pie) if default to PIE.
15474         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15475         * config.make.in (build-pie-default): New.
15476         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15477         is default.  AC_SUBST.
15478         * configure: Regenerated.
15479         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15481 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15483         * nptl/descr.h (struct pthread): Change type of field setxid_futex
15484         to 'unsigned int'.
15486         * resolv/gai_misc.h (struct waitlist): Change type of field
15487         counterp to 'volatile unsigned int *'.
15488         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15489         FUTEXADDR and OLDVAL.
15490         * resolv/getaddrinfo_a.c (getaddrinfo_a):
15491         Give local variable TOTAL type 'volatile unsigned int'.
15492         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15493         * resolv/gai_suspend.c (gai_suspend):
15494         Give local variable CNTR type 'unsigned int'.
15496         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15497         counterp to 'volatile unsigned int *'.
15498         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15499         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15500         (aio_suspend): Give local variable CNTR type 'unsigned int'.
15501         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15502         Give local variable TOTAL type 'volatile unsigned int'.
15503         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15505 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15507         [BZ #18383]
15508         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15509         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
15510         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15511         comment for i386/x86-64.
15512         (test-xfail-tst-tlsalign-extern-static): Removed.
15514 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15516         * math/test-double.h: New file.
15517         * math/test-float.h: Likewise.
15518         * math/test-ldouble.h: Likewise.
15519         * math/test-math-inline.h: Likewise.
15520         * math/test-math-no-inline.h: Likewise.
15521         * math/test-math-scalar.h: Likewise.
15522         * math/test-math-vector.h: Likewise.
15523         * math/test-vec-loop.h: Remove file.  Contents moved into
15524         test-math-vector.h.
15525         * math/libm-test.inc (MATHCONST): Do not document macro.
15526         * math/test-double.c: Include test-double.h, test-math-no-inline.h
15527         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_DOUBLE): Likewise.
15536         (TEST_MATHVEC): Likewise.
15537         (__NO_MATH_INLINES): Likewise.
15538         * math/test-float.c: Include test-float.h, test-math-no-inline.h
15539         and test-math-scalar.h.
15540         (FUNC): Remove macro.
15541         (FUNC_TEST): Likewise.
15542         (FLOAT): Likewise.
15543         (MATHCONST): Likewise.
15544         (PRINTF_EXPR): Likewise.
15545         (PRINTF_XEXPR): Likewise.
15546         (PRINTF_NEXPR): Likewise.
15547         (TEST_FLOAT): Likewise.
15548         (TEST_MATHVEC): Likewise.
15549         (__NO_MATH_INLINES): Likewise.
15550         * math/test-idouble.c: Include test-double.h, test-math-inline.h
15551         and test-math-scalar.h.
15552         (FUNC): Remove macro.
15553         (FUNC_TEST): Likewise.
15554         (FLOAT): Likewise.
15555         (MATHCONST): Likewise.
15556         (PRINTF_EXPR): Likewise.
15557         (PRINTF_XEXPR): Likewise.
15558         (PRINTF_NEXPR): Likewise.
15559         (TEST_DOUBLE): Likewise.
15560         (TEST_MATHVEC): Likewise.
15561         (TEST_INLINE): Likewise.
15562         (__NO_MATH_INLINES): Likewise.
15563         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15564         test-math-scalar.h.
15565         (FUNC): Remove macro.
15566         (FUNC_TEST): Likewise.
15567         (FLOAT): Likewise.
15568         (MATHCONST): Likewise.
15569         (PRINTF_EXPR): Likewise.
15570         (PRINTF_XEXPR): Likewise.
15571         (PRINTF_NEXPR): Likewise.
15572         (TEST_FLOAT): Likewise.
15573         (TEST_MATHVEC): Likewise.
15574         (TEST_INLINE): Likewise.
15575         (__NO_MATH_INLINES): Likewise.
15576         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15577         and test-math-scalar.h.
15578         (FUNC): Remove macro.
15579         (FUNC_TEST): Likewise.
15580         (FLOAT): Likewise.
15581         (MATHCONST): Likewise.
15582         (PRINTF_EXPR): Likewise.
15583         (PRINTF_XEXPR): Likewise.
15584         (PRINTF_NEXPR): Likewise.
15585         (TEST_LDOUBLE): Likewise.
15586         (TEST_MATHVEC): Likewise.
15587         (TEST_INLINE): Likewise.
15588         (__NO_MATH_INLINES): Likewise.
15589         * math/test-ldouble.c: Include test-ldouble.h,
15590         test-math-no-inline.h and test-math-scalar.h.
15591         (FUNC): Remove macro.
15592         (FUNC_TEST): Likewise.
15593         (FLOAT): Likewise.
15594         (MATHCONST): Likewise.
15595         (PRINTF_EXPR): Likewise.
15596         (PRINTF_XEXPR): Likewise.
15597         (PRINTF_NEXPR): Likewise.
15598         (TEST_LDOUBLE): Likewise.
15599         (TEST_MATHVEC): Likewise.
15600         (__NO_MATH_INLINES): Likewise.
15601         * math/test-double-vlen2.h: Include test-double.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_DOUBLE): 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-double-vlen4.h: Include test-double.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_DOUBLE): 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-double-vlen8.h: Include test-double.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_DOUBLE): 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         * math/test-float-vlen4.h: Include test-float.h,
15665         test-math-no-inline.h and test-math-vector.h.
15666         (FLOAT): Remove macro.
15667         (FUNC): Likewise.
15668         (MATHCONST): Likewise.
15669         (PRINTF_EXPR): Likewise.
15670         (PRINTF_XEXPR): Likewise.
15671         (PRINTF_NEXPR): Likewise.
15672         (TEST_FLOAT): Likewise.
15673         (TEST_MATHVEC): Likewise.
15674         (__NO_MATH_INLINES): Likewise.
15675         (CNCT): Likewise.
15676         (CONCAT): Likewise.
15677         (WRAPPER_NAME): Likewise.
15678         (WRAPPER_DECL): Likewise.
15679         (WRAPPER_DECL_ff): Likewise.
15680         (WRAPPER_DECL_fFF): Likewise.
15681         (VECTOR_WRAPPER): Likewise.
15682         (VECTOR_WRAPPER_ff): Likewise.
15683         (VECTOR_WRAPPER_fFF): Likewise.
15684         (VEC_LEN): New macro.
15685         * math/test-float-vlen8.h: Include test-float.h,
15686         test-math-no-inline.h and test-math-vector.h.
15687         (FLOAT): Remove macro.
15688         (FUNC): Likewise.
15689         (MATHCONST): Likewise.
15690         (PRINTF_EXPR): Likewise.
15691         (PRINTF_XEXPR): Likewise.
15692         (PRINTF_NEXPR): Likewise.
15693         (TEST_FLOAT): Likewise.
15694         (TEST_MATHVEC): Likewise.
15695         (__NO_MATH_INLINES): Likewise.
15696         (CNCT): Likewise.
15697         (CONCAT): Likewise.
15698         (WRAPPER_NAME): Likewise.
15699         (WRAPPER_DECL): Likewise.
15700         (WRAPPER_DECL_ff): Likewise.
15701         (WRAPPER_DECL_fFF): Likewise.
15702         (VECTOR_WRAPPER): Likewise.
15703         (VECTOR_WRAPPER_ff): Likewise.
15704         (VECTOR_WRAPPER_fFF): Likewise.
15705         (VEC_LEN): New macro.
15706         * math/test-float-vlen16.h: Include test-float.h,
15707         test-math-no-inline.h and test-math-vector.h.
15708         (FLOAT): Remove macro.
15709         (FUNC): Likewise.
15710         (MATHCONST): Likewise.
15711         (PRINTF_EXPR): Likewise.
15712         (PRINTF_XEXPR): Likewise.
15713         (PRINTF_NEXPR): Likewise.
15714         (TEST_FLOAT): Likewise.
15715         (TEST_MATHVEC): Likewise.
15716         (__NO_MATH_INLINES): Likewise.
15717         (CNCT): Likewise.
15718         (CONCAT): Likewise.
15719         (WRAPPER_NAME): Likewise.
15720         (WRAPPER_DECL): Likewise.
15721         (WRAPPER_DECL_ff): Likewise.
15722         (WRAPPER_DECL_fFF): Likewise.
15723         (VECTOR_WRAPPER): Likewise.
15724         (VECTOR_WRAPPER_ff): Likewise.
15725         (VECTOR_WRAPPER_fFF): Likewise.
15726         (VEC_LEN): New macro.
15727         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15728         test-vec-loop.h.
15729         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15730         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15731         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15732         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15733         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15734         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15735         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15737 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15739         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
15740         (__getlogin_r): ... this.
15742 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15744         [BZ #18594]
15745         * math/s_ccosh.c (__ccosh): Compare with least normal value
15746         instead of comparing class with FP_SUBNORMAL.
15747         * math/s_ccoshf.c (__ccoshf): Likewise.
15748         * math/s_ccoshl.c (__ccoshl): Likewise.
15749         * math/s_cexp.c (__cexp): Likewise.
15750         * math/s_cexpf.c (__cexpf): Likewise.
15751         * math/s_cexpl.c (__cexpl): Likewise.
15752         * math/s_csin.c (__csin): Likewise.
15753         * math/s_csinf.c (__csinf): Likewise.
15754         * math/s_csinh.c (__csinh): Likewise.
15755         * math/s_csinhf.c (__csinhf): Likewise.
15756         * math/s_csinhl.c (__csinhl): Likewise.
15757         * math/s_csinl.c (__csinl): Likewise.
15758         * math/s_ctan.c (__ctan): Likewise.
15759         * math/s_ctanf.c (__ctanf): Likewise.
15760         * math/s_ctanh.c (__ctanh): Likewise.
15761         * math/s_ctanhf.c (__ctanhf): Likewise.
15762         * math/s_ctanhl.c (__ctanhl): Likewise.
15763         * math/s_ctanl.c (__ctanl): Likewise.
15764         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
15765         csin, csinh, ctan and ctanh.
15766         * math/auto-libm-test-out: Regenerated.
15767         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
15768         * sysdeps/i386/fpu/libm-test-ulps: Update.
15769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15771 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15773         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
15774         return value is wrong, print the expected value too.
15776 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15778         [BZ #18585]
15779         * elf/readlib.c (is_gdb_python_file): New.
15780         (process_file): Don't issue errors on filenames with -gdb.py
15781         suffix.
15783 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15785         * math/auto-libm-test-in: Add more tests of csin and csinh.
15786         * math/auto-libm-test-out: Regenerated.
15787         * math/libm-test.inc (csin_test_data): Remove tests moved to
15788         auto-libm-test-in.
15789         (csinh_test_data): Likewise.
15791         [BZ #18593]
15792         * math/s_csin.c (__csin): Negate before rather than after possibly
15793         overflowing multiplication.
15794         * math/s_csinf.c (__csinf): Likewise.
15795         * math/s_csinh.c (__csinh): Likewise.
15796         * math/s_csinhf.c (__csinhf): Likewise.
15797         * math/s_csinhl.c (__csinhl): Likewise.
15798         * math/s_csinl.c (__csinl): Likewise.
15799         * math/auto-libm-test-in: Add some tests of csin and csinh.
15800         * math/auto-libm-test-out: Regenerated.
15801         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
15802         (csinh_test_data): Likewise.
15803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15805         [BZ #18586]
15806         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
15807         underflow exception for small results.
15809 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15811         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15812         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
15813         variable and included header.
15814         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
15815         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
15816         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
15817         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
15818         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
15819         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15820         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15821         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
15822         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
15823         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
15824         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
15825         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
15826         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
15827         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
15828         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
15829         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
15831 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15833         [BZ #16526]
15834         [BZ #16538]
15835         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
15836         (__sin): Force underflow exception for arguments with small
15837         absolute value.
15838         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
15839         (__kernel_sinf): Force underflow exception for arguments with
15840         small absolute value.
15841         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
15842         (__kernel_sincosl): Force underflow exception for arguments with
15843         small absolute value.
15844         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
15845         (__kernel_sinl): Force underflow exception for arguments with
15846         small absolute value.
15847         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
15848         (__kernel_sincosl): Force underflow exception for arguments with
15849         small absolute value.
15850         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
15851         (__kernel_sinl): Force underflow exception for arguments with
15852         small absolute value.
15853         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
15854         (__kernel_sinl): Force underflow exception for arguments with
15855         small absolute value.
15856         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
15857         (__kernel_sinf): Force underflow exception for arguments with
15858         small absolute value.
15859         * math/auto-libm-test-in: Add more tests of sin and sincos.
15860         * math/auto-libm-test-out: Regenerated.
15862         [BZ #18245]
15863         [BZ #18583]
15864         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
15865         (__kernel_standard_l): Use feholdexcept and fesetenv around
15866         conversion to double instead of special-casing overflow and
15867         underflow.
15868         * math/libm-test.inc (fmod_test_data): Add more tests.
15869         (remainder_test_data): Likewise.
15870         (sqrt_test_data): Likewise.
15872 2015-06-23  Torvald Riegel  <triegel@redhat.com>
15874         [BZ #17403]
15875         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
15876         atomic_read_barrier, atomic_write_barrier): Define.
15877         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
15878         atomic_read_barrier, atomic_write_barrier): Define.
15880 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15882         * math/Makefile [$(PERL) != no]
15883         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
15884         dependency on libm-test.stmp below the inclusion of Rules.
15886 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
15888         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15889         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
15890         and included header.
15891         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
15892         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
15893         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
15894         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
15895         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
15896         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
15897         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15898         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15899         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
15900         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
15901         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
15902         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
15903         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
15904         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
15905         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
15906         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
15907         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
15908         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
15909         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
15911 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15913         [BZ #18371]
15914         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
15915         intermediate but not final result might underflow.
15916         * math/s_csqrtf.c (__csqrtf): Likewise.
15917         * math/s_csqrtl.c (__csqrtl): Likewise.
15918         * math/auto-libm-test-in: Add more tests of csqrt.
15919         * math/auto-libm-test-out: Regenerated.
15920         * sysdeps/i386/fpu/libm-test-ulps: Update.
15922         [BZ #18219]
15923         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
15924         threshold on absolute value of exponent for which scaling is used.
15925         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15926         * math/auto-libm-test-in: Add more tests of exp2.
15927         * math/auto-libm-test-out: Regenerated.
15929 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
15931         [BZ #17977]
15932         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
15933         when initializing interface list, based on the bug analysis
15934         and the patch proposed by Eric Newton.
15935         * resolv/tst-res_hconf_reorder.c: New test.
15936         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
15937         tst-res_hconf_reorder.
15938         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
15939         and $(shared-thread-library).
15940         (tst-res_hconf_reorder-ENV): New variable.
15942         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15943         in comment.
15945 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
15947         [BZ #16353]
15948         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15949         (__expm1): Force underflow exception for arguments with small
15950         absolute value.
15951         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15952         (__expm1f): Force underflow exception for arguments with small
15953         absolute value.
15954         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15955         (__expm1): Force underflow exception for arguments with small
15956         absolute value.
15957         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15958         (__expm1f): Force underflow exception for arguments with small
15959         absolute value.
15960         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15961         Check for small arguments before calling __expm1.
15962         * math/auto-libm-test-in: Do not mark underflow exceptions as
15963         possibly missing for bug 16353.
15964         * math/auto-libm-test-out: Regenerated.
15966 2015-06-22  Andreas Schwab  <schwab@suse.de>
15968         [BZ #18513]
15969         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15970         PTR queries.
15972 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
15974         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15976         * string/strcoll_l.c: Remove unused struct element idxnow.
15978 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
15980         [BZ #18569]
15981         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15982         underflow and return argument in case of subnormal argument.
15983         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15984         Likewise.
15985         * math/auto-libm-test-in: Add more tests of expm1.
15986         * math/auto-libm-test-out: Regenerated.
15988         [BZ #16361]
15989         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15990         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15991         tiny results.
15992         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15993         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15994         tiny results.
15995         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
15996         mark underflow exceptions as possibly missing for bug 16361.
15997         * math/auto-libm-test-out: Regenerated.
15999 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16001         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16002         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16003         Remove variable.
16004         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16005         (test-xfail-XOPEN2K8/utmpx.h/conform).
16007         * conform/conformtest.pl ($xerrors): New variable.
16008         (note_error): New function.
16009         (compiletest): New argument $xfail.  Use not_error.
16010         (runtest): Likewise.
16011         (top level): Handle xfail- lines.  Update calls to compiletest and
16012         runtest.  Handle xfail- and optional- in headers listed with
16013         allow-header.
16014         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16015         (O_EXEC): Likewise.
16016         (O_SEARCH): Likewise.
16017         * conform/data/stropts.h-data (ioctl): Likewise.
16018         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16019         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16020         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16021         (msghdr.msg_controllen): Likewise.
16022         (cmsghdr.cmsg_len): Likewise.
16023         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16024         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16025         variable.
16026         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16027         (test-xfail-XPG4/stropts.h/conform): Likewise.
16028         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16029         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16030         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16031         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16032         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16033         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16034         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16035         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16036         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16037         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16038         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16039         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16040         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16041         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16042         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16043         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16044         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16045         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16046         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16048 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16050         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16051         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16052         definitions for proper unfolding of __MATHDECL_VEC.
16054 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16056         * benchtests/bench-strcoll.c:
16057         Include string.h.
16058         (main): Remove unused variable res.
16060 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16062         * timezone/Makefile (%/UTC %/Universal):
16063         Generate test-result files for UTC and Universal.
16065 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16067         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16069 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16071         [BZ #16350]
16072         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16073         for arguments with small absolute value.
16074         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16075         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16076         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16077         (__asinh): Force underflow exception for arguments with small
16078         absolute value.
16079         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16080         (__asinhf): Force underflow exception for arguments with small
16081         absolute value.
16082         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16083         (__asinhl): Force underflow exception for arguments with small
16084         absolute value.
16085         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16086         (__asinhl): Force underflow exception for arguments with small
16087         absolute value.
16088         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16089         (__asinhl): Force underflow exception for arguments with small
16090         absolute value.
16091         * math/auto-libm-test-in: Do not mark underflow exceptions as
16092         possibly missing for bug 16350.
16093         * math/auto-libm-test-out: Regenerated.
16095         * include/bits/ipc.h: Remove file.
16096         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16097         variable.
16098         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16099         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16100         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16101         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16102         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16103         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16104         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16105         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16106         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16108         * math/auto-libm-test-in: Remove spurious underflow allowance for
16109         tests of cexp.
16110         * math/auto-libm-test-out: Regenerated.
16112         [BZ #18558]
16113         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16114         unconditional definition.
16115         (MCAST_BLOCK_SOURCE): Likewise.
16116         (MCAST_UNBLOCK_SOURCE): Likewise.
16117         (MCAST_LEAVE_GROUP): Likewise.
16118         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16119         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16120         (MCAST_MSFILTER): Likewise.
16121         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16122         Remove variable.
16123         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16124         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16125         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16126         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16127         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16129 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16131         * NEWS: Mention addition of x86_64 vector sincosf.
16132         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16133         * math/test-float-vlen4.h: Likewise.
16134         * math/test-float-vlen8.h: Likewise.
16135         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16136         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16137         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16138         * sysdeps/x86_64/fpu/Versions: New versions added.
16139         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16140         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16141         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16142         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16143         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16144         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16145         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16146         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16147         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16148         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16149         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16150         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16151         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16152         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16153         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16154         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16155         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16156         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16157         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16158         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16159         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16160         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16161         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16162         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16164         * NEWS: Mention addition of x86_64 vector sincos.
16165         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16166         * math/math.h (__MATHDECL_VEC): New macro.
16167         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16168         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16169         declaration under condition.
16170         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16171         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16172         TEST_VEC_LOOP change.
16173         * math/test-double-vlen4.h: Likewise.
16174         * math/test-double-vlen8.h: Likewise.
16175         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16176         * math/test-float-vlen4.h: Likewise.
16177         * math/test-float-vlen8.h: Likewise.
16178         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16179         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16180         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16181         * sysdeps/x86_64/fpu/Versions: New versions added.
16182         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16183         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16184         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16185         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16186         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16187         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16188         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16189         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16190         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16191         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16192         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16193         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16194         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16195         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16196         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16197         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16198         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16199         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16200         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16201         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16202         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16203         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16204         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16205         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16207         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16208         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16209         redirections for powf.
16210         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16211         * sysdeps/x86_64/fpu/Versions: New versions added.
16212         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16213         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16214         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16215         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16216         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16217         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16218         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16219         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16220         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16221         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16222         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16223         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16224         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16225         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16226         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16227         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16228         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16229         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16230         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16231         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16232         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16233         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16234         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16235         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16236         * math/test-float-vlen16.h: Fixed 2 argument macro.
16237         * math/test-float-vlen4.h: Likewise.
16238         * math/test-float-vlen8.h: Likewise.
16239         * NEWS: Mention addition of x86_64 vector powf.
16241 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16243         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16244         and redefine.
16245         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16246         and redefine.
16247         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16248         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16249         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16251         [BZ #18553]
16252         * resource/getpriority.c (getpriority): Rename to __getpriority
16253         and define as weak alias of __getpriority.
16254         * resource/setpriority.c (setpriority): Rename to __setpriority
16255         and define as weak alias of __setpriority.
16256         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16257         __getpriority and define as weak alias of __getpriority.
16258         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16259         __setpriority and define as weak alias of __setpriority.
16260         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16261         strong name.
16262         (setpriority): Use __setpriority as strong name.
16263         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16264         __getpriority and define as weak alias of __getpriority.
16265         * include/sys/resource.h (__getpriority): Declare.  Use
16266         libc_hidden_proto.
16267         (__setpriority): Likewise.
16268         (getpriority): Don't use libc_hidden_proto.
16269         (setpriority): Likewise.
16270         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16271         getpriority.  Call __setpriority instead of setpriority.
16272         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16273         Remove variable.
16275         [BZ #18547]
16276         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16277         as weak alias of __getttynam.  Use prototype function definition.
16278         Call __setttyent, __getttyent and __endttyent instead of
16279         setttyent, getttyent and endttyent.
16280         (getttyent): Rename to __getttyent and define as weak alias of
16281         __getttyent.  Call __setttyent instead of setttyent.  Call
16282         __fgets_unlocked instead of fgets_unlocked.
16283         (setttyent): Rename to __setttyent and define as weak alias of
16284         __setttyent.
16285         (endttyent): Rename to __endttyent and define as weak alias of
16286         __endttyent.
16287         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16288         (__setttyent): Likewise.
16289         (__endttyent): Likewise.
16290         (getttyent): Don't use libc_hidden_proto.
16291         (setttyent): Likewise.
16292         (endttyent): Likewise.
16293         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16294         __endttyent instead of setttyent, getttyent and endttyent.
16295         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16296         Remove variable.
16298         [BZ #18546]
16299         * socket/recv.c (__recv): Use libc_hidden_def.
16300         * socket/socket.c (__socket): Likewise.
16301         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16302         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16303         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16304         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16305         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16306         libc_hidden_def.
16307         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16308         libc_hidden_weak.
16309         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16310         Use libc_hidden_proto.
16311         (__recv): Likewise.
16312         * socket/Versions (libc): Export __recv and __socket at version
16313         GLIBC_PRIVATE.
16314         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16315         instead of recv.
16316         (init_mq_netlink): Call __socket instead of socket.
16317         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16318         Remove variable.
16320         [BZ #18545]
16321         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16322         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
16323         hidden_weak.
16324         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16325         define as alias of __mq_timedsend.  Use hidden_weak.
16326         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16327         __mq_timedsend as strong name.
16328         (mq_timedreceive): Use __mq_timedreceive as strong name.
16329         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
16330         (__mq_timedreceive): Likewise.
16331         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16332         __mq_timedreceive instead of mq_timedreceive.
16333         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16334         instead of mq_timedsend.
16335         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16336         Remove variable.
16338         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16339         hidden_def and hidden_weak instead of libc_hidden_def and
16340         libc_hidden_weak.
16341         (top level): Refer to hidden_def in comment.
16342         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16343         macro.  Use it instead of libc_hidden_def.
16344         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16345         specify __GI_* name explicitly.
16346         (mq_timedreceive): Likewise.
16347         (mq_setattr): Likewise.
16349         [BZ #18544]
16350         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16351         __pthread_barrier_init and define as weak alias of
16352         __pthread_barrier_init.
16353         * sysdeps/sparc/nptl/pthread_barrier_init.c
16354         (pthread_barrier_init): Likewise.
16355         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16356         __pthread_barrier_wait and define as weak alias of
16357         __pthread_barrier_wait.
16358         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16359         (pthread_barrier_wait): Likewise.
16360         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16361         (pthread_barrier_wait): Likewise.
16362         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16363         (pthread_barrier_wait): Likewise.
16364         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16365         (pthread_barrier_wait): Likewise.
16366         * nptl/Versions (libpthread): Export __pthread_barrier_init and
16367         __pthread_barrier_wait at version GLIBC_PRIVATE.
16368         * include/pthread.h (__pthread_barrier_init): Declare.
16369         (__pthread_barrier_wait): Likewise.
16370         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16371         Call __pthread_barrier_wait instead of pthread_barrier_wait.
16372         (helper_thread): Likewise.
16373         (init_mq_netlink): Call __pthread_barrier_init instead of
16374         pthread_barrier_init.
16376         [BZ #18542]
16377         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16378         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16379         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16380         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16381         vswscanf.
16382         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16383         Remove variable.
16385         [BZ #18540]
16386         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16387         strong alias of _IO_fflush.  Use libc_hidden_def.
16388         * libio/iofflush_u.c (fflush_unlocked): Rename to
16389         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16390         Use libc_hidden_weak.
16391         * include/stdio.h (__fflush_unlocked): Declare.  Use
16392         libc_hidden_proto.
16393         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16394         fflush_unlocked.
16395         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16396         Remove variable.
16398         [BZ #18539]
16399         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16400         define as weak alias of __addseverity.
16401         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16402         Remove variable.
16403         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16404         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16405         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16407         [BZ #18536]
16408         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16409         (__tfind): Likewise.
16410         (__tdelete): Likewise.
16411         (__twalk): Likewise.
16412         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16413         __twalk to GLIBC_PRIVATE.
16414         * include/search.h (__tsearch): Use libc_hidden_proto.
16415         (__tfind): Likewise.
16416         (__tdelete): Likewise.
16417         (__twalk): Likewise.
16418         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16419         Call __tdelete instead of tdelete.
16420         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16421         tfind.  Call __tsearch instead of tsearch.
16422         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16423         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16424         Remove variable.
16425         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16427         [BZ #18534]
16428         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16429         (dprintf): Define as a weak alias of __dprintf, not a strong
16430         alias.
16431         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16432         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16433         dprintf.
16434         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16435         Remove variable.
16436         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16437         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16439         [BZ #18533]
16440         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16441         not a strong alias.
16442         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16443         Remove variable.
16445         [BZ #18532]
16446         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16447         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16448         (in6addr_loopback): Rename to __in6addr_loopback and define as
16449         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16450         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16451         libc_hidden_proto.
16452         (__in6addr_any): Likewise.
16453         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16454         in6addr_any.
16455         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16456         variable.
16457         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16459 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16461         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16462         * math/bits/mathcalls.h: Added pow 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 pow.
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/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16472         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16473         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16474         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16475         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16476         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16477         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16478         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16479         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16480         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16481         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16482         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16483         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16484         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16485         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16486         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16487         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16488         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16489         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16490         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16491         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16492         * NEWS: Mention addition of x86_64 vector pow.
16494         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16495         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16496         redirections for expf.
16497         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16498         * sysdeps/x86_64/fpu/Versions: New versions added.
16499         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16500         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16501         build of SSE, AVX2 and AVX512 IFUNC versions.
16502         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
16503         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16504         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16505         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16506         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16507         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16508         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16509         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16510         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16511         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16512         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16513         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16514         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16515         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16516         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16517         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16518         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16519         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16520         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16521         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16522         * NEWS: Mention addition of x86_64 vector expf.
16524         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16525         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16526         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16527         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16528         redirections for exp.
16529         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16530         * sysdeps/x86_64/fpu/Versions: New versions added.
16531         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16532         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16533         build of SSE, AVX2 and AVX512 IFUNC versions.
16534         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16535         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16536         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16537         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16538         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16539         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16540         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16541         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16542         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16543         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16544         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16545         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16546         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp 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 exp.
16556         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16557         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16558         redirections for logf.
16559         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16560         * sysdeps/x86_64/fpu/Versions: New versions added.
16561         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16562         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16563         build of SSE, AVX2 and AVX512 IFUNC versions.
16564         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
16565         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16566         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16567         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16568         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16569         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16570         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16571         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16572         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16573         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16574         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16575         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16576         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16577         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16578         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16579         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16580         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16581         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16582         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16583         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16584         * NEWS: Mention addition of x86_64 vector logf.
16586         * bits/libm-simd-decl-stubs.h: Added stubs for log.
16587         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16588         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16589         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16590         redirections for log.
16591         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16592         * sysdeps/x86_64/fpu/Versions: New versions added.
16593         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16594         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16595         build of SSE, AVX2 and AVX512 IFUNC versions.
16596         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16597         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16598         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16599         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16600         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16601         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16602         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16603         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16604         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16605         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16606         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16607         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16608         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16609         test.
16610         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16611         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16612         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16613         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16614         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16615         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16616         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16617         * NEWS: Mention addition of x86_64 vector log.
16619 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16621         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16622         cfi_adjust_cfa_offset argument.
16623         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16624         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16626         [BZ #18034]
16627         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16628         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16629         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16630         ordering using ldar.
16631         (_dl_tlsdesc_dynamic): Likewise.
16632         (_dl_tlsdesc_return_lazy): Likewise.
16633         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16634         relaxed atomics instead of volatile and synchronize with release store.
16635         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16636         volatile.
16637         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16639 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16641         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16642         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16643         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16644         * sysdeps/x86_64/fpu/Versions: New versions added.
16645         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16646         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16647         build of SSE, AVX2 and AVX512 IFUNC versions.
16648         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16649         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16650         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16651         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16652         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16653         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16654         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16655         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16656         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16657         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16658         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16659         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16660         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16661         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16662         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16663         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16664         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16665         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16666         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16667         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16668         * NEWS: Mention addition of x86_64 vector sinf.
16670 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16672         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16673         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16674         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16675         Remove variable.
16676         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16677         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16679 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16681         [BZ #18530]
16682         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16683         strong alias of _IO_fputs.  Use libc_hidden_def.
16684         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16685         and define as weak alias of __fputs_unlocked.  Use
16686         libc_hidden_weak.
16687         * include/stdio.h (__fputs_unlocked): Declare.  Use
16688         libc_hidden_proto.
16689         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16690         fputs_unlocked.
16692         [BZ #18529]
16693         * resolv/netdb.h [__USE_POSIX]: Change condition to
16694         [__USE_XOPEN2K].
16695         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16696         not expect.
16697         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16698         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16699         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16700         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16701         [XPG4 || UNIX98] (AI_ALL): Likewise.
16702         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16703         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16704         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16705         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16706         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16707         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16708         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16709         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16710         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16711         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16712         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16713         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16714         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16715         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16716         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16717         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16718         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16719         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16720         [XPG4 || UNIX98] (gai_strerror): Likewise.
16721         [XPG4 || UNIX98] (getaddrinfo): Likewise.
16722         [XPG4 || UNIX98] (getnameinfo): Likewise.
16724         [BZ #18528]
16725         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16726         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16727         __USE_XOPEN2K8].
16728         (getgrent): Likewise.
16729         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16730         expect.
16731         [XPG3 || POSIX2008] (endgrent): Likewise.
16732         [XPG3] (setgrent): Likewise.
16733         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16734         variable.
16735         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16737         [BZ #18527]
16738         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
16739         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
16740         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
16741         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
16742         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
16743         * include/unistd.h (__getlogin_r): Declare.  Use
16744         libc_hidden_proto.
16745         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
16746         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
16747         variable.
16748         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16749         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16750         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16752 2015-06-12  Martin Sebor  <msebor@redhat.com>
16754         [BZ #18512]
16755         * Makerules (check-install-supported): New target.
16756         (install): Add check-install-supported as a dependency.
16757         * manual/install.texi (Installing the C Library): Document
16758         that overriding prefix and exec_prefix is not supported.
16759         Mention DESTDIR.
16760         * INSTALL: Regenerate from the above.
16762 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16764         [BZ #18519]
16765         * posix/Versions (libc): Export __libc_pread at version
16766         GLIBC_PRIVATE.
16767         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
16768         instead of pread.
16769         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
16770         variable.
16772         [BZ #18522]
16773         * misc/efgcvt_r.c
16774         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
16775         (cvt_symbol): Use weak_alias instead of strong_alias.
16776         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
16777         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
16778         Remove variable.
16779         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16780         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16782         [BZ #18520]
16783         * inet/herrno.c (h_errno): Rename to __h_errno.
16784         (__libc_h_errno): Define as alias of __h_errno not h_errno.
16785         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
16786         to __h_errno instead of h_errno.
16787         * nptl/herrno.c (h_errno): Rename to __h_errno.
16788         (__h_errno_location): Refer to __h_errno not h_errno.
16789         * resolv/Versions (h_errno): Rename to __h_errno.
16790         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
16791         Remove variable.
16792         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16794 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
16796         * configure.ac: More strict check for AVX512 assembler support.
16797         * configure: Regenerated.
16799         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
16800         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
16801         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16802         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
16803         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16804         * sysdeps/x86_64/fpu/Versions: New versions added.
16805         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16806         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16807         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16808         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
16809         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
16810         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
16811         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
16812         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
16813         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
16814         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
16815         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
16816         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
16817         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
16818         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
16819         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
16820         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
16821         test.
16822         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16823         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16824         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16825         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16826         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16827         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16828         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16829         * NEWS: Mention addition of x86_64 vector sin.
16831 2015-06-11  Florian Weimer  <fweimer@redhat.com>
16833         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
16834         comment.
16836 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16838         [BZ #18479]
16839         * nptl/pt-interp.c: New file.
16840         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
16841         Add pt-interp.
16842         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
16843         $(common-objpfx)runtime-linker.h.
16845 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
16847         * Makeconfig (+interp): Remove unused variable.
16848         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
16849         only.  Depend on $(common-objpfx)runtime-linker.h instead of
16850         $(elf-objpfx)runtime-linker.h.
16851         ($(elf-objpfx)runtime-linker.h): Rename to
16852         $(common-objpfx)runtime-linker.h and move ...
16853         * Makerules [$(build-shared) = yes]: ... here.
16854         * elf/interp.c: Include <runtime-linker.h> instead of
16855         <elf/runtime-linker.h>.
16857 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16859         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
16860         (__gettimeofday_syscall): Remove vsyscall fallback.
16861         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
16862         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
16863         Add syscall fallback function.
16864         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
16865         if vDSO is not present.
16866         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
16867         fallback function.
16868         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
16869         present.
16870         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
16871         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16873 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
16875         [BZ #18497]
16876         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
16877         of wcscmp.
16878         (wcscmp): Define as weak alias of WCSCMP.
16879         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
16880         wcscoll.
16881         (USE_HIDDEN_DEF): Define.
16882         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
16883         __wcscoll.  Don't use libc_hidden_weak.
16884         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
16885         wcscmp.
16886         * sysdeps/i386/i686/multiarch/wcscmp-c.c
16887         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16888         __GI_wcscmp.
16889         (weak_alias): Undefine and redefine.
16890         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
16891         __wcscmp and define as weak alias of __wcscmp.
16892         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
16893         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
16894         (__wcscoll): Likewise.
16895         (wcscmp): Don't use libc_hidden_proto.
16896         (wcscoll): Likewise.
16897         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
16898         wcscoll.
16899         * posix/regexec.c (check_node_accept_bytes): Likewise.
16900         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
16901         variable.
16902         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16903         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16905         [BZ #18507]
16906         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
16907         __fstatvfs and define as weak alias of __fstatvfs.  Use
16908         libc_hidden_weak.
16909         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
16910         and define as weak alias of __statvfs.  Use libc_hidden_weak.
16911         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
16912         Define as alias of __fstatvfs, not fstatvfs.
16913         (fstatvfs64): Likewise.
16914         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
16915         Define as alias of __statvfs, not statvfs.
16916         (statvfs64): Likewise.
16917         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
16918         Remove variable.
16920 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16923         (HAVE_GETCPU_VSYSCALL): Define.
16924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16925         (HAVE_GETCPU_VSYSCALL): Likewise.
16926         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
16927         * sysdeps/unix/sysv/linux/sched_getcpu.c
16928         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
16929         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
16930         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
16931         prototype.
16932         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16933         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
16934         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
16935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
16936         Define.
16937         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
16938         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16939         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
16940         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16942 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
16944         * sysdeps/x86_64/fpu/Makefile: New file.
16945         * sysdeps/x86_64/fpu/Versions: New file.
16946         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16947         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16948         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16949         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16950         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16951         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16952         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16953         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16954         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16955         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16956         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16957         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16958         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16959         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16960         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16961         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16962         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16963         * sysdeps/x86_64/configure.ac: Options for libmvec build.
16964         * sysdeps/x86_64/configure: Regenerated.
16965         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16966         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16967         * manual/install.texi (Configuring and compiling): Document
16968         --disable-mathvec.
16969         * INSTALL: Regenerated.
16970         * NEWS: Mention addition of libmvec and x86_64 vector cos.
16972         * math/Makefile: Added rules for vector tests.
16973         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16974         declaration under condition.
16975         * math/test-double-vlen2.h: New file.
16976         * math/test-double-vlen4.h: New file.
16977         * math/test-double-vlen8.h: New file.
16978         * math/test-vec-loop.h: Added initialization macro.
16979         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16980         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16981         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16982         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16983         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16984         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16985         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16986         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16987         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16988         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16989         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16991         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16992         * sysdeps/x86_64/fpu/Versions: New versions added.
16993         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16994         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16995         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16996         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16997         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16998         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16999         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17000         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17001         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17002         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17003         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17004         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17005         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17006         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17007         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17008         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17009         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17010         * NEWS: Mention addition of x86_64 vector cosf.
17012         * math/Makefile: Added CFLAGS for new tests.
17013         * math/test-float-vlen16.h: New file.
17014         * math/test-float-vlen4.h: New file.
17015         * math/test-float-vlen8.h: New file.
17016         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17017         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17018         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17019         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17020         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17021         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17022         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17023         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17024         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17025         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17026         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17028 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17030         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17031         * locale/programs/ld-ctype.c: Likewise.
17033 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17035         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17036         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17037         bit_ZMM16_31_state): New macro.
17038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17039         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17041 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17043         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17045 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17047         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17049 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17051         [BZ #18498]
17052         * libio/memstream.c (open_memstream): Rename to __open_memstream
17053         and define as weak alias of __open_memstream.
17054         * include/stdio.h (__open_memstream): Declare.  Use
17055         libc_hidden_proto.
17056         (open_memstream): Don't use libc_hidden_proto.
17057         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17058         open_memstream.
17059         * posix/getopt.c (_getopt_internal_r): Likewise.
17060         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17061         variable.
17062         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17063         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17064         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17066         [BZ #18496]
17067         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17068         instead of wcrtomb.
17070         [BZ #18483]
17071         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17072         [__USE_XOPEN2K8].  Remove redundant #endif.
17073         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17074         Remove redundant #if.
17075         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17076         Remove variable.
17077         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17078         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17080         [BZ #18495]
17081         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17082         (__iswlower): Likewise.
17083         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17084         (__iswlower): Likewise.
17085         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17086         instead of towlower.
17087         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17088         instead of iswlower.  Call __towupper instead of towupper.
17089         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17090         instead of iswalnum.
17092 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17094         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17095         errors to stderr.
17097 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17099         [BZ #15661]
17100         [BZ #17322]
17101         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17102         Check for overflow properly.  Check for O_APPEND.  Ignore large
17103         file system block sizes.  Add comments about problems.
17104         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17105         * manual/filesys.texi (Storage Allocation): New node.
17107 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17109         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17110         cancellable syscalls.
17111         (SYS_ify): Add guard to no redefine it.
17112         (INLINE_SYSCALL): Likewise.
17113         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17114         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17115         SYSCALL_CANCEL instead.
17116         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17117         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17118         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17119         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17120         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17121         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17122         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17123         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17124         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17125         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17126         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17127         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17128         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17129         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17130         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17131         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17132         Likewise.
17133         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17134         (__libc_pread64): Likewise.
17135         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17136         (__libc_preadv): Likewise.
17137         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17138         (__libc_readv64): Likewise.
17139         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17140         (__libc_pwrite): Likewise.
17141         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17142         (__libc_pwrite64): Likewise.
17143         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17144         (__libc_pwritev): Likewise.
17145         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17146         (__libc_pwritev64): Likewise.
17147         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17148         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17149         (sync_file_range): Likewise.
17150         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17151         Likewise.
17152         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17153         Likewise.
17154         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17155         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17156         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17157         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17158         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17159         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17160         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17161         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17163         Likewise.
17164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17165         (__libc_read64): Likewise.
17166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17167         Likewise.
17168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17169         Likewise.
17170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17171         Likewise.
17172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17173         Likewise.
17174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17175         (__libc_pread64): Likewise.
17176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17177         Likewise.
17178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17179         (__libc_pwrite64): Likewise.
17180         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17181         (sync_file_range): Likewise.
17182         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17183         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17184         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17185         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17186         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17187         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17188         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17189         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17190         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17191         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17192         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17193         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17194         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17195         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17196         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17197         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17198         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17199         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17200         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17201         Likewise.
17202         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17203         Likewise.
17204         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17205         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17206         Likewise.
17207         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17208         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17209         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17210         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17211         Likewise.
17212         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17213         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17214         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17215         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17216         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17218 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17220         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17221         Include dl-vdso.
17222         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17223         Use VDSO routines for gettimeofday, clock_gettime if
17224         available.
17225         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17226         Declare VDSO symbols.
17227         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17228         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17229         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17230         * sysdeps/unix/sysv/linux/arm/Versions: Add
17231         __vdso_clock_gettime.
17233 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17235         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17236         be an inline implementation regardless of library is built within.
17237         (open_not_cancel_2): Likewise.
17238         (__read_nocancel): Likewise.
17239         (__write_nocancel): Likewise.
17240         (openat_not_cancel): Likewise.
17241         (openat_not_cancel_3): Likewise.
17242         (openat64_not_cancel): Likewise.
17243         (openat64_not_cancel_3): Likewise.
17244         (__close_nocancel): Likewise.
17245         (pause_not_cancel): Likewise.
17246         (nanosleep_not_cancel): Likewise.
17247         (sigsuspend_not_cancel): Likewise.
17249 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17251         [BZ #14958]
17252         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17253         wake-up.
17254         (__pthread_rwlock_rdlock_slow): Likewise.
17255         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17256         Likewise.
17257         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17258         Likewise.
17259         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17260         * nptl/tst-rwlock16.c: New file.
17261         * nptl/Makefile (tests): Add new test.
17263 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17265         [BZ #18324]
17266         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17267         missing wake-up of readers.
17268         * nptl/tst-rwlock15.c: New file.
17269         * nptl/Makefile (tests): Add new test.
17271 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17273         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17274         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17275         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17276         and __nacl_supply_interface_rtld.
17277         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17278         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17279         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17280         Add __nacl_supply_interface_rtld.
17281         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17283 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17285         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17286         isfinite.
17287         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17288         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17290 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17292         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17293         __signbit* with standard C99 macros.
17294         * math/e_exp10l.c: Likewise.
17295         * math/e_exp2l.c: Likewise.
17296         * math/e_scalb.c: Likewise.
17297         * math/e_scalbf.c: Likewise.
17298         * math/e_scalbl.c: Likewise.
17299         * math/s_ldexp.c: Likewise.
17300         * math/s_ldexpf.c: Likewise.
17301         * math/s_ldexpl.c: Likewise.
17302         * math/w_atan2.c: Likewise.
17303         * math/w_atan2f.c: Likewise.
17304         * math/w_atan2l.c: Likewise.
17305         * math/w_cosh.c: Likewise.
17306         * math/w_coshf.c: Likewise.
17307         * math/w_coshl.c: Likewise.
17308         * math/w_exp10.c: Likewise.
17309         * math/w_exp10f.c: Likewise.
17310         * math/w_exp10l.c: Likewise.
17311         * math/w_exp2.c: Likewise.
17312         * math/w_exp2f.c: Likewise.
17313         * math/w_exp2l.c: Likewise.
17314         * math/w_fmod.c: Likewise.
17315         * math/w_fmodf.c: Likewise.
17316         * math/w_fmodl.c: Likewise.
17317         * math/w_hypot.c: Likewise.
17318         * math/w_hypotf.c: Likewise.
17319         * math/w_hypotl.c: Likewise.
17320         * math/w_jnl.c: Likewise.
17321         * math/w_lgamma.c: Likewise.
17322         * math/w_lgamma_r.c: Likewise.
17323         * math/w_lgammaf.c: Likewise.
17324         * math/w_lgammaf_r.c: Likewise.
17325         * math/w_lgammal.c: Likewise.
17326         * math/w_lgammal_r.c: Likewise.
17327         * math/w_pow.c: Likewise.
17328         * math/w_powf.c: Likewise.
17329         * math/w_powl.c: Likewise.
17330         * math/w_remainder.c: Likewise.
17331         * math/w_remainderf.c: Likewise.
17332         * math/w_remainderl.c: Likewise.
17333         * math/w_scalb.c: Likewise.
17334         * math/w_scalbf.c: Likewise.
17335         * math/w_scalbl.c: Likewise.
17336         * math/w_scalbln.c: Likewise.
17337         * math/w_scalblnf.c: Likewise.
17338         * math/w_scalblnl.c: Likewise.
17339         * math/w_sinh.c: Likewise.
17340         * math/w_sinhf.c: Likewise.
17341         * math/w_sinhl.c: Likewise.
17342         * math/w_tgamma.c: Likewise.
17343         * math/w_tgammaf.c: Likewise.
17344         * math/w_tgammal.c: Likewise.
17345         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17346         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17347         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17348         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17349         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17350         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17351         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17352         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17353         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17354         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17355         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17356         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17357         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17358         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17359         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17360         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17361         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17362         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17363         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17364         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17365         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17366         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17367         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17368         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17369         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17370         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17371         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17372         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17373         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17374         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17375         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17376         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17377         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17378         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17379         * stdio-common/printf_fp.c: Likewise.
17380         * stdio-common/printf_fphex.c: Likewise.
17381         * stdio-common/printf_size.c: Likewise.
17383 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17385         [BZ #18470]
17386         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17387         strnlen.
17388         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17389         Remove variable.
17390         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17391         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17392         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17393         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17394         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17395         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17396         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17397         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17398         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17399         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17401         [BZ #18468]
17402         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17403         weak alias of __wmemchr.  Use libc_hidden_weak.
17404         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17405         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17406         instead of wmemchr.
17408 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17410         [BZ #18383]
17411         * elf/tst-tlsalign-extern.c: New file.
17412         * elf/tst-tlsalign-extern-static.c: New file.
17413         * elf/tst-tlsalign-vars.c: New file.
17414         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17415         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17416         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17417         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17418         (test-xfail-tst-tlsalign-extern-static): New variable.
17420 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17422         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17423         Use variable name _sc_err instead of err.
17424         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17425         instead of ret.
17426         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17427         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17428         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17429         (INLINE_SYSCALL): Likewise.
17431         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17432         * include/string.h (__strnlen): Use libc_hidden_proto.
17433         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17434         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17435         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17436         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17437         (libc_hidden_def): Undefine and redefine.
17438         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17439         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17440         __GI_strnlen.
17441         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17442         libc_hidden_def.
17443         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17445         [BZ #18469]
17446         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17447         weak alias of __towlower.  Use libc_hidden_weak.
17448         (towupper): Rename to __towupper and define as weak alias of
17449         __towupper.  Use libc_hidden_weak.
17450         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17451         (__towupper): Likewise.
17452         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17453         __towlower instead of towlower.
17455 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17457         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17458         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17460 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17462         * sysdeps/aarch64/libm-test-ulps: Update.
17464 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17466         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17467         Define.
17468         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17469         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17470         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17471         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17472         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17473         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17474         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17476 2015-06-01  Martin Sebor  <msebor@redhat.com>
17478         [BZ #18116]
17479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17480         (__setcontext): Use extended four-operand version of mtsf whenever
17481         possible.
17482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17483         (__novec_swapcontext): Likewise.
17485 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17487         * benchtests/scripts/compare_bench.py: New file.
17488         * benchtests/scripts/import_bench.py (mean): New function.
17489         (split_list): Likewise.
17490         (do_for_all_timings): Likewise.
17491         (compress_timings): Likewise.
17493         * benchtests/scripts/import_bench.py: New file.
17494         * benchtests/scripts/validate_benchout.py: Import import_bench
17495         instead of jsonschema.
17496         (validate_bench): Remove function.
17497         (main): Use import_bench.
17499 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
17501         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17502         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17504 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17508 2015-05-28  Roland McGrath  <roland@hack.frob.com>
17510         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17511         set THREAD_SELF->tid to a magic value and futex-wake it.
17512         Pass its address to the thread_exit system call.
17513         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17514         bit is clear.
17515         * sysdeps/nacl/lowlevellock.h: New file.
17516         * sysdeps/nacl/lll_timedwait_tid.c: New file.
17518         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17519         Add TIMEOUT to current time, don't subtract it.
17521 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
17523         [BZ #2981]
17524         [BZ #18422]
17525         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17526         ($(objpfx)tst-audit2.out): Also depend on
17527         $(objpfx)tst-auditmod9b.so.
17528         * elf/tst-audit2.c: Include <dlfcn.h>.
17529         (calloc_called): New.
17530         (calloc): Allow to be called more than once.
17531         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17533 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
17535         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17536         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17538 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
17540         * stdlib/monetary.h: Fix comment.
17542 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
17544         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17545         Avoid using variables in #defines that might cause shadowing.
17546         (INTERNAL_VSYSCALL_CALL): Likewise.
17548 2015-05-26  Roland McGrath  <roland@hack.frob.com>
17550         * sysdeps/nacl/lll_timedlock_wait.c: New file.
17552         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17553         * nptl/lll_timedlock_wait.c: ... to this new file.
17554         * nptl/Makefile (libpthread-routines): Add it.
17555         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17556         * nptl/lll_timedwait_tid.c: ... to this new file.
17557         * nptl/Makefile (libpthread-routines): Add it.
17558         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17559         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17560         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17561         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17562         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17563         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17564         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17565         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17566         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17567         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17569 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17571         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17572         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17573         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17574         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17575         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17576         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17577         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17578         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17579         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17580         * sysdeps/unix/sysv/linux/tile/sysdep.h
17581         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17582         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17583         using vDSO syscall macro.
17585 2015-05-26  Andriy Rysin  <arysin@gmail.com>
17587         [BZ #17293]
17588         * uk_UA: Fix sorting order for Ukrainian locale
17590 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
17592         * stdlib/monetary.h: Fix comment.
17594 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17596         [BZ #18234]
17597         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17598         st_mtim and st_ctim members.
17599         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17600         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17601         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17602         (struct stat64): Likewise.
17603         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17604         (struct stat64): Likewise.
17605         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17606         (struct stat64): Likewise.
17608 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17610         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17611         Define and include sysdep-vdso.h.
17612         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17613         Likewise.
17614         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17615         Likewise.
17616         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17617         Define with VDSO_SYMBOL and use PTR_MANGLE.
17618         (__vdso_clock_gettime): Likewise.
17619         (__vdso_clock_getres): Likewise.
17620         (_libc_vdso_platform_setup): Likewise.
17621         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17622         Likewise.
17623         (_libc_vdso_platform_setup): Likewise.
17624         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17625         Likewise.
17626         (__vdso_clock_gettime): Likewise.
17627         (__vdso_clock_getres): Likewise.
17628         (__vdso_get_tbfreq): Likewise.
17629         (__vdso_getcpu): Likewise.
17630         (__vdso_time): Likewise.
17631         (__vdso_sigtramp_rt64): Likewise.
17632         (__vdso_signtramp32): Likewise.
17633         (__vdso_sigtramp_rt32): Likewise.
17634         (_libc_vdso_platform_setup): Likewise.
17635         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17636         Likewise.
17637         (__vdso_clock_gettime): Likewise.
17638         (__vdso_clock_getres): Likewise.
17639         (_libc_vdso_platform_setup): Likewise.
17640         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17641         Likewise.
17642         (__vdso_clock_gettime): Likewise.
17643         (_libc_vdso_platform_setup): Likewise.
17644         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17645         Likewise.
17646         (__vdso_getcpu): Likewise.
17647         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17648         Use VDSO_SYMBOL macro to define.
17649         (__vdso_clock_gettime): Likewise.
17650         (__vdso_clock_getres): Likewise.
17651         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17652         Likewise.
17653         (__vdso_clock_gettime): Likewise.
17654         (__vdso_clock_getres): Likewise.
17655         (__vdso_get_tbfreq): Likewise.
17656         (__vdso_getcpu): Likewise.
17657         (__vdso_time): Likewise.
17658         (__vdso_sigtramp_rt64): Likewise.
17659         (__vdso_signtramp32): Likewise.
17660         (__vdso_sigtramp_rt32): Likewise.
17661         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17662         Likewise.
17663         (__vdso_clock_gettime): Likewise.
17664         (__vdso_clock_getres): Likewise.
17665         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17666         Likewise.
17667         (__vdso_clock_gettime): Likewise.
17668         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17669         Likewise.
17670         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17671         macro.
17672         (INTERNAL_VSYSCALL): Likewise.
17673         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17674         Remove macro.
17675         (INTERNAL_VSYSCALL): Likewise.
17676         (INTERNAL_VSYSCALL_NCS): Likewise.
17677         (INTERNAL_VSYSCALL_CALL): New macro.
17678         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17679         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17680         Likewise.
17681         (INTERNAL_VSYSCALL): Likewise.
17682         (INTERNAL_VSYSCALL_NCS): Likewise.
17683         (INTERNAL_VSYSCALL_CALL): New macro.
17684         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17686         (INLINE_VSYSCALL): Remove macro.
17687         (INTERNAL_VSYSCALL): Remove macro.
17688         (INTERNAL_VSYSCALL_NCS): Remove macro.
17689         (INTERNAL_VSYSCALL_CALL): New macro.
17690         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17691         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17692         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17693         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17694         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17696         (INLINE_VSYSCALL): Remove macro.
17697         (INTERNAL_VSYSCALL): Likewise.
17698         (INTERNAL_VSYSCALL_NCS): Likewise.
17699         (INTERNAL_VSYSCALL_CALL): New macro.
17700         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17701         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17702         PTR_DEMANGLE on vDSO pointer.
17703         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17704         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17705         macro.
17706         (INTERNAL_SYSCALL): Likewise.
17707         (INTERNAL_VSYSCALL_NCS): Remove macro.
17708         (INTERNAL_VSYSCALL_CALL): New macro.
17709         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17710         Remove macro.
17711         (INTERNAL_VSYSCALL): Likewise.
17712         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17713         sysdep-vdso.h instead of libc-vdso.h.
17714         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17715         definition.
17716         (INLINE_VSYSCALL): Likewise.
17717         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17718         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17719         definition.
17720         (INLINE_VSYSCALL): Likewise.
17721         (INTERNAL_VSYSCALL): Likewise.
17722         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17723         * sysdeps/unix/sysv/linux/timespec_get.c
17724         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17725         (timespec_get): Use ANSI prototype.
17726         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17727         and definition for Linux.
17729 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17731         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17732         * include/libc-symbols.h: libmvec_hidden_* macro series added.
17734 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17736         [BZ #2981]
17737         [BZ #18410]
17738         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
17739         for missing DT_PLTRELSZ.
17741 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17743         Remove obsolete aliases that broke 'locale -a'
17744         [BZ #18412]
17745         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
17746         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
17747         breaking some applications that use 'locale -a' output.
17748         Change the encoding of this file from Latin-1 to ASCII to avoid
17749         other potential problems with people grepping this file.
17751 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17753         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
17754         -fasynchronous-unwind-tables.
17755         (CFLAGS-sendto.c): Likewise.
17756         (CFLAGS-sendmsg.c): Likewise.
17757         (CFLAGS-connect.c): Likewise.
17758         (CFLAGS-recvmsg.c): Likewise.
17759         (CFLAGS-recvfrom.c): Likewise.
17760         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
17761         (SOCKETCALL): New macro: non-cancellable socketcall.
17762         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
17763         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
17764         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
17765         * sysdeps/unix/sysv/linux/accept.c: New file.
17766         * sysdeps/unix/sysv/linux/bind.c: Likewise.
17767         * sysdeps/unix/sysv/linux/connect.c: Likewise.
17768         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
17769         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
17770         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
17771         * sysdeps/unix/sysv/linux/listen.c: Likewise.
17772         * sysdeps/unix/sysv/linux/recv.c: Likewise.
17773         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
17774         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17775         * sysdeps/unix/sysv/linux/send.c: Likewise.
17776         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17777         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
17778         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
17779         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
17780         * sysdeps/unix/sysv/linux/socket.c: Likewise.
17781         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
17782         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
17783         prototype.
17784         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
17785         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17786         instead of __internal_xxx function.
17787         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
17788         prototype.
17789         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
17790         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17791         instead of __internal_xxx function.
17792         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
17793         prototype.
17794         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
17795         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17796         instead of __internal_xxx function.
17797         * sysdeps/unix/sysv/linux/accept.S: Remove file.
17798         * sysdeps/unix/sysv/linux/bind.S: Likewise.
17799         * sysdeps/unix/sysv/linux/connect.S: Likewise.
17800         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
17801         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
17802         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
17803         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
17804         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
17805         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
17806         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
17807         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
17808         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17809         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
17810         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
17811         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
17812         * sysdeps/unix/sysv/linux/listen.S: Likewise.
17813         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
17814         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
17815         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
17816         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
17817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
17818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
17819         * sysdeps/unix/sysv/linux/recv.S: Likewise.
17820         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
17821         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
17822         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
17823         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17824         * sysdeps/unix/sysv/linux/send.S: Likewise.
17825         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
17826         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
17827         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
17828         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
17829         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
17830         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
17831         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
17832         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
17833         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
17834         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
17835         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
17836         socketcall is implemented in GLIBC.
17838 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17840         * soft-fp/fmadf4.c: Include <libc-internal.h>.
17841         (__fma): Ignore uninitialized warnings around packing.
17842         * soft-fp/fmasf4.c: Include <libc-internal.h>.
17843         (__fmaf): Ignore uninitialized warnings around packing.
17844         * soft-fp/fmatf4.c: Include <libc-internal.h>.
17845         (__fmal): Ignore uninitialized warnings around packing.
17847         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
17848         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17849         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
17850         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17852         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
17853         switch statement into default case.
17854         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
17856         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
17857         a conditional in forcing "inexact".
17858         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17859         Likewise.
17861 2015-05-22  Roland McGrath  <roland@hack.frob.com>
17863         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17864         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
17865         for each INTERNAL_SYSCALL use.
17867 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17869         [BZ #438]
17870         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
17871         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
17872         variable.
17874         [BZ #18444]
17875         * string/basename.c (basename): Rename to __basename and define as
17876         weak alias of __basename.  Use libc_hidden_weak.
17877         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
17878         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
17879         __basename instead of basename.
17880         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
17881         Remove variable.
17882         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17884 2015-05-18  Florian Weimer  <fweimer@redhat.com>
17886         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
17887         (_IO_JUMPS_FILE_plus): New.
17888         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
17889         _IO_CAST_FIELD_ACCESS.
17890         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
17891         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
17892         * libio/freopen.c (freopen): Likewise.
17893         * libio/freopen64.c (freopen64): Likewise.
17894         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
17895         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
17896         * libio/iofwide.c (_IO_fwide): Likewise.
17897         * libio/memstream.c (open_memstream): Likewise.
17898         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17899         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17900         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17902 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
17904         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
17905         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
17906         NADJ.
17907         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
17908         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
17909         NADJ.
17910         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
17911         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
17912         NADJ.
17914         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
17915         (p == 4) case.
17917         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
17918         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
17919         Remove variable.
17920         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17921         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17922         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17924 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17926         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
17927         Adjust jump table label generation macros.
17929 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17931         * stdio-common/vfprintf.c (vfprintf): Move local variables
17932         args_malloced, specs, specs_malloced, and the code after
17933         do_positional to the printf_positional function.
17934         (printf_positional): New function.
17936 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17938         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
17939         function.
17940         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
17941         STEP4_TABLE, process_arg): Move macro definitions
17942         out of the vfprintf function.  (Cosmetic change only.)
17944 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
17946         * benchtests/Makefile (stdio-common-bench): Define.
17947         (benchset): Add stdio-common-bench.
17948         * sprintf-inputs: New file.
17949         * sprintf-source.c: New file.
17951 2015-05-21  Andreas Schwab  <schwab@suse.de>
17953         [BZ #13028]
17954         [BZ #17053]
17955         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17956         of struct __res_state.
17957         * resolv/res_send.c (__libc_res_nsend): Likewise.
17958         (get_nsaddr): New function.
17959         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17960         statp directly.
17962 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
17964         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17965         -D_POSIX_C_SOURCE=199506L.
17967         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17969         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17970         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17971         Do not mention otherwise.
17972         [POSIX] (_XOPEN_VERSION): Do not expect.
17973         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17974         [POSIX] (_POSIX2_C_BIND): Likewise.
17975         [POSIX] (_POSIX2_VERSION): Likewise.
17976         [POSIX] (_XOPEN_XPG2): Likewise.
17977         [POSIX] (_XOPEN_XPG3): Likewise.
17978         [POSIX] (_XOPEN_XPG4): Likewise.
17979         [POSIX] (_XOPEN_UNIX): Likewise.
17980         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17981         [POSIX] (_POSIX_BARRIERS): Likewise.
17982         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17983         [POSIX] (_POSIX_CPUTIME): Likewise.
17984         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17985         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17986         [POSIX] (_POSIX_SHELL): Likewise.
17987         [POSIX] (_POSIX_SPAWN): Likewise.
17988         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17989         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17990         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17991         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17992         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17993         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17994         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17995         [POSIX] (_XBS5_LP64_OFF64): Likewise.
17996         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17997         [POSIX] (_POSIX_TIMEOUTS): Likewise.
17998         [POSIX] (_POSIX2_PBS): Likewise.
17999         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18000         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18001         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18002         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18003         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18004         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18005         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18006         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18007         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18008         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18009         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18010         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18011         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18012         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18013         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18014         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18015         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18016         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18017         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18018         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18019         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18020         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18021         [POSIX] (_SC_2_C_BIND): Likewise.
18022         [POSIX] (_SC_2_C_VERSION): Likewise.
18023         [POSIX] (_SC_2_PBS): Likewise.
18024         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18025         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18026         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18027         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18028         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18029         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18030         [POSIX] (_SC_BARRIERS): Likewise.
18031         [POSIX] (_SC_BASE): Likewise.
18032         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18033         [POSIX] (_SC_DEVICE_IO): Likewise.
18034         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18035         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18036         [POSIX] (_SC_FD_MGMT): Likewise.
18037         [POSIX] (_SC_FIFO): Likewise.
18038         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18039         [POSIX] (_SC_FILE_LOCKING): Likewise.
18040         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18041         [POSIX] (_SC_IOV_MAX): Likewise.
18042         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18043         [POSIX] (_SC_NETWORKING): Likewise.
18044         [POSIX] (_SC_PAGE_SIZE): Likewise.
18045         [POSIX] (_SC_PASS_MAX): Likewise.
18046         [POSIX] (_SC_PIPE): Likewise.
18047         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18048         [POSIX] (_SC_REGEXP): Likewise.
18049         [POSIX] (_SC_SHELL): Likewise.
18050         [POSIX] (_SC_SIGNALS): Likewise.
18051         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18052         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18053         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18054         [POSIX] (_SC_USER_GROUPS): Likewise.
18055         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18056         [POSIX] (_SC_STREAMS): Likewise.
18057         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18058         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18059         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18060         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18061         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18062         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18063         [POSIX] (_PC_FILESIZEBITS): Likewise.
18064         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18065         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18066         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18067         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18068         [POSIX] (uid_t): Likewise.
18069         [POSIX] (gid_t): Likewise.
18070         [POSIX] (off_t): Likewise.
18071         [POSIX] (pid_t): Likewise.
18072         [POSIX] (cuserid): Allow.
18073         (_SC_2_CHAR_TERM): Require constant.
18074         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18075         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18076         variable.
18078 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18080         * sysdeps/nacl/pthread-pids.h: New file.
18081         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18082         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18084         * nptl/pthread-pids.h: New file.
18085         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18086         * nptl/nptl-init.c: Include <pthread-pids.h>.
18087         (__pthread_initialize_minimal_internal):
18088         Call __pthread_initialize_pids instead of set_tid_address syscall.
18090         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18091         * sysdeps/posix/usleep.c: ... here.
18093 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18095         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18096         call_pselect6 object.
18097         [$(subdir) = io]: Remove call_sync_file_range object.
18098         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18099         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18100         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18101         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18103 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18105         * math/s_cproj.c: Add include "math_private.h".
18106         * math/s_cprojf.c: Likewise.
18107         * math/s_cprojl.c: Likewise.
18109 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18111         [BZ #18244]
18112         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18113         high mantissa bit when testing whether P is a NaN.
18114         * math/libm-test.inc (remainder_test_data): Add more tests.
18115         (remquo_test_data): Likewise.
18117         [BZ #18049]
18118         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18119         below -32, return the argument, with underflow if subnormal.
18120         * math/auto-libm-test-in: Add more tests of atanh.
18121         * math/auto-libm-test-out: Regenerated.
18123 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18125         [BZ #18434]
18126         * nptl/tst-sem15.c: New file.
18127         * nptl/Makefile (tests): Add it.
18128         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18129         s/<</>>/ to fix typo in EOVERFLOW check.
18130         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18132 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18134         * manual/strings.texi (envz_remove): Fix typo in safety
18135         annotations.
18137 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18138             Steve Ellcey  <sellcey@imgtec.com>
18140         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18141         in order to avoid strict alias warnings.
18142         (iruserok_af): Ditto for ra.
18144 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18146         [BZ #17581]
18147         * malloc/hooks.c
18148         (magicbyte): Convert to a function and avoid returning 0x01.
18149         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18150         (mem2chunk_check): Fix unsigned comparisons to zero.
18151         Hoist defs of sz and magic.
18153 2015-05-19  Richard Henderson  <rth@redhat.com>
18155         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18157         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18159 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18161         [BZ #16159]
18162         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18163         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18164         (reused_arena): Find a non-corrupt arena.
18165         (heap_trim): Pass arena to unlink.
18166         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18167         malloc_printerr.
18168         (top_check): Likewise.
18169         (free_check): Likewise.
18170         (realloc_check): Likewise.
18171         * malloc/malloc.c (malloc_printerr): Add arena argument.
18172         (unlink): Likewise.
18173         (munmap_chunk): Adjust.
18174         (ARENA_CORRUPTION_BIT): New macro.
18175         (arena_is_corrupt): Likewise.
18176         (set_arena_corrupt): Likewise.
18177         (sysmalloc): Use mmap if there are no usable arenas.
18178         (_int_malloc): Likewise.
18179         (__libc_malloc): Don't fail if arena_get returns NULL.
18180         (_mid_memalign): Likewise.
18181         (__libc_calloc): Likewise.
18182         (__libc_realloc): Adjust for additional argument to
18183         malloc_printerr.
18184         (_int_free): Likewise.
18185         (malloc_consolidate): Likewise.
18186         (_int_realloc): Likewise.
18187         (_int_memalign): Don't touch corrupt arenas.
18188         * malloc/tst-malloc-backtrace.c: New test case.
18190         * Makefile (summarize-tests): Fix return value on success.
18192         * manual/string.texi (Envz Functions): Add envz_remove.
18194 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18196         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18197         (invalid_name): New function, broken out of ...
18198         (__opendirat): ... here.  Call it.
18199         (need_isdir_precheck): New function, broken out of ...
18200         (__opendirat): ... here.  Call it.
18201         Use __fxstatat64, not __xstatat64.
18202         (opendir_oflags): New function, broken out of ...
18203         (__opendirat): ... here.  Call it.
18204         (opendir_tail): New function, broken out of ...
18205         (__opendirat): ... here.  Call it.
18206         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18207         opendir_tail, rather than punting to __opendirat.
18208         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18210 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18212         * .gitignore: Ignore generated *.pyc.
18214 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18216         * include/stdio.h: Define __need_wint_t.
18217         * test-skeleton.c: Avoid `for' loop initial declaration.
18218         * nptl/tst-initializers1.c: Use test-skeleton.c.
18220 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18222         [BZ #18418]
18223         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18225 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18227         [BZ #16352]
18228         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18229         (__ieee754_atanh): Force underflow exception for results with
18230         small absolute value.
18231         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18232         (__ieee754_atanhf): Force underflow exception for results with
18233         small absolute value.
18234         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18235         (__ieee754_atanh): Force underflow exception for results with
18236         small absolute value.
18237         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18238         (__ieee754_atanhf): Force underflow exception for results with
18239         small absolute value.
18240         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18241         (__ieee754_atanhl): Force underflow exception for results with
18242         small absolute value.
18243         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18244         (__ieee754_atanhl): Force underflow exception for results with
18245         small absolute value.
18246         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18247         (__ieee754_atanhl): Force underflow exception for results with
18248         small absolute value.
18249         * math/auto-libm-test-in: Do not allow missing underflow
18250         exceptions from atanh.
18251         * math/auto-libm-test-out: Regenerated.
18253         [BZ #18221]
18254         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18255         2**-28 as threshold for returning x or +/- 1/x.
18256         * math/auto-libm-test-in: Add more tests of tan.
18257         * math/auto-libm-test-out: Regenerated.
18259         [BZ #18220]
18260         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18261         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18262         * math/auto-libm-test-in: Add another test of lgamma.
18263         * math/auto-libm-test-out: Regenerated.
18265 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18267         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18268         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18269         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18270         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18271         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18272         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18273         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18274         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18275         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18276         (log1): Use fabs.  (my_log2): Use fabs.
18277         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18278         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18279         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18280         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18281         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18282         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18283         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18284         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18285         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18286         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18287         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18289 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18291         [BZ #18217]
18292         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18293         as threshold for returning 1 - x.
18294         * math/auto-libm-test-in: Add more tests of erfc.
18295         * math/auto-libm-test-out: Regenerated.
18297 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18299         [BZ #18196]
18300         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18301         threshold for large arguments.
18302         * math/auto-libm-test-in: Add another test of atan.
18303         * math/auto-libm-test-out: Regenerated.
18305         [BZ #16339]
18306         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18307         (__log1p): Force underflow exception for results with small
18308         absolute value.
18309         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18310         (__log1pf): Force underflow exception for results with small
18311         absolute value.
18312         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18313         (__log1p): Force underflow exception for results with small
18314         absolute value.
18315         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18316         (__log1pf): Force underflow exception for results with small
18317         absolute value.
18318         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18319         (__log1pl): Force underflow exception for results with small
18320         absolute value.
18321         * math/auto-libm-test-in: Do not allow missing underflow
18322         exceptions from log1p.
18323         * math/auto-libm-test-out: Regenerated.
18325 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
18326             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18328         [BZ #16704]
18329         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18331 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
18333         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18334         (libmvec): New variable.
18335         * configure.ac: Added option for mathvec build.
18336         * configure: Regenerated.
18337         * mathvec/Depend: New file.
18338         * mathvec/Makefile: New file.
18339         * shlib-versions: Added libmvec.
18340         * math/Makefile: Added rule for libm.so installation.
18342         * bits/math-vector.h: New file.
18343         * bits/libm-simd-decl-stubs.h: New header.
18344         * math/Makefile (headers): Added new header
18345         libm-simd-decl-stubs.h.
18346         * math/math.h (__MATHCALL_VEC): New macro.
18348         * math/gen-libm-have-vector-test.sh: Script generates series of macros
18349         for conditions in testing functions.
18350         * math/Makefile: Added call of libm-have-vector-test.sh.
18351         * math/libm-test.inc (HAVE_VECTOR): New macros.
18353         * math/libm-test.inc: START refactored.
18354         * math/test-double.c (TEST_MATHVEC): Add define.
18355         * math/test-float.c: Likewise.
18356         * math/test-idouble.c: Likewise.
18357         * math/test-ifloat.c: Likewise.
18358         * math/test-ildoubl.c: Likewise.
18359         * math/test-ldouble.c: Likewise.
18360         * sysdeps/generic/math-tests-arch.h
18361         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18362         architecture check.
18364         * math/test-double.c (FUNC_TEST): New macro.
18365         * math/test-float.c: Likewise.
18366         * math/test-idouble.c: Likewise.
18367         * math/test-ifloat.c: Likewise.
18368         * math/test-ildoubl.c: Likewise.
18369         * math/test-ldouble.c: Likewise.
18370         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18372 2015-05-13  Roland McGrath  <roland@hack.frob.com>
18374         * sysdeps/nacl/fdopendir.c: New file.
18376         * dirent/scandir-tail.c: New file.
18377         * dirent/scandir64-tail.c: New file.
18378         * dirent/Makefile (routines): Add them.
18379         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18380         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18381         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18382         [!SCANDIR] (SCANDIR_TAIL): New macro.
18383         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18384         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18385         (SCANDIRAT): Macro removed.
18386         (SCANDIR_TAIL): New macro.
18387         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18388         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18389         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18390         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18391         (READDIR): Macro removed.
18392         (SCANDIR_TAIL): New macro.
18393         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18394         (SCANDIR_TAIL): New macro.
18396         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18397         * dirent/scandir-cancel.c: ... to this new file.
18398         * dirent/Makefile (routines): Add it.
18399         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18400         * sysdeps/unix/sysv/linux/i386/scandir64.c
18401         (SKIP_SCANDIR_CANCEL): Macro removed.
18402         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18404         * dirent/tst-scandir.c: New file.
18405         * dirent/tst-scandir64.c: New file.
18406         * dirent/Makefile (tests): Add them.
18408 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18410         [BZ #18409]
18411         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18413 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18415         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18416         list.
18418 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18420         * benchtests/bench-strcoll.c: New benchmark.
18421         * benchtests/Makefile: Generate locales and run benchmark.
18422         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18423         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18424         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18425         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18426         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18427         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18428         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18429         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18430         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18431         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18432         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18433         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18434         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18435         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18436         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18437         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18438         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18439         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18440         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18441         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18442         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18443         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18444         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18445         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18447 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18449         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18450         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18452 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18454         * posix/uname-values.h: New file.
18455         * posix/uname.c: Include that instead of <config-name.h>.
18456         * sysdeps/nacl/uname-values.h: New file.
18457         * sysdeps/arm/nacl/uname-values.h: New file.
18459 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18461         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18462         splitting into fields.
18464 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18466         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18467         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18468         * locale/localeinfo.h: Add enum collation_encoding_type.
18469         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18470         * programs/ld-collate.c (collate_output): Add encoding type info.
18471         * string/strcoll_l.c (STRDIFF): New function.
18472         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18473         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18475 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18477         [BZ #18397]
18478         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18479         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
18480         <fpu_control.h> instead of <math/fpu_control.c>.
18481         * sysdeps/mips/mips32/fpu/Makefile: New file.
18483 2015-05-11  Andreas Schwab  <schwab@suse.de>
18485         [BZ #18007]
18486         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18487         nss_endgrent.
18488         (_nss_compat_endgrent): Call nss_endgrent.
18489         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18490         nss_endpwent.
18491         (_nss_compat_endpwent): Call nss_endpwent.
18492         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18493         needent, call nss_setspent only if non-zero.
18494         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18495         (internal_endspent): Don't call nss_endspent.
18496         (_nss_compat_endspent): Call nss_endspent.
18497         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18498         Remove.  All uses removed.
18499         (internal_setent): Remove parameter stayopen, add parameter
18500         stream.  Use it instead of global variable.
18501         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18502         (internal_endent, internal_getent): Add parameter stream.  Use it
18503         instead of global variable.
18504         (CONCAT(_nss_files_end,ENTNAME))
18505         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18506         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
18507         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
18508         uses removed.
18509         (internal_setent, internal_endent): Add parameter stream.  Use it
18510         instead of global variable.
18511         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18512         stream.
18513         (get_next_alias): Add parameter stream.
18514         (_nss_files_getaliasent_r): Pass global stream.
18515         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
18516         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18517         (_nss_files_gethostbyname4_r): Pass local stream to
18518         internal_setent, internal_getent and internal_endent.  Remove
18519         locking.
18521 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18523         * tst-strfmon1.c (tests): Update expected currency symbol.
18525 2015-05-08  Roland McGrath  <roland@hack.frob.com>
18527         * sysdeps/nacl/gethostname.c: New file.
18529 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
18531         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18532         and sinh.
18533         * math/auto-libm-test-out: Regenerated.
18534         * sysdeps/i386/fpu/libm-test-ulps: Update.
18535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18537 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
18539         [BZ #18125]
18540         * stdlib/tst-setcontext3.c: New file.
18541         * stdlib/tst-setcontext3.sh: New file.
18542         * stdlib/Makefile (tests): Add tst-setcontext3.
18543         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18544         to verify test program created output file.
18545         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18546         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18547         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18548         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18550 2015-05-06  Roland McGrath  <roland@hack.frob.com>
18552         [BZ #18383]
18553         * elf/tst-tlsalign.c: New file.
18554         * elf/tst-tlsalign-static.c: New file.
18555         * elf/tst-tlsalign-lib.c: New file.
18556         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18557         (tests-static): Add tst-tlsalign-static.
18558         (modules-names): Add tst-tlsalign-lib.
18559         (test-xfail-tst-tlsalign): New variable.
18560         (test-xfail-tst-tlsalign-static): New variable.
18562         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18563         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18565 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
18567         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18568         csqrt, erfc, sin and sincos.
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 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18575         * sysdeps/aarch64/libm-test-ulps: Update.
18577 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
18579         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18580         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18581         * math/auto-libm-test-out: Regenerated.
18582         * sysdeps/i386/fpu/libm-test-ulps: Update.
18583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18585 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18587         [BZ #18265]
18588         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18589         (wcsncpy): Likewise.
18591 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18593         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18594         Assume __ASSUME_FALLOCATE is always true.
18595         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18596         (__posix_fallocate64_l64): Likweise.
18597         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18598         (posix_fallocate): Likewise.
18599         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18600         (__posix_fallocate64_l64): Likewise.
18601         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18602         [!__ASSUME_FALLOCATE]: Add comment.
18604 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18606         * sysdeps/unix/sysv/linux/i386/Makefile
18607         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18608         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18609         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18610         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18611         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18612         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18613         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18615 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
18617         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18618         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18619         tgamma.
18620         * math/auto-libm-test-out: Regenerated.
18621         * sysdeps/i386/fpu/libm-test-ulps: Update.
18622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18624 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18626         * math/auto-libm-test-in: Add more tests of tgamma.
18627         * math/auto-libm-test-out: Regenerated.
18628         * sysdeps/i386/fpu/libm-test-ulps: Update.
18629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18631         * math/auto-libm-test-in: Add more tests of tanh.
18632         * math/auto-libm-test-out: Regenerated.
18633         * sysdeps/i386/fpu/libm-test-ulps: Update.
18634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18636         * math/auto-libm-test-in: Add more tests of tan.
18637         * math/auto-libm-test-out: Regenerated.
18638         * sysdeps/i386/fpu/libm-test-ulps: Update.
18639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18641         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18642         * math/auto-libm-test-out: Regenerated.
18643         * sysdeps/i386/fpu/libm-test-ulps: Update.
18644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18646         * math/auto-libm-test-in: Add another test of pow.
18647         * math/auto-libm-test-out: Regenerated.
18648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18650         * math/auto-libm-test-in: Add more tests of lgamma.
18651         * math/auto-libm-test-out: Regenerated.
18652         * sysdeps/i386/fpu/libm-test-ulps: Update.
18653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18655         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18656         log1p.
18657         * math/auto-libm-test-out: Regenerated.
18658         * sysdeps/i386/fpu/libm-test-ulps: Update.
18659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18661 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18663         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18664         Elf64_Chdr structs and ELFCOMPRESS constants.
18666 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18668         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18669         expm1.
18670         * math/auto-libm-test-out: Regenerated.
18671         * sysdeps/i386/fpu/libm-test-ulps: Update.
18672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18674         * math/auto-libm-test-in: Add more tests of erf and erfc.
18675         * math/auto-libm-test-out: Regenerated.
18676         * sysdeps/i386/fpu/libm-test-ulps: Update.
18677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18679 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18681         * config.h.in (HAVE_AARCH64_BE): Add.
18683 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
18685         * math/auto-libm-test-in: Add more tests of csqrt.
18686         * math/auto-libm-test-out: Regenerated.
18687         * sysdeps/i386/fpu/libm-test-ulps: Update.
18688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18690         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18691         * math/auto-libm-test-out: Regenerated.
18692         * sysdeps/i386/fpu/libm-test-ulps: Update.
18693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18695         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18697 2015-04-29  Roland McGrath  <roland@hack.frob.com>
18699         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18700         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18702         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18703         (euidaccess, eaccess): Define as weak aliases.
18705         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18706         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
18707         but __suseconds_t is often 'long int' so some sources assume that
18708         type is being used (e.g. they use %ld to print tv_usec).
18710 2015-04-29  Florian Weimer  <fweimer@redhat.com>
18712         [BZ #18007]
18713         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18714         (CVE-2014-8121)
18715         * nss/tst-nss-getpwent.c: New file.
18716         * nss/Makefile (tests): Add new test.
18718 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
18720         [BZ #18346]
18721         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18722         exponents less than 48 as cases where high part of mantissa needs
18723         examining to determine whether argument is integral.
18724         * math/libm-test.inc (round_test_data): Add more tests.
18726 2015-04-28  Mark Wielaard  <mjw@redhat.com>
18728         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18730 2015-04-27  David S. Miller  <davem@davemloft.net>
18732         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18733         __tls_get_addr.
18734         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18736 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
18738         [BZ#18333]
18739         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
18741 2015-04-27  Florian Weimer  <fweimer@redhat.com>
18743         [BZ#18333]
18744         * time/tzset.c (parse_tzname): Return error on memory allocation
18745         failure.
18746         * test-skeleton.c (struct temp_name_list): Change type of name
18747         member to non-const.
18748         (add_temp_file): Create a copy of the file name.
18749         (delete_temp_files): Deallocate memory.
18750         (create_temp_file): Add comment.
18752 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18754         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
18755         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
18757 2015-04-24  Roland McGrath  <roland@hack.frob.com>
18759         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
18760         * sysdeps/arm/configure: Regenerated.
18762 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18764         [BZ #17715]
18765         * time/tzfile.c (__tzfile_read): Check for large values of
18766         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
18767         * time/tzset.c (__tzstring_len): New function, based on the old
18768         __tzstring function.
18769         (__tzstring): Call __tzstring_len.
18770         (parse_tzname): New helper function extracted from
18771         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
18772         the input string.
18773         (parse_offset): New helper function extracted from
18774         __tzset_parse_tz.  Replace switch with fallthrough with
18775         initialization before sscanf.
18776         (parse_rule): Likewise.
18777         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
18778         new-style function definition.
18779         * timezone/Makefile (tests): Add tst-tzset.
18780         (tst-tzset.out): Dependencies on time zone files.
18781         (tst-tzset-ENV): Set TZDIR.
18782         (testdata/XT%): Copy crafted time zone files.
18783         * timezone/README: Mention crafted time zone files.
18784         * timezone/testdata/XT1, timezone/testdata/XT2,
18785         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
18786         files.
18787         * timezone/tst-tzset.c: New test.
18789 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18791         * Makeconfig (+gccwarn): Remove -Winline.
18793 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18795         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
18797 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18799         * NEWS: Mention sysconf() cache information support for s390.
18800         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
18802 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
18804         * math/k_casinh.c (__kernel_casinh): Use __copysign.
18805         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
18806         (__nearbyint): Likewise.
18807         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
18808         (copysignl): Likewise.
18810 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
18812         [BZ #18287]
18813         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
18814         based on padding.  (CVE-2015-1781)
18816 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18818         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
18819         libc-vdso.h.
18820         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
18821         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
18822         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
18823         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18824         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18825         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
18826         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
18827         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18828         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18829         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
18830         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18831         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18832         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18833         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
18834         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18835         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
18836         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
18837         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
18838         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
18839         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
18840         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
18841         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
18842         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
18844 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
18846         * stdlib/setenv.c (__add_to_environ):
18847         Dump core quickly if setenv (..., NULL, ...) is called.
18848         This time, do it the right way, and pacify GCC with a pragma.
18850 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18852         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
18853         IMAP->l_prev cannot be null, and #if out the code for the contrary
18854         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
18855         believe that NS (&_dl_ns[NSID]) could point outside the array.
18857         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
18858         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
18859         before using NSID as an index.
18861 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
18863         [BZ #17825]
18864         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
18865         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
18866         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18868 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18870         Add preliminary port to Google Native Client on ARM.
18871         * abi-tags (.*-.*-nacl.*): New entry.
18872         * sysdeps/arm/nacl: New directory.
18873         * sysdeps/nacl: New directory.
18875 2015-04-16  David S. Miller  <davem@davemloft.net>
18877         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
18878         lowlevellock-futex.h
18880 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
18882         * sysdeps/tile/configure.ac: New file.
18883         * sysdeps/tile/configure: Regenerated.
18885 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18887         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
18888         conditionals for weak_alias and libc_hidden_weak.
18889         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
18890         libc_hidden_weak and weak_alias.
18891         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
18892         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
18893         and weak_alias for static one.
18895 2015-04-15  David S. Miller  <davem@davemloft.net>
18897         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18899 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18901         [BZ #18206]
18902         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
18903           Use signed comparision instead of substraction to avoid
18904           overflow bug.
18905         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
18906           Take the sign of ret.
18907         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
18908           Do not expect precise return values. Only the sign matters.
18909         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
18910         * wcsmbs/test-wcsncmp.c: New File.
18911         * string/test-strncmp.c: Add wcsncmp support.
18913 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18915         [BZ #6792]
18916         * math/w_log1p.c: New file.
18917         * math/w_log1pf.c: Likewise.
18918         * math/w_log1pl.c: Likewise.
18919         * math/Makefile (libm-calls): Add w_log1p.
18920         * math/s_log1pl.c (log1pl): Remove weak_alias.
18921         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
18922         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
18923         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
18924         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
18925         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
18926         [NO_LONG_DOUBLE] (log1pl): Likewise.
18927         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
18928         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
18929         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
18930         (log1p): Remove long_double_symbol.
18931         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
18932         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
18933         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
18934         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
18935         remove weak_alias for corresponding log1p function.
18936         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
18937         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
18938         * sysdeps/ia64/fpu/w_log1p.c: New file.
18939         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
18940         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
18941         * math/libm-test.inc (log1p_test_data): Add errno expectations.
18943 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
18945         [BZ #18247]
18946         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18947         decimal exponent by 1.
18948         * stdlib/tst-strtod-round-data: Add more tests.
18949         * stdlib/tst-strtod-round.c (tests): Regenerated.
18951 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
18953         * math/auto-libm-test-in: Add more tests of clog and clog10.
18954         * math/auto-libm-test-out: Regenerated.
18955         * sysdeps/i386/fpu/libm-test-ulps: Update.
18956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18958 2015-04-09  Roland McGrath  <roland@hack.frob.com>
18960         * Makeconfig (module-cppflags): Exclude all .v.i files.
18961         (skip-module-cppflags): Variable removed.
18963         * configure.ac (libc_config_ok): Initialize before reading
18964         preconfigure scripts, not after.
18965         * configure: Regenerated.
18967         * test-skeleton.c (TIMEOUT): Move #define to top level.
18968         (main): Grok environment variable TEST_DIRECT.  If set, print
18969         test expectation details into that file and then behave as if
18970         given --direct.
18972 2015-04-09  Florian Weimer  <fweimer@redhat.com>
18974         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18975         warning on 32-bit.
18977 2015-04-08  David S. Miller  <davem@davemloft.net>
18979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18981 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18983         * math/auto-libm-test-in: Add more tests of atanh.
18984         * math/auto-libm-test-out: Regenerated.
18985         * sysdeps/i386/fpu/libm-test-ulps: Update.
18986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18988         * math/auto-libm-test-in: Add more tests of atan.
18989         * math/auto-libm-test-out: Regenerated.
18990         * sysdeps/i386/fpu/libm-test-ulps: Update.
18991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18993 2015-04-08  Florian Weimer  <fweimer@redhat.com>
18995         * elf/pldd.c (main): Rewrite to use struct
18996         scratch_buffer instead of extend_alloca.
18997         * elf/pldd-xx.c (find_maps): Likewise.
18998         * grp/initgroups.c: Include <scratch_buffer.h> instead of
18999         <alloca.h>.
19000         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19001         scratch_buffer instead of extend_alloca.
19002         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19003         grp/compat-initgroups.c.
19004         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19005         Rewrite to use struct scratch_buffer instead of extend_alloca.
19006         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19007         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19009 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19011         * math/auto-libm-test-in: Add more tests of cbrt.
19012         * math/auto-libm-test-out: Regenerated.
19013         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19015         * math/auto-libm-test-in: Add more tests of cabs.
19016         * math/auto-libm-test-out: Regenerated.
19017         * sysdeps/i386/fpu/libm-test-ulps: Update.
19018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19020         [BZ #18210]
19021         [BZ #18211]
19022         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19023         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19024         computations.
19025         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19026         clog10.
19027         * math/auto-libm-test-out: Regenerated.
19028         * sysdeps/i386/fpu/libm-test-ulps: Update.
19029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19031         [BZ #18197]
19032         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19033         (atan): Set FE_TONEAREST mode for internal computations.
19034         * math/auto-libm-test-in: Add more tests of atan.
19035         * math/auto-libm-test-out: Regenerated.
19037 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19039         [BZ #17930]
19040         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19042 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19044         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19046 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19048         * include/scratch_buffer.h: New file.
19049         * malloc/scratch_buffer_grow.c: Likewise.
19050         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19051         * malloc/scratch_buffer_set_array_size.c: Likewise.
19052         * malloc/tst-scratch_buffer.c: Likewise.
19053         * malloc/Makefile (routines): Add scratch_buffer_grow.
19054         (tests): Add test case.
19055         * malloc/Versions (GLIBC_PRIVATE): Export
19056         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19057         __libc_scratch_buffer_set_array_size.
19059 2015-04-06  Richard Henderson  <rth@redhat.com>
19061         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19062         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19064         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19065         unsigned int before printing.
19067 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19069         [BZ #17596]
19070         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19071         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19073 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19075         * include/libc-internal.h (libc_max_align_t): Define.
19077 2015-04-02  Andreas Schwab  <schwab@suse.de>
19079         [BZ #16850]
19080         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19082 2015-04-02  Mel Gorman  <mgorman@suse.de>
19084         [BZ #17195]
19085         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19086         as well as the main arena.
19088 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19090         [BZ #18185]
19091         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19092         sharing L2 cache to 2 for Silvermont/Knights Landing.
19094 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19096         [BZ #17711]
19097         * config.make.in (have-protected-data): New.
19098         * configure.ac: Check linker support for protected data symbol.
19099         * configure: Regenerated.
19100         * elf/Makefile (modules-names): Add tst-protected1moda and
19101         tst-protected1modb if $(have-protected-data) is yes.
19102         (tests): Add tst-protected1a and tst-protected1b if
19103         $(have-protected-data) is yes.
19104         ($(objpfx)tst-protected1a): New.
19105         ($(objpfx)tst-protected1b): Likewise.
19106         (tst-protected1modb.so-no-z-defs): Likewise.
19107         * elf/tst-protected1a.c: New file.
19108         * elf/tst-protected1b.c: Likewise.
19109         * elf/tst-protected1mod.h: Likewise.
19110         * elf/tst-protected1moda.c: Likewise.
19111         * elf/tst-protected1modb.c: Likewise.
19113 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19115         [BZ #17711]
19116         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19117         indicates it is called from do_lookup_x on relocation against
19118         protected data, skip the data definion in the executable from
19119         copy reloc.
19120         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19121         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19122         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19123         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19124         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19125         otherwise to 0.
19126         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19127         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19128         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19129         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19130         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19131         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19133 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19135         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19136         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19138 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19140         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19141         THREAD_SETMEM_NC.
19142         * sysdeps/x86_64/nptl/tls.h: Ditto.
19144 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19146         * dlfcn/tststatic.c (main): Converted to ...
19147         (do_test): ... this.
19148         (TEST_FUNCTION): New macro.
19149         Include test-skeleton.c.
19151 2015-03-26  Alan Modra  <amodra@gmail.com>
19153         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19154         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19155         zero for undefined weak.
19156         (elf_machine_plt_conflict): Similarly.
19158 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19160         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19161         atanh.
19162         * math/auto-libm-test-out: Regenerated.
19163         * sysdeps/i386/fpu/libm-test-ulps: Update.
19164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19166         * math/auto-libm-test-in: Add another test of asin.
19167         * math/auto-libm-test-out: Regenerated.
19168         * sysdeps/i386/fpu/libm-test-ulps: Update.
19169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19171         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19172         Remove macro.
19173         (LLL_EBX_REG): Likewise.
19174         (LLL_ENTER_KERNEL): Likewise.
19176         * math/auto-libm-test-in: Add more tests of asin.
19177         * math/auto-libm-test-out: Regenerated.
19178         * sysdeps/i386/fpu/libm-test-ulps: Update.
19179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19181         [BZ #18138]
19182         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19183         libc_do_syscall_args): New structure.
19184         (INTERNAL_SYSCALL_MAIN_0): New macro.
19185         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19186         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19187         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19188         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19189         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19190         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19191         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19192         Replace conditional definitions by conditional definitions of ....
19193         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19194         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19195         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19196         (libpthread-sysdep_routines): Add libc-do-syscall.
19197         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19198         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19199         to __NR_futex not 240.
19201 2015-03-25  Alan Modra  <amodra@gmail.com>
19203         * NEWS: Advertise TLS optimization.
19204         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19205         (DT_PPC_NUM): Increment.
19206         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19207         (CHECK_STATIC_TLS): Use here.
19208         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19209         TLS descriptors.
19210         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19211         * sysdeps/powerpc/dl-tls.c: New file.
19212         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19213         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19214         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19215         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19220 2015-03-25  Alan Modra  <amodra@gmail.com>
19222         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19223         for overlapping .opd entries" to "support...".
19224         * sysdeps/powerpc/powerpc64/configure: Regenerate
19226 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19228         * math/auto-libm-test-in: Add more tests of acos.
19229         * math/auto-libm-test-out: Regenerated.
19230         * sysdeps/i386/fpu/libm-test-ulps: Update.
19231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19233         * math/auto-libm-test-in: Add more tests of expm1.
19234         * math/auto-libm-test-out: Regenerated.
19235         * sysdeps/i386/fpu/libm-test-ulps: Update.
19236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19238 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19240         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19241         * math/auto-libm-test-out: Regenerated.
19242         * sysdeps/i386/fpu/libm-test-ulps: Update.
19243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19245         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19248         * math/auto-libm-test-in: Add more tests of log2.
19249         * math/auto-libm-test-out: Regenerated.
19250         * sysdeps/i386/fpu/libm-test-ulps: Update.
19251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19253 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19255         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19256         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19257         _IO_IS_APPENDING bit in READ_WRITE instead.
19259 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19261         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19262         (__determine_cpumask_size): Replace extend_alloca with a
19263         variable-length array.  Do not treat res == 0 as an error.
19265 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19267         [BZ #18100]
19268         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19269         and integer overflow.
19270         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19271         (main): Add integer overflow tests.
19272         * manual/pattern.texi (Calling Wordexp): Document additional use
19273         for WRDE_SYNTAX.
19275 2015-03-23  Alan Modra  <amodra@gmail.com>
19277         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19278         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19279         and false branch of conditional.
19280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19281         Likewise.
19283 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19285         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19286         libc-modules.h
19287         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19288         unused declaration of _hurd_intr_rpc_msg_in_trap.
19289         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19290         defined instead of whether it is non-zero.
19291         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19292         input constraint instead of both input and output constraint.  Use ecx
19293         clobber instead of %ecx.
19294         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19295         mutex_unlock): Use a statement expression instead of an expression list.
19296         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19297         type to vm_size_t instead of vm_address_t.
19298         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19299         defined instead of whether it is non-zero.
19300         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19301         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19302         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19303         comparisons with mapaddr.
19304         * nscd/nscd-client.h: Include <time.h>.
19305         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19306         9th parameter to __vm_region instead of int.
19307         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19308         * scripts/check-local-headers.sh (exclude): Add device/,
19309         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19310         cthreads.h.
19312 2015-03-19  Roland McGrath  <roland@hack.frob.com>
19314         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19315         to account for alignment padding.
19316         * sysdeps/arm/memmove.S: Likewise.
19318 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
19320         * sysdeps/unix/sysv/linux/generic/README: New file.
19322 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
19324         [BZ #18138]
19325         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19326         (futex_abstimed_wait)
19327         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19328         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19329         of lll_futex_timed_wait.
19331 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
19333         [BZ #17542]
19334         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19336 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
19338         [BZ #17090]
19339         [BZ #17620]
19340         [BZ #17621]
19341         [BZ #17628]
19342         * NEWS: Update.
19343         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19344         entries with Static TLS too.  Skip entries past the end of the
19345         allocated DTV, from Alan Modra.
19346         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
19347         Static TLS DTV entry set up from...
19348         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19349         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19350         * nptl/allocatestack.c (init_one_static_tls): ... and here...
19351         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19352         for Static TLS.
19353         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
19354         that the slot we find is associated with the given map before
19355         using its generation count.
19356         * nptl_db/db_info.c: Include ldsodefs.h.
19357         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19358         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19359         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19360         (link_map::l_tls_offset): New struct field.
19361         (dtv_t::counter): Likewise.
19362         (rtld_global): New struct.
19363         (_rtld_global): New rtld variable.
19364         (dl_tls_dtv_slotinfo_list): New rtld global field.
19365         (dtv_slotinfo_list): New struct.
19366         (dtv_slotinfo): Likewise.
19367         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19368         (td_lookup): Rename to...
19369         (td_mod_lookup): ... this.  Use new mod parameter instead of
19370         LIBPTHREAD_SO.
19371         * nptl_db/td_thr_tlsbase.c: Include link.h.
19372         (dtv_slotinfo_list, dtv_slotinfo): New functions.
19373         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
19374         addresses even if the DTV is out of date or missing them.
19375         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19376         index zero-length arrays.
19377         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19378         (td_lookup): Make it a macro implemented in terms of...
19379         (td_mod_lookup): ... this declaration.
19380         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19381         (DB_MAIN_VARIABLE): Likewise.
19383 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19385         [BZ #18134]
19386         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19388 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19390         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19392 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19394         [BZ #18128]
19395         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19396         (atomic_add, atomic_increment_and_test)
19397         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19399 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19401         * stdlib/setenv.c (__add_to_environ):
19402         Dump core quickly if setenv (..., NULL, ...) is called.
19404 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19406         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19407         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19408         all the necessary asm magic in one place.
19409         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19410         using those.
19412 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19414         [BZ #14906]
19415         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19416         traced file mtime. Use consistent log message.
19417         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19418         (register_traced_file): Call install_watches. Always set mtime.
19419         (invalidate_cache): Iterate over all trace files. Call install_watches.
19420         (inotify_check_files): Don't inline. Handle watching parent
19421         directories and configuration file movement in and out.
19422         (handle_inotify_events): New function.
19423         (main_loop_poll): Call handle_inotify_events.
19424         (main_loop_epoll): Likewise.
19425         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19426         (struct traced_file): Use array of inotify fds. Add parent directory,
19427         and basename.
19428         (struct database_dyn): Remove unused file_mtime.
19429         (init_traced_file): New inline function.
19430         (define_traced_file): New macro.
19431         * nss/nss_db/db-init.c: Use define_traced_file.
19432         (_nss_db_init): Use init_traced_file.
19433         * nss/nss_files/files-init.c: Use define_traced_file.
19434         (_nss_files_init): Use init_traced_file.
19436 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19438         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19439         [_LIBC]: Do not include <stdlib.h>.
19440         [!_LIBC] (abort): Remove declaration.
19441         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19442         _FP_STATIC_ASSERT instead of conditionally calling abort.
19443         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19444         (_FP_EXTEND_CNAN): Likewise.
19445         (FP_TRUNC): Likewise.
19446         (__FP_CLZ): Likewise.
19447         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19449 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19451         * manual/string.texi (XPG basename): Fix prototype.
19453 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19455         [BZ #18080]
19456         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19457         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19458         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19459         (__setcontext): Likewise.
19460         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19461         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19462         Call rt_sigprocmask syscall one time to set new signal mask
19463         and retrieve the current signal mask instead of two calls.
19464         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19465         (__swapcontext): Likewise.
19466         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19467         * stdlib/tst-setcontext2.c: New file.
19469 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19471         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19473 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19475         [BZ #18093]
19476         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19477         the wrong size.
19479 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19481         [BZ #18043]
19482         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19484 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19486         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19487         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19488         Remove define.
19489         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19490         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19491         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19492         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19493         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19494         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19495         define.
19496         * nptl_db/td_symbol_list.c (td_lookup): Remove
19497         HAVE_ASM_GLOBAL_DOT_NAME code.
19498         * sysdeps/powerpc/powerpc64/configure.ac: Remove
19499         HAVE_ASM_GLOBAL_DOT_NAME check.
19500         * sysdeps/powerpc/powerpc64/configure: Regenerate.
19501         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19502         (DOT_LABEL): Remove define.
19503         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19504         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19505         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19506         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19507         (__TLS_GET_ADDR): Likewise.
19508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19509         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19511 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
19513         [BZ #18111]
19514         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19515         (_FPU_SETCW): Initialize cw from fpsr before storing.
19516         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19517         (fesetexceptflag): Rewrite using fpu_control.h.
19518         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19520 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
19522         [BZ #18110]
19523         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19524         asms.
19525         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19527 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
19529         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19530         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19531         abort.
19532         (_FP_FMA): Likewise.
19533         (_FP_DIV): Likewise.
19535 2015-03-10  Roland McGrath  <roland@hack.frob.com>
19537         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19538         with 0 in that case.
19539         * Makefile (summarize-tests): New canned sequence, factored out of
19540         commands for targets tests and xtests.  Display summary lines that
19541         don't start with PASS: or XFAIL: rather than ones that do start with
19542         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
19543         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19544         do start with ERROR: or FAIL:.
19545         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19546         (except for [$(build-shared) = yes]).
19547         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19548         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19549         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19550         * nptl/Makefile: Revert 2015-03-04 changes.
19551         [$(CXX) empty] (tests-unsupported): New variable.
19552         * debug/Makefile: Likewise.
19554         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19555         gnulib file.  Replace __attribute with __attribute__ throughout.
19557 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
19559         * sysdeps/hppa/fpu/libm-test-ulps: Update.
19561 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19563         [BZ #18104]
19564         * math/auto-libm-test-in: Add another test of pow.
19565         * math/auto-libm-test-out: Regenerated.
19567 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19569         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19570         $(config-cflags-nofma).
19572 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19574         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19575         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19576         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19577         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19578         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19579         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19580         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19581         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19582         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19583         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19584         Add comment on closing #endif.
19586 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19588         * posix/wordexp.c (CHAR_IN_SET): New macro.
19589         (parse_param): Use it.
19591 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19593         * sysdeps/powerpc/fpu/libm-test-ulps: update.
19595 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19597         [BZ #18043]
19598         * posix/wordexp.c (parse_param): Fix buffer overflow.
19599         * posix/wordexp-test.c (test_case): Add test case.
19601 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19603         [BZ #18042]
19604         * posix/wordexp.c (parse_backtick): Fix off-by-one.
19605         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19607 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19609         [BZ #18043]
19610         * posix/wordexp-test.c (test_case): Add test for BZ #18043
19611         (do_bz18043): Delete.
19612         (at_page_end): New.
19613         (testit): Refactor to have words at the edge of unreadable page.
19615 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19617         [BZ #16734]
19618         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19619         Cleanup read-only streams as well.
19620         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19622 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19624         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19625         <bits/libc-lockP.h>
19627 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19629         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19630         on [__KERNEL__].
19631         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19632         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19633         * soft-fp/op-common.h (_FP_DECL): Likewise.
19635 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19637         * elf/ifuncdep2.c (global): Replace
19638         __attribute__((visibility("protected"))) with
19639         asm (".protected global").
19640         * elf/ifuncmod1.c (global): Likewise.
19641         * elf/ifuncmod5.c (global): Likewise.
19643 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19645         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19646         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19648 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19650         * manual/install.texi (Configuring and compiling):
19651         Document test-wrapper-env-only.
19652         * INSTALL: Regenerated.
19654 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19656         [BZ #18043]
19657         * posix/wordexp.c (parse_param): Fix buffer overflow.
19658         * posix/wordexp-test.c (do_bz18043): Add test case.
19660 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19662         * time/tst-strptime2.c (do_test): Ensure failing tests are
19663         reported correctly.
19664         * time/tst-strptime3.c (do_test): Likewise.
19666 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19668         Fix aio_error thread-safety.
19669         * sysdeps/pthread/aio_error.c: New file
19670         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19671         synchronization.
19673 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19675         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19676         (group_number, vfprintf): Use it.
19677         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19678         (JUMP, REF): Use it.
19679         (WORK_BUFFER_SIZE): New enum constant.
19680         (process_arg, vfprintf): Use it.
19682 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
19684         * manual/errno.texi (Error Messages): Complete example function
19685         by adding missing #define.
19686         (program_invocation_name): Add statement indicating GNU
19687         extension and reference which header file declares the variable.
19688         (program_invocation_short_name): Likewise.
19690 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
19692         * manual/errno.texi (Error Messages): Delete strerror ISO C89
19693         compatibility note.
19695 2015-03-05  Roland McGrath  <roland@hack.frob.com>
19697         * Makeconfig (test-wrapper-env-only): New variable.
19698         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19699         then use that with $(test-wrapper-env-only) rather than using
19700         $(test-wrapper-env) $(run-program-env) $($*-ENV).
19702 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19704         [BZ #18082]
19705         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19706         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19707         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19708         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19709         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19710         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19711         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19712         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19713         Likewise.
19714         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19715         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19716         Likewise.
19717         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19718         Likewise.
19719         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19720         Likewise.
19721         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19722         Likewise.
19723         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19724         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19725         Likewise.
19726         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19727         Likewise.
19728         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19729         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19731 2015-03-04  Roland McGrath  <roland@hack.frob.com>
19733         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19734         (ETH_ALEN): New macro.
19735         (struct ether_addr): Use it for length of ether_addr_octet.
19737         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
19738         (setdb): Don't call __nss_configure_lookup for "rpc".
19739         (do_test): Don't call test_rpc.
19740         (output_rpcent, test_rpc): Functions moved ...
19741         * sunrpc/test-rpcent.c: ... to this new file.
19742         * sunrpc/Makefile (tests): Add it.
19744         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
19745         __xpg_sigpause.
19746         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
19747         * nptl/tst-signal6.c: Likewise.
19748         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
19749         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
19751         * configure.ac (libc_cv_cxx_link_ok): New check.
19752         Reset CXX to empty if it fails to link.
19753         * configure: Regenerated.
19754         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
19755         bug-atexit3-lib only if $(CXX) is nonempty.
19756         * nptl/Makefile (tests): Likewise for tst-cancel24.
19757         (tests, tests-static): Likewise for tst-cancel24-static.
19758         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
19759         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
19760         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
19761         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
19763 2015-03-04  Andreas Schwab  <schwab@suse.de>
19765         [BZ #17631]
19766         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
19767         for non-GCC compilers.
19768         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19769         Likewise.
19771 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19773         [BZ #17776]
19774         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
19775         integer before bitwise and assembly operations.
19776         (feclearexcept): Likewise.
19777         * math/test-fenvinline.c: New file.
19778         * math/Makefile: Add test-fenvinline test.
19780 2015-03-03  Alan Modra  <amodra@gmail.com>
19782         [BZ #16512]
19783         * scripts/localplt.awk: Strip off symbol version.
19784         * NEWS: Mention bug fix.
19786 2015-03-02  Roland McGrath  <roland@hack.frob.com>
19788         * sysdeps/pthread/timer_routines.c
19789         (timer_free_list, thread_free_list, thread_active_list): Make static.
19791 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
19793         [BZ #17779]
19794         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19795         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19796         Undefine.
19797         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19798         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19799         Likewise.
19800         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19801         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19802         Likewise.
19804 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19806         [BZ #18036]
19807         * posix/fnmatch_loop.c (END): Detect invalid pattern.
19808         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
19810 2015-03-02  Andreas Schwab  <schwab@suse.de>
19812         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
19813         variable name.
19815 2015-03-02  Florian Weimer  <fweimer@redhat.com>
19817         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
19818         Return error status.
19820 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
19822         [BZ #15969]
19823         * locale/findlocale.c (_nl_find_locale): Introduce const
19824         version of loc_name and drop unsafe type casts.
19826 2015-02-27  Roland McGrath  <roland@hack.frob.com>
19828         * dlfcn/tststatic2.c (main): Converted to ...
19829         (do_test): ... this.
19830         (TEST_FUNCTION): New macro.
19831         Include test-skeleton.c.
19833 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
19835         [BZ #17711]
19836         * elf/Makefile (tests): Add vismain only if PIE is enabled.
19837         (tests-pie): Add vismain.
19838         (CFLAGS-vismain.c): New.
19839         * elf/vismain.c: Add comments for PIE requirement.
19841 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19843         [BZ #18046]
19844         [BZ #18047]
19845         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
19846         0x1p-56L as threshold for just returning the argument.
19847         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
19848         0x1p-32L as threshold for just returning the argument.
19849         * math/auto-libm-test-in: Add more tests of atanh.
19850         * math/auto-libm-test-out: Regenerated.
19851         * sysdeps/i386/fpu/libm-test-ulps: Update.
19852         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
19854 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19856         * string/bcopy.c (bcopy): Call memmove for performance.
19858 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19860         * string/bzero.c (__bzero): Call memset for performance.
19862 2015-02-27  John David Anglin  <dave.anglin@bell.net>
19864         [BZ #18068]
19865         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
19866         to 00100000.
19868 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19870         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
19872 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19874         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
19875         (__kernel_standard): Use CSTR macro when setting exc.name.
19876         * sysdeps/ieee754/Makefile [$(subdir) = math]
19877         (CFLAGS-k_standard.c): Remove variable.
19879         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
19880         setting p and q from "else if" to "else".
19881         (qzero): Likewise.
19882         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
19883         (qone): Likewise.
19884         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
19885         (qzerof): Likewise.
19886         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
19887         (qonef): Likewise.
19888         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
19889         (qzero): Likewise.
19890         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
19891         (qone): Likewise.
19893         [BZ #18038]
19894         [BZ #18039]
19895         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
19896         return pi/2 for arguments below 0x1p-113L.
19897         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
19898         return pi/2 for arguments below 0x1p-106L.
19899         * math/auto-libm-test-in: Add more tests of acos.
19900         * math/auto-libm-test-out: Regenerated.
19902         [BZ #16351]
19903         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
19904         (MO): New macro.
19905         (__ieee754_asin): Force underflow exception for results with small
19906         absolute value.
19907         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
19908         (MO): New macro.
19909         (__ieee754_asinf): Force underflow exception for results with
19910         small absolute value.
19911         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
19912         (__ieee754_asin): Force underflow exception for results with small
19913         absolute value.
19914         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
19915         (__ieee754_asinf): Force underflow exception for results with
19916         small absolute value.
19917         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
19918         (__ieee754_asinl): Force underflow exception for results with
19919         small absolute value.
19920         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
19921         (__ieee754_asinl): Force underflow exception for results with
19922         small absolute value.
19923         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
19924         (__ieee754_asinl): Force underflow exception for results with
19925         small absolute value.
19926         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19927         Include <math.h>.
19928         * math/auto-libm-test-in: Do not mark underflow exceptions as
19929         possibly missing for bug 16351.
19930         * math/auto-libm-test-out: Regenerated.
19932         [BZ #18030]
19933         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
19934         of power of 2 down when low part has opposite sign.
19935         * math/libm-test.inc (logb_test_data): Add more tests.
19937 2015-02-26  Andreas Schwab  <schwab@suse.de>
19939         [BZ #18032]
19940         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
19941         over collating symbol inside a bracket expression.  Minor cleanup.
19942         * posix/tst-fnmatch3.c (do_test): Add test case.
19944 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19946         [BZ #18029]
19947         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19948         Adjust exponent of power of 2 down when low part has opposite
19949         sign.
19950         * math/libm-test.inc (ilogb_test_data): Add more tests.
19952 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
19954         [BZ #15969]
19955         * locale/findlocale.c (_nl_find_locale): Fix constness error in
19956         the previous change.
19958         [BZ #15969]
19959         * locale/findlocale.c (_nl_find_locale): Retry archive search
19960         after alias expansion.
19962 2015-02-25  Roland McGrath  <roland@hack.frob.com>
19964         * iconv/tst-iconv3.c (main): Converted to ...
19965         (do_test): ... this.
19966         (TEST_FUNCTION): New macro.
19967         Include test-skeleton.c.
19969         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19970         (convert): Make function static.
19971         (test_unalign): Likewise.  Add const to argument pointee types.
19972         (main): Replace with static function do_test.
19973         Print "Succeeded." only if RET is zero.
19974         (TEST_FUNCTION): New macro.
19975         Include test-skeleton.c.
19977         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19978         returns a null pointer.
19980 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19982         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19983         to __memcpy_ppc only for static builds.
19985 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
19987         [BZ #18020]
19988         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19989         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19990         * math/auto-libm-test-in: Add more tests of asinh.
19991         * math/auto-libm-test-out: Regenerated.
19992         * sysdeps/i386/fpu/libm-test-ulps: Update.
19993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19995 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
19997         [BZ #15850]
19998         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19999         and ip6_mtuinfo definitions here.
20000         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20001         in this define too.  Update comment.
20003 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20005         * elf/sprof.c (load_shobj): Tweak error message to match others.
20007 2015-02-24  Kevin Easton  <kevin@guarana.org>
20009         [BZ #16145] (partial fix)
20010         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20011         to reduce lock contention.
20013 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20015         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20016         (struct timex): Update time comment.
20017         (ADJ_SETOFFSET): Define.
20019 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20021         [BZ #18019]
20022         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20023         2**56 not 2**28 as threshold for log (2x) formula.
20024         * math/auto-libm-test-in: Add more tests of acosh.
20025         * math/auto-libm-test-out: Regenerated.
20026         * sysdeps/i386/fpu/libm-test-ulps: Update.
20027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20029 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20031         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20032         parenthesis around the buf assignment.
20033         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20035 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20037         [BZ #16783]
20038         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20039         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20040         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20041         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20042         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20043         * math/libm-test.inc (scalb_test_data): Add more tests.
20045 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20047         [BZ #17916]
20048         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20049         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20051 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20053         [BZ #17523]
20054         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20055         * io/bits/fcntl2.h (open): Use it.
20056         (openat): Likewise.
20057         * io/open.c (__libc_open): Likewise.
20058         * io/open64.c (__libc_open64): Likewise.
20059         * io/open64_2.c (__open64_2): Likewise.
20060         * io/open_2.c (__open_2): Likewise.
20061         * io/openat.c (__openat): Likewise.
20062         * io/openat64.c (__openat64): Likewise.
20063         * io/openat64_2.c (__openat64_2): Likewise.
20064         * io/openat_2.c (__openat_2): Likewise.
20065         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20066         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20067         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20068         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20069         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20070         (__open_nocancel): Likewise.
20071         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20072         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20073         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20075 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20077         [BZ #14841]
20078         * resolv/gethnamaddr.c (getanswer): Skip logging if
20079         RES_USE_DNSSEC is set.
20080         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20082 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20084         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20086 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20088         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20089         201304L, for Unicode 7.
20091 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20093         [BZ #17836]
20094         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20095         shared library.  Add gmon-start.os otherwise.
20096         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20097         $(objpfx)gmon-start.os if builing shared library.
20098         ($(objpfx)g$(static-start-installed-name)): Likewise.
20100 2015-02-23  Andreas Schwab  <schwab@suse.de>
20102         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20104 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20106         [BZ #17269]
20107         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20108         (enlarge_userbuf): Likewise.
20110 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20112         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20113         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20114         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20115         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20117 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20119         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20120         expression inside statement expression.
20122 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20124         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20125         <sysdeps/nptl/lowlevellock.h> and remove macros and
20126         functions that are now defined there.
20127         (SYS_futex): Remove.
20128         (lll_compare_and_swap): Remove.
20129         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20131 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20133         [BZ #17999]
20134         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20135         instead of scandirat.
20136         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20137         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20138         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20139         __scandirat.
20140         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20141         (__scandirat): Declare.  Use libc_hidden_proto.
20142         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20143         Remove variable.
20144         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20146 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20148         [BZ #15319]
20149         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20150         (MO): New macro.
20151         (__ieee754_atan2): For results with small absolute value, force
20152         underflow exception and remove excess range and precision from
20153         return value.
20154         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20155         (MO): New macro.
20156         (__ieee754_atan2f): For results with small absolute value, force
20157         underflow exception and remove excess range and precision from
20158         return value.
20159         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20160         (MO): New macro.
20161         (__atan): For results with small absolute value, force underflow
20162         exception and remove excess range and precision from return value.
20163         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20164         (MO): New macro.
20165         (__atanf): For results with small absolute value, force underflow
20166         exception and remove excess range and precision from return value.
20167         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20168         <math.h>.
20169         (__ieee754_atan2): Force underflow exception for results with
20170         small absolute value.
20171         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20172         <math_private.h>.
20173         (atan): Force underflow exception for results with small absolute
20174         value.
20175         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20176         (__atanf): Force underflow exception for results with small
20177         absolute value.
20178         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20179         <math.h>.
20180         (__atanl): Force underflow exception for results with small
20181         absolute value.
20182         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20183         (__atanl): Force underflow exception for results with small
20184         absolute value.
20185         * sysdeps/x86/fpu/bits/mathinline.h
20186         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20187         (__ieee754_atan2): Only define inline for long double.
20188         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20189         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20190         * math/auto-libm-test-in: Do not mark underflow exceptions as
20191         possibly missing for bug 15319.  Add more tests of atan2.
20192         * math/auto-libm-test-out: Regenerated.
20193         * math/libm-test.inc (casin_test_data): Do not mark underflow
20194         exceptions as possibly missing for bug 15319.
20195         (casinh_test_data): Likewise.
20196         * sysdeps/i386/fpu/libm-test-ulps: Update.
20198 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20200         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20201         * sysdeps/mips/bits/endian.h: Fix comments.
20203 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20205         [BZ #17996]
20206         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20207         (hdestroy_r): Likewise.
20208         (hsearch_r): Likewise.
20209         (__hcreate_r): Declare and use libc_hidden_proto.
20210         (__hdestroy_r): Likewise.
20211         (__hsearch_r): Likewise.
20212         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20213         (hcreate): Call __hcreate_r instead of hcreate_r.
20214         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20215         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20216         as weak alias of __hcreate_r.
20217         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20218         __hdestroy_r.
20219         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20220         __hsearch_r.
20221         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20222         Remove variable.
20223         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20224         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20225         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20226         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20228 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20230         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20231         arena_lock into a single arena_get.
20233 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20235         * dl-reloc.c: Inlucde libc-internal.h.
20236         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20237         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20238         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20239         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20240         (grow_heap): Likewise.
20241         * malloc/malloc.c: Include libc-internal.h.
20242         (do_check_malloc): Call powerof2.
20243         (sysmalloc): Use pagesize. Call ALIGN_UP.
20244         (systrim): Use pagesize.
20245         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20246         (__libc_valloc): Use pagesize.
20247         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20249 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20251         [BZ #17991]
20252         * include/sys/resource.h (__getrlimit64): Declare.  Use
20253         libc_hidden_proto.
20254         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20255         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20256         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20257         getrlimit64.
20258         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20259         __getrlimit64.
20260         [!getrlimit64] (getrlimit64): Define as weak alias of
20261         __getrlimit64.  Use libc_hidden_weak.
20262         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20263         using __getrlimit64 not __new_getrlimit64.
20264         (__GI_getrlimit64): Likewise.
20265         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20266         Likewise.
20267         (__GI_getrlimit64): Likewise.
20268         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20270         (getrlimit): Add __getrlimit64 alias.
20271         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20272         Likewise.
20273         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20274         Remove variable.
20275         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20276         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20278 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20280         * libio/fileops.c: Add missing sys/mman.h
20281         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20283 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20285         * manual/math.texi (Errors in Math Functions): Clarify goals
20286         regarding inexact and underflow exceptions.
20288 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20290         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20291         * sysdeps/mips/memset.S: Ditto.
20293 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20295         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20297 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20299         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20300         (__v1longjmp): Remove versioned symbol.
20301         (__v1siglongjmp): Remove alias and versioned symbol.
20302         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20303         (__v2siglongjmp): Likewise.
20305 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20307         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20309 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20311         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20313 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20315         [BZ #17987]
20316         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20317         zero result does not depend on the sign resulting from
20318         subtraction.
20319         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20320         Likewise.
20321         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20322         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20323         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20324         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20325         * math/libm-test.inc (remquo_test_data): Add more tests.
20327 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
20329         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20330         Problem reported by J William Piggott.
20332 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20334         [BZ #17978]
20335         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20336         products 4 * y and 2 * y where those would overflow.
20337         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20338         Likewise.
20339         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20340         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20341         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20342         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20343         * math/libm-test.inc (remquo_test_data): Add more tests.
20345         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20347         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20348         [defined _COMPILING_NEWLIB].
20349         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20350         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20352         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20353         [!defined __mips_isa_rev || __mips_isa_rev < 6].
20355 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20357         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20358         acquired.
20360 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
20362         [BZ #17792]
20363         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20364         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20365         HOST_STACK_END_ADDR): Likewise.
20367 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
20369         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20370         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20371         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20373 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20375         * sysdeps/generic/c++-types.data: New file.
20376         * sysdeps/generic/ld.abilist: New file.
20377         * sysdeps/generic/libBrokenLocale.abilist: New file.
20378         * sysdeps/generic/libanl.abilist: New file.
20379         * sysdeps/generic/libc.abilist: New file.
20380         * sysdeps/generic/libcrypt.abilist: New file.
20381         * sysdeps/generic/libdl.abilist: New file.
20382         * sysdeps/generic/libm.abilist: New file.
20383         * sysdeps/generic/libpthread.abilist: New file.
20384         * sysdeps/generic/libresolv.abilist: New file.
20385         * sysdeps/generic/librt.abilist: New file.
20387 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20389         [BZ #17569]
20390         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20391         Compute absolute value of x as modified by fmod, not original
20392         value of x.
20393         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20394         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20395         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20396         RUN_TEST_ffI_f1_mod8.
20397         (remquo_test_data): Add more tests.
20399 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20401         * sysdeps/init_array/pt-crti.S: New file.
20403 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20405         [BZ #17967]
20406         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20407         __builtin_fmaf instead of relying on contraction of a * b + c.
20409 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20411         [BZ #17969]
20412         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20413         node.
20415 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20417         [BZ #17964]
20418         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20419         __builtin_fma instead of relying on contraction of a * b + c.
20421 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20423         * Makeconfig (ASFLAGS): Add -Werror=undef.
20424         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20425         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20426         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20428         * Makeconfig (after-link): New variable.
20429         (+link-pie, +link-pie-tests): Use it.
20430         (+link-static, +link-static-tests): Likewise.
20431         (+link, +link-tests): Likewise.
20432         * Makerules (build-module, build-module-asneeded): Likewise.
20433         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20434         Likewise.
20435         * elf/Makefile ($(objpfx)ld.so): Likewise.
20437 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20439         [BZ #17965]
20440         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20441         both struct timeval and struct timespec.
20443 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20445         [BZ #16560]
20446         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20447         and redefine.
20448         (__ieee754_exp2l): Do not multiply small fractional parts by
20449         M_LN2l.
20450         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20451         small argument.
20452         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20453         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20454         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20455         * math/auto-libm-test-in: Add more tests of exp2.
20456         * math/auto-libm-test-out: Regenerated.
20458 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20460         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20461         unaligned path.
20463 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20465         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20466         little endian.
20468 2015-02-12  Andreas Schwab  <schwab@suse.de>
20470         [BZ #15790]
20471         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20472         Filter out elision flags from value returned in kind.
20473         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20474         * nptl/tst-pthread-mutexattr.c: New file.
20476 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20478         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20479         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20480         into gnu-gnu, and update comment to refer to abi-tags.
20482 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
20484         [BZ #15467]
20485         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20486         (__sincos): Set errno to EDOM for infinite argument.
20487         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20488         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20489         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20490         (__sincosl): Set errno to EDOM for infinite argument.
20491         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20492         (__sincosl): Set errno to EDOM for infinite argument.
20493         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20494         (__sincosl): Set errno to EDOM for infinite argument.
20495         * math/libm-test.inc (sincos_test_data): Test errno setting.
20497 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
20499         * string/strxfrm_l.c: Remove #define STRCMP.
20500         * string/strcoll_l.c: Remove #define STRLEN.
20501         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20502         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20504 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
20506         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20507         * sysdeps/mips/mips32/sfp-machine.h: ... here.
20508         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20509         * sysdeps/mips/mips64/Makefile: ... here.
20510         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20511         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20512         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20513         * sysdeps/mips/mips64/sfp-machine.h: ... here.
20514         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20515         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20516         * sysdeps/mips/mips64/n64/Implies: Likewise.
20518 2015-02-10  Roland McGrath  <roland@hack.frob.com>
20520         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20521         <sys/time.h>, <string.h>, and <errno.h>.
20522         (dest_offset, dest_address, value, zero): Remove unused variables.
20523         (ldouble): Remove typedef.
20524         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20525         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
20526         1).  Fix code style.
20527         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20528         (check): Function removed.
20529         (CHECK): New macro.
20530         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
20531         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20532         Don't call set_sigaction_FP and remove_sigaction_FP here.
20533         (ldouble_test): Just use 'long double' as macro argument, no need for
20534         the 'ldouble' typedef.
20535         (do_test): Set up SIGFPE handler at start, using plain signal rather
20536         than sigaction.  Fix code style.
20538 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
20540         [BZ #17949]
20541         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20542         jump label.
20544 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20546         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20547         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20549         * sysdeps/powerpc/configure.ac: Remove file.
20550         * sysdeps/powerpc/configure: Likewise.
20552         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20553         [sysdep_routines]: Remove wordcopy-power6 object.
20554         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20555         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20556         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20557         (__memmove_ppc32): Likewise.
20558         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20559         file.
20560         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20561         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20562         Remove preprocessor.
20564         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20565         [sysdep_routines]: Remove wide chars objects.
20566         [wcsmbs]: New rule for wide char objects.
20568         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20569         Remove wordcopy-power6 obejct.
20570         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20571         Use local call for wordcopy and memcpy symbols.
20572         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20573         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20574         implementation for loader.
20575         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20577         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20578         Remove wordcopy-power7 object.
20579         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20580         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20581         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20582         (_wordcopy_fwd_dest_aligned): Likewise.
20583         (_wordcopy_bwd_aligned): Likewise.
20584         (_wordcopy_bwd_dest_aligned): Likewise.
20586         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20587         Rewrite to call __memmove_ppc instead of include default
20588         implementation.
20590         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20591         Remove wide chars objects.
20592         [wcsmbs]: New rule for wide char objects.
20594 2015-02-09  Andreas Schwab  <schwab@suse.de>
20596         [BZ #17912]
20597         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20598         in terms of __O_DIRECTORY.
20600 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20602         * time/getdate.c: Include <stdbool.h>.
20603         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20604         call PTR_MANGLE.
20605         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20606         PTR_DEMANGLE.
20608 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
20610         Add ersatz _Static_assert on older C hosts
20611         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20612         pre-C11 C platform that is not known to support _Static_assert.
20614 2015-02-07  Richard Braun  <rbraun@sceen.net>
20616         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20617         sigstate.
20618         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20620 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20622         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20623         priority against unexistent AIO_PRIO_DELTA_MAX.
20624         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20625         instead of int.
20626         * misc/fchflags.c (fchflags): Likewise.
20627         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20628         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20629         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20630         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20631         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20632         Declare macros.
20633         [__USE_MISC] (chflags, fchflags): Declare functions.
20634         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20635         EINVAL when nfds is greater than FD_SETSIZE.
20636         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20637         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20638         45.
20639         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20640         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20641         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20642         MACH_RCV_TIMED_OUT.
20643         * hurd/hurd/signal.h (_hurd_self_sigstate,
20644         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20645         Explicit casts from void *.
20646         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20647         * abi-tags: Rename gnu-gnu os into gnu.
20649         [BZ #4719]
20650         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20651         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20652         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20653         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20654         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20655         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20657         [BZ #17944]
20658         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20659         duplicates ADDR->sun_path with sockaddr LEN limitation.
20660         * sysdeps/mach/hurd/connect.c: Include <string.h>
20661         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20662         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20663         * sysdeps/mach/hurd/sendto.c: Likewise.
20664         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20665         implementing it by hand.
20667 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20669         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20670         Use sfi_breg on ldr.
20671         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20672         Likewise.
20674         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20675         it's defined.
20676         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20677         Test SIGSETXID only if it's defined.
20679         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20681         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20682         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
20684         * nptl/tst-align2.c: Moved ...
20685         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20686         * nptl/Makefile (tests): Remove tst-align2.
20687         * sysdeps/unix/sysv/linux/Makefile
20688         [$(subdir) = nptl] (tests): Add tst-align-clone.
20689         * nptl/tst-getpid1.c: Moved ...
20690         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20691         * nptl/tst-getpid2.c: Moved ...
20692         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20693         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20694         * sysdeps/unix/sysv/linux/Makefile
20695         [$(subdir) = nptl] (tests): ... here.
20696         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20697         * sysdeps/unix/sysv/linux/Makefile
20698         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20700         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20701         Drop trailing \n from perror argument.  Use return rather than exit.
20703         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20704         on [SA_SIGINFO].
20705         * nptl/tst-cancel21.c (do_test): Likewise.
20706         * debug/tst-backtrace6.c: Include <signal.h> first thing.
20707         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20708         [!SA_SIGINFO]: Make it a stub test.
20710         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20711         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20713         * posix/tst-getlogin.c: Move to ...
20714         * login/tst-getlogin.c: ... here.
20715         * posix/Makefile (tests): Move tst-getlogin to ...
20716         * login/Makefile (tests): ... here.
20718         * libio/tst-atime.c (do_test): Move local variables SV and E
20719         inside [ST_NOATIME] conditional.
20721         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20723         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20725         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20726         (wait_code): New function replaces macro.
20727         Call nanosleep rather than syscall.
20729         * nptl/pt-system.c: Rewritten.  Put everything under
20730         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20731         Use IFUNC to redirect when possible.
20733         * nptl/pt-longjmp.c: Rewritten.  Put everything under
20734         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20735         Use IFUNC to redirect when possible.
20737         * nptl/pt-fork.c: Rewritten.  Put everything under
20738         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20739         Use IFUNC to redirect when possible.
20740         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
20742         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
20743         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
20744         unconditionally nowadays.  This included the only reference to
20745         __vdso_clock_gettime that appears outside libc proper.
20746         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
20747         Remove version set (containing only __vdso_clock_gettime).
20748         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20749         Add attribute_hidden.
20750         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20751         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
20752         libc_hidden_data_def.
20753         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20754         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20756         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
20757         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
20758         setrpcent, and getrpcport to ...
20759         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
20760         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
20761         getrpcbynumber_r, and getrpcent_r to ...
20762         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
20763         * inet/getrpcbyname.c: Moved ...
20764         * sunrpc/getrpcbyname.c: ... here.
20765         * inet/getrpcbyname_r.c: Moved ...
20766         * sunrpc/getrpcbyname_r.c: ... here.
20767         * inet/getrpcbynumber.c: Moved ...
20768         * sunrpc/getrpcbynumber.c: ... here.
20769         * inet/getrpcbynumber_r.c: Moved ...
20770         * sunrpc/getrpcbynumber_r.c: ... here.
20771         * inet/getrpcent.c: Moved ...
20772         * sunrpc/getrpcent.c: ... here.
20773         * inet/getrpcent_r.c: Moved ...
20774         * sunrpc/getrpcent_r.c: ... here.
20775         * inet/Makefile (routines): Move those to ...
20776         * sunrpc/Makefile (routines): ... here.
20777         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
20778         the $(subdirs) list.
20779         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
20780         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
20781         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
20782         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
20784         * elf/Makefile (routines): Include $(all-dl-routines), not just
20785         $(dl-routines).
20786         (rtld-routines): Likewise.  Use = rather than :=.
20787         * sysdeps/aarch64/Makefile [$(subdir) = elf]
20788         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
20789         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
20790         * sysdeps/arm/Makefile: Likewise.
20791         * sysdeps/i386/Makefile: Likewise.
20792         * sysdeps/x86_64/Makefile: Likewise.
20793         * sysdeps/hppa/Makefile [$(subdir) = elf]
20794         (sysdep_routines, sysdep-rtld-routines): Don't add
20795         $(sysdep-dl-routines) to these.
20796         * sysdeps/ia64/Makefile: Likewise.
20797         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
20798         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
20799         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
20800         Don't add dl-static to these; sysdep-dl-routines alone is enough.
20801         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
20802         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
20803         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
20804         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
20805         * sysdeps/powerpc/Makefile [$(subdir) = elf]
20806         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
20807         these; sysdep-dl-routines alone is enough.
20809 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
20811         [BZ #17932]
20812         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
20813         where multiplication results in zero and third argument is finite
20814         and nonzero.
20815         * math/auto-libm-test-in: Add more tests of fma.
20816         * math/auto-libm-test-out: Regenerated.
20818         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
20819         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
20820         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
20821         (_FP_CMP_EQ): Likewise.
20822         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
20824         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
20825         extra argument CHECK_NAN.  Redefine as wrapper around
20826         _FP_EXTEND_CNAN.
20828 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
20830         * version.h (RELEASE): Set to "stable".
20831         (VERSION): Set to "2.21"
20832         * include/features.h (__GLIBC_MINOR__): Set to 21.
20834         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
20836 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20837             Paul Eggert  <eggert@cs.ucla.edu>
20839         [BZ #16618]
20840         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
20841         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
20842         size in bytes. Store needed elements in wpmax. Use needed size
20843         in bytes for extend_alloca.
20845 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
20847         * manual/install.texi: Latest tested versions are GCC 4.9.2,
20848         binutls 2.25, and texinfo 5.2.
20849         * INSTALL: Regenerate.
20850         * sysdeps/nios2/configure: Regenerate.
20851         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
20852         * manual/contrib.texi: Update.
20853         * po/be.po: Update.
20854         * po/bg.po: Update.
20855         * po/ca.po: Update.
20856         * po/cs.po: Update.
20857         * po/da.po: Update.
20858         * po/de.po: Update.
20859         * po/el.po: Update.
20860         * po/eo.po: Update.
20861         * po/es.po: Update.
20862         * po/fi.po: Update.
20863         * po/fr.po: Update.
20864         * po/gl.po: Update.
20865         * po/hr.po: Update.
20866         * po/hu.po: Update.
20867         * po/ia.po: Update.
20868         * po/id.po: Update.
20869         * po/it.po: Update.
20870         * po/ja.po: Update.
20871         * po/ko.po: Update.
20872         * po/lt.po: Update.
20873         * po/nb.po: Update.
20874         * po/nl.po: Update.
20875         * po/pl.po: Update.
20876         * po/pt_BR.po: Update.
20877         * po/ru.po: Update.
20878         * po/rw.po: Update.
20879         * po/sk.po: Update.
20880         * po/sl.po: Update.
20881         * po/sv.po: Update.
20882         * po/tr.po: Update.
20883         * po/uk.po: Update.
20884         * po/vi.po: Update.
20885         * po/zh_CN.po: Update.
20886         * po/zh_TW.po: Update.
20888         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
20889         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
20890         * sysdeps/hppa/dl-irel.h: Remove #warning.
20891         * sysdeps/hppa/entry.h: Provide prototype for
20892         __canonicalize_funcptr_for_compare and cast argument.
20893         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
20894         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
20895         * sysdeps/hppa/sotruss-lib.c: New file.
20896         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
20897         (atomic_compare_and_exchange_val_acq): Use __typeof__.
20898         (atomic_compare_and_exchange_bool_acq): Likewise.
20899         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
20900         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
20902         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
20903         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
20904         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
20906 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
20908         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
20909         called function in non-PIC case.
20911 2015-01-31  David S. Miller  <davem@davemloft.net>
20913         * sysdeps/sparc/sparc32/bits/atomic.h
20914         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
20915         unlock not after it.
20916         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
20917         volatile register usage warnings from the compiler.
20919         * sysdeps/sparc/nptl/sem_init.c: Delete.
20920         * sysdeps/sparc/nptl/sem_post.c: Delete.
20921         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
20922         * sysdeps/sparc/nptl/sem_wait.c: Delete.
20923         * sysdeps/sparc/sparc32/sem_init.c: New file.
20924         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
20925         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
20926         padding explicitly initialized.
20927         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
20928         padding for in-semaphore spinlock.
20929         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20930         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
20931         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
20932         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
20933         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
20934         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
20935         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
20936         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
20937         version.
20938         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
20939         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
20941 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
20943         [BZ #17801]
20944         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20945         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20946         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20947         New.
20948         (index_AVX_Fast_Unaligned_Load): Likewise.
20949         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20950         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20951         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20952         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20953         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20954         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20955         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20956         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20957         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20959 2015-01-29  Andreas Schwab  <schwab@suse.de>
20961         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20963 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
20965         [BZ #17892]
20966         * nscd/nscd_stat.c (send_stats): Initialize DATA.
20968 2015-01-28  Martin Sebor  <msebor@redhat.com>
20970         * math/README.libm-test: Clarify. Add "How to read the test output."
20972 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
20974         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20975         Define to 0.
20977 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
20979         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20980         (__HAVE_64B_ATOMICS): Define to 0.
20982 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20984         [BZ #17885]
20985         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20986         value to set as new flag.
20988         [BZ #16576]
20989         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20990         and use _ARCH_PPCSQ instead.
20991         (__ieee754_sqrt): Likewise.
20992         (__ieee754_sqrtf): Likewise.
20993         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20994         _ARCH_PPCSQ is defined.
20995         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20996         fsqrt instruction.
20997         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20998         _ARCH_PPCSQ is defined.
20999         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21000         fsqrts instruction.
21001         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21003 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21005         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21006         bug (GCC BZ #64739).
21008 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21010         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21011         Mark _retval as used.
21012         (lll_futex_wake_unlock): Likewise.
21013         (lll_futex_timed_wait_requeue_pi): Likewise.
21015         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21016         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21017         register variables.
21019         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21020         libm_hidden_def.
21022         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21023         (__bswap_64): Mark as __always_inline.
21025 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21027         [BZ #15378]
21028         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21029         when none of the search directories exist.
21031 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21033         [BZ #17869]
21034         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21035         power8 in .machine directive.
21037         [BZ #17868]
21038         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21039         set dependency from opd value.
21041 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21043         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21044         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21045         architecture.
21047 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21049         [BZ #17870]
21050         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21051         with uint64_t.
21052         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21053         (uint64_t) 1.
21054         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21055         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21056         Replace 1UL with (uint64_t) 1.
21057         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21058         int with uint64_t.
21060 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21062         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21063         (if_freenameindex): Likewise.
21065         * resource/getrlimit64.c: Add missing libc_hidden_def.
21067 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21069         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21070         __label__.
21071         (_FP_FMA): Likewise.
21072         (_FP_TO_INT_ROUND): Likewise.
21073         (_FP_FROM_INT): Likewise.
21075 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21077         [BZ #16418]
21078         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21079         Make code racy and cancel safe.
21081 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21083         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21084         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21085         attribution.
21087         * pwd/tst-getpw.c: Rewrite.
21089         [BZ #17702]
21090         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21091         (modules-names): Add moddummy1 and moddummy2.
21092         ($(objpfx)tst-rec-dlopen): Define.
21093         * dlfcn/moddummy1.c: New file.
21094         * dlfcn/moddummy2.c: New file.
21095         * dlfcn/tst-rec-dlopen.c: New file.
21096         * elf/dl-cache.c (_dl_load_cache_lookup):
21097         Return char*. Copy result with alloca/strcpy/strdup.
21098         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21099         returns char*. Free cached. If not saving realname
21100         free cached.
21101         * elf/dl-open.c (dl_open_worker): Do not assert that
21102         _r_debug->r_state is RT_CONSISTENT.
21103         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21104         returns char*.
21106 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21107             Carlos O'Donell  <carlos@redhat.com>
21109         [BZ #12674]
21110         * nptl/sem_waitcommon.c: New file.
21111         * nptl/sem_wait.c: Include sem_waitcommon.c.
21112         (__sem_wait_cleanup, do_futex_wait): Remove.
21113         (__new_sem_wait): Adapt.
21114         (__new_sem_trywait): New function.
21115         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21116         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21117         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21118         (sem_timedwait): Adapt.
21119         * nptl/sem_post.c (__new_sem_post): Adapt.
21120         (futex_wake): New function.
21121         (__old_sem_post): Add release MO fence.
21122         * nptl/sem_open.c (sem_open): Adapt.
21123         * nptl/sem_init.c (__new_sem_init): Adapt.
21124         (futex_private_if_supported): New function.
21125         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21126         (__old_sem_getvalue): Add using previous code.
21127         * sysdeps/nptl/internaltypes.h: Adapt.
21128         * nptl/tst-sem13.c (do_test): Adapt.
21129         * nptl/tst-sem11.c (main): Adapt.
21130         * nptl/sem_trywait.c: Remove.
21131         * nptl/DESIGN-sem.txt: Remove.
21132         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21133         (gen-as-const-headers): Remove structsem.sym.
21134         * nptl/structsem.sym: Remove.
21135         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21136         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21137         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21138         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21139         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21140         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21141         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21142         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21143         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21144         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21145         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21146         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21147         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21148         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21149         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21150         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21151         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21152         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21153         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21154         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21155         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21156         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21158 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21160         * INSTALL: Regenerated.
21162         * po/libc.pot: Regenerated.
21164 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21165             Sandra Loosemore  <sandra@codesourcery.com>
21166             Andrew Jenner  <andrew@codesourcery.com>
21167             Joseph Myers  <joseph@codesourcery.com>
21168             Nathan Sidwell  <nathan@codesourcery.com>
21170         * NEWS: Mention new Nios II port.
21171         * sysdeps/nios2/Implies: New file.
21172         * sysdeps/nios2/Makefile: New file.
21173         * sysdeps/nios2/Subdirs: New file.
21174         * sysdeps/nios2/Versions: New file.
21175         * sysdeps/nios2/__longjmp.S: New file.
21176         * sysdeps/nios2/abort-instr.h: New file.
21177         * sysdeps/nios2/backtrace.c: New file.
21178         * sysdeps/nios2/bits/endian.h: New file.
21179         * sysdeps/nios2/bits/fenv.h: New file.
21180         * sysdeps/nios2/bits/link.h: New file.
21181         * sysdeps/nios2/bits/setjmp.h: New file.
21182         * sysdeps/nios2/bsd-_setjmp.S: New file.
21183         * sysdeps/nios2/bsd-setjmp.S: New file.
21184         * sysdeps/nios2/configure: New generated file.
21185         * sysdeps/nios2/configure.ac: New file.
21186         * sysdeps/nios2/crti.S: New file.
21187         * sysdeps/nios2/crtn.S: New file.
21188         * sysdeps/nios2/dl-init.c: New file.
21189         * sysdeps/nios2/dl-machine.h: New file.
21190         * sysdeps/nios2/dl-sysdep.h: New file.
21191         * sysdeps/nios2/dl-tls.h: New file.
21192         * sysdeps/nios2/dl-trampoline.S: New file.
21193         * sysdeps/nios2/gccframe.h: New file.
21194         * sysdeps/nios2/gmp-mparam.h: New file.
21195         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21196         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21197         * sysdeps/nios2/ldsodefs.h: New file.
21198         * sysdeps/nios2/libc-tls.c: New file.
21199         * sysdeps/nios2/libm-test-ulps: New file.
21200         * sysdeps/nios2/machine-gmon.h: New file.
21201         * sysdeps/nios2/math-tests.h: New file.
21202         * sysdeps/nios2/math_private.h: New file.
21203         * sysdeps/nios2/memusage.h: New file.
21204         * sysdeps/nios2/nptl/Makefile: New file.
21205         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21206         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21207         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21208         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21209         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21210         * sysdeps/nios2/nptl/tls.h: New file.
21211         * sysdeps/nios2/preconfigure: New file.
21212         * sysdeps/nios2/s_fma.c: New file.
21213         * sysdeps/nios2/s_fmaf.c: New file.
21214         * sysdeps/nios2/setjmp.S: New file.
21215         * sysdeps/nios2/sfp-machine.h: New file.
21216         * sysdeps/nios2/sotruss-lib.c: New file.
21217         * sysdeps/nios2/stackguard-macros.h: New file.
21218         * sysdeps/nios2/stackinfo.h: New file.
21219         * sysdeps/nios2/start.S: New file.
21220         * sysdeps/nios2/sysdep.h: New file.
21221         * sysdeps/nios2/tls-macros.h: New file.
21222         * sysdeps/nios2/tst-audit.h: New file.
21223         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21224         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21225         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21226         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21227         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21228         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21229         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21230         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21231         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21232         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21233         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21234         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21235         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21236         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21237         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21238         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21239         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21240         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21241         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21242         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21243         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21244         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21245         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21246         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21247         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21248         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21249         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21250         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21251         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21252         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21253         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21254         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21255         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21256         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21257         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21258         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21259         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21260         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21261         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21262         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21263         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21264         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21265         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21266         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21268 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21270         [BZ #17844]
21271         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21272         (getutent): Use weak_alias in non SHARED case
21273         and default_symbol_version in SHARED case.
21274         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21275         (getutent_r, pututline): Likewise.
21276         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21277         (getutid): Likewise.
21278         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21279         (getutid_r): Likewise.
21280         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21281         (getutline): Likewise.
21282         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21283         (getutline_r): Likewise.
21284         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21285         (updwtmp): Likewise.
21287 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21289         [BZ #17848]
21290         * sysdeps/s390/s390-32/memcmp.S
21291         (memcmp_g5): Rename to __memcmp_g5.
21292         * sysdeps/s390/s390-32/memcpy.S
21293         (memcpy_g5): Rename to __memcpy_g5.
21294         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21295         (memcpy_mvcle) Rename to __memcpy_mvcle.
21296         * sysdeps/s390/s390-32/memset.S
21297         (memset_g5): Rename to __memset_g5.
21298         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21299         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21300         and use prefixed functions.
21301         * sysdeps/s390/s390-32/multiarch/memcmp.S
21302         (memcmp_z196): Rename to __memcmp_z196.
21303         (memcmp_z10): Rename to __memcmp_z10.
21304         (memcmp): Set alias to __memcmp_g5.
21305         (bcmp): Set alias to __memcmp_g5.
21306         * sysdeps/s390/s390-32/multiarch/memcpy.S
21307         (memcpy_z196): Rename to __memcpy_z196.
21308         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21309         (memcpy_z10): Rename to __memcpy_z10.
21310         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21311         (memcpy): Set alias to __memcpy_g5.
21312         * sysdeps/s390/s390-32/multiarch/memset.S
21313         (memset_z196): Rename to __memset_z196.
21314         Jump to __memset_mvcle instead of memset_mvcle.
21315         (memset_z10): Rename to __memset_z10.
21316         Jump to __memset_mvcle instead of memset_mvcle.
21317         (memset_mvcle) Rename to __memset_mvcle.
21318         (memset): Set alias to __memset_g5.
21319         * sysdeps/s390/s390-64/memcmp.S
21320         (memcmp_z900): Rename to __memcmp_z900.
21321         * sysdeps/s390/s390-64/memcpy.S
21322         (memcpy_z900): Rename to __memcpy_z900.
21323         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21324         (memcpy_mvcle) Rename to __memcpy_mvcle.
21325         * sysdeps/s390/s390-64/memset.S
21326         (memset_z900): Rename to __memset_z900.
21327         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21328         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21329         and use prefixed functions.
21330         * sysdeps/s390/s390-64/multiarch/memcmp.S
21331         (memcmp_z196): Rename to __memcmp_z196.
21332         (memcmp_z10): Rename to __memcmp_z10.
21333         (memcmp): Set alias to __memcmp_z900.
21334         (bcmp): Set alias to __memcmp_z900.
21335         * sysdeps/s390/s390-64/multiarch/memcpy.S
21336         (memcpy_z196): Rename to __memcpy_z196.
21337         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21338         (memcpy_z10): Rename to __memcpy_z10.
21339         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21340         (memcpy): Set alias to __memcpy_z900.
21341         * sysdeps/s390/s390-64/multiarch/memset.S
21342         (memset_z196): Rename to __memset_z196.
21343         Jump to __memset_mvcle instead of memset_mvcle.
21344         (memset_z10): Rename to __memset_z10.
21345         Jump to __memset_mvcle instead of memset_mvcle.
21346         (memset_mvcle) Rename to __memset_mvcle.
21347         (memset): Set alias to __memset_z900.
21349 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
21351         [BZ #17748]
21352         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21353         __fesetenv instead of fesetenv.
21355 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21357         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21358         macro.
21360 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21362         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21363         regression on LE.
21365         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21366         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21367         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21368         strncmp-power8 object.
21369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21370         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21371         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21372         * NEWS: Update.
21374 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21375             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21377         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21378         trailing byte check.
21380 2015-01-13  David S. Miller  <davem@davemloft.net>
21382         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21384 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21386         * login/logout.c (logout): Use memset rather than bzero.
21387         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21388         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21389         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21390         (_gethtbyaddr): Likewise.
21391         * locale/programs/simple-hash.c (bcopy): Macro removed.
21393 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21395         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21396         Add strcmp-power8 object.
21397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21398         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21399         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21400         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21401         __strcmp_power8 implementation.
21402         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21403         * NEWS: Update.
21405         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21406         Add strncpy-power8 and stpncpy-power8 objects.
21407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21408         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21409         implementations.
21410         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21411         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21412         __stpncpy_power8 implementation.
21413         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21414         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21415         __strncpy_power8 implementation.
21416         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21417         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21418         * NEWS: Update.
21420         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21421         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21422         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21424         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21425         strncat-power8 object.
21426         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21427         __strcat_power8 implementation.
21428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21429         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21430         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21431         optimized strcat for power8.
21433         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21434         strcpy-power8 and stpcpy-power8 objects.
21435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21436         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21437         implementations.
21438         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21439         multiarch stpcpy implementation for POWER8.
21440         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21441         multiarch strcpy implementation for POWER8.
21442         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21443         __strcpy_power8 function.
21444         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21445         stpcpy for POWER8.
21446         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21447         strcpy for POWER8.
21448         * NEWS: Update.
21450 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21452         [BZ #16009]
21453         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21454         weights and rules. Use do_xfrm_cached if data fits in cache,
21455         do_xfrm otherwise.  Moved former main loop to...
21456         * (do_xfrm_cached): New function.
21457         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21458         find_idx, find_position and stack_push.
21459         * (find_idx): New function.
21460         * (find_position): Likewise.
21461         * localedata/sort-test.sh: Added test run for do_xfrm.
21462         * localedata/xfrm-test.c (main): Added command line option
21463         -nocache to run the test with strings that are too large for
21464         the STRXFRM cache.
21466 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21468         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21469         variable to lll_futex_wake call, not the value itself.
21471 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21473         [BZ #17803]
21474         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21475         twom64.  Adjust value to 0x1p-64L.
21476         (__scalblnl): Only return standard underflowing result for K <=
21477         -64 not K <= -63; adjust exponent for underflowing result by 64
21478         not 63.
21479         * math/libm-test.inc (scalbn_test_data): Add more tests.
21480         (scalbln_test_data): Likewise.
21482         [BZ #17834]
21483         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21484         0x1p63L.
21485         (__scalblnl): Get new exponent of adjusted subnormal value from ES
21486         not HX.
21487         * math/libm-test.inc (scalbn_test_data): Add more tests.
21488         (scalbln_test_data): Likewise.
21490 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21491             Stefani Seibold  <stefani@seibold.net>
21493         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21494         (sysdep_routines): Add dl-vdso here, ...
21495         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21496         (sysdep_routines): ... not here.
21497         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21498         fallback when vDSO is not presented.
21499         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21500         Define with libc_hidden_proto/libc_hidden_data_def definitions.
21501         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21502         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21503         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21504         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21505         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21506         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21507         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21508         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21509         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
21510         fallback configurable symbol when vDSO is not available.
21511         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21512         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
21513         be able to redefine fallback symbol when vDSO is not available.
21514         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21515         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21517 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21519         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21520         (TLS_INIT_TP): Add tm_capable initialization.
21521         (TLS_DEFINE_INIT_TP): Likewise.
21522         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21523         TCB.
21524         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21525         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21526         calculation.
21527         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21528         transactoion is lock elision is built and TCB tm_capable is set.
21529         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21531         (INTERNAL_SYSCALL_NCS): Likewise.
21532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21533         (INTERNAL_SYSCALL_NCS): Likewise.
21534         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21536         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21537         for powerpc.
21538         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21539         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21540         and remove it for 32 bits case.
21541         [pthread_rwlock_t] (__rwelision): New field for lock elision.
21542         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21543         initialization.
21544         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21545         Disable lock elision with rdlocks if elision is not available.
21547         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21548         (sysdep_routines): Add lock elision objects.
21549         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21550         [pthread_mutex_t] (__spins): Rework to add lock elision field.
21551         [pthread_mutex_t] (__elision): Add field.
21552         [__PTHREAD_SPINS]: Adjust to init lock elision field.
21553         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21554         elision definitions for powerpc.
21555         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21556         implementation of lock elision for powerpc.
21557         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21558         implementation of timed lock elision for powerpc.
21559         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21560         implementation of trylock with lock elision for powerpc.
21561         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21562         implementaion of unlock for lock elision for powerpc.
21563         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21564         automatic enable lock elision for mutexes.
21565         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21566         transaction execution definitions for powerpc.
21567         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21568         definitions.
21569         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21570         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21571         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21572         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21573         * NEWS: Update.
21575 2015-01-09  Roland McGrath  <roland@hack.frob.com>
21577         * sysdeps/posix/shm-directory.c: Use <> rather than ""
21578         for #include of <shm-directory.h>.
21580 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
21582         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21583         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21585 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
21587         [BZ #17791]
21588         * NEWS: Mention bug fix.
21589         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21590         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21591         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21593 2015-01-09  Torvald Riegel <triegel@redhat.com>
21595         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21597 2015-01-09  Torvald Riegel <triegel@redhat.com>
21599         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21601 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21603         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21604         pointer and cast to uintptr_t.
21606 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21608         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21609         removed.
21610         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21612 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21614         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21615         of 0.
21617 2015-01-08  Roland McGrath  <roland@hack.frob.com>
21619         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21620         <nptl/pthreadP.h> instead.
21621         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21623         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21624         already defined.
21625         [__SIGRTMIN] (init): Function removed.
21626         [__SIGRTMIN] (initialized): Variable removed.
21627         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21628         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21629         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21630         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21631         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21632         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21633         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21634         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21635         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21636         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21637         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21638         * sysdeps/nptl/allocrtsig.c: New file.
21639         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21640         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21641         * sysdeps/generic/testrtsig.h: File removed.
21643         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21644         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21646         * nptl/nptl-init.c (pthread_functions): Conditionalize
21647         .ptr__nptl_setxid initialization on [SIGSETXID].
21649         * sysdeps/nptl/sys/procfs.h: New file.
21650         * nptl_db/Makefile (headers): Add it.
21651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21653         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21654         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21655         * nptl/pthread_attr_setaffinity.c: Include it.
21656         * nptl/pthread_setattr_default_np.c: Likewise.
21657         * nptl/check-cpuset.h: New file.
21659 2015-01-08  Richard Henderson  <rth@redhat.com>
21661         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21662         (CFLAGS-tst-execstack-prog.c): Likewise.
21663         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21665 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21666             Sandra Loosemore  <sandra@codesourcery.com>
21667             Andrew Jenner  <andrew@codesourcery.com>
21668             Joseph Myers  <joseph@codesourcery.com>
21669             Nathan Sidwell  <nathan@codesourcery.com>
21671         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21672         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21673         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21674         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21675         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21676         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21677         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21678         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21679         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21680         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21681         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21682         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21683         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21684         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21685         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21686         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21687         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21689 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21691         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21692         timespec struct member in syscall macro.
21693         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21694         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21695         first timeval struct member in syscall macro.
21696         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21698 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
21700         [BZ #17748]
21701         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21702         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21703         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21704         __feupdateenv and define as weak alias of __feupdateenv.  Use
21705         libm_hidden_weak.
21706         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21707         libm_hidden_def.
21708         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21709         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
21710         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21711         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21712         libm_hidden_def.
21713         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21714         __feupdateenv and define as weak alias of __feupdateenv.  Use
21715         libm_hidden_weak.
21716         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21717         libm_hidden_def.
21718         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21719         __feupdateenv and define as weak alias of __feupdateenv.  Use
21720         libm_hidden_weak.
21721         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21722         libm_hidden_def.
21723         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21724         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21725         (__feupdateenv): Likewise.
21726         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21727         __feupdateenv and define as weak alias of __feupdateenv.  Use
21728         libm_hidden_weak.
21729         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21730         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21731         libm_hidden_def.
21732         * sysdeps/tile/math_private.h (__feupdateenv): New inline
21733         function.
21734         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21735         libm_hidden_def.
21736         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
21737         __feupdateenv instead of feupdateenv.
21738         (default_libc_feupdateenv_test): Likewise.
21739         (libc_feresetround_ctx): Likewise.
21741 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21743         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
21744         prototype.
21746 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
21748         * posix/regcomp.c (parse_bracket_exp): Initialize type to
21749         COLL_SYM in a couple of places to avoid uninitialized variable
21750         wanings on tilegx gcc 4.8.2.
21752 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21754         * sysdeps/aarch64/strcpy.S: New file.
21755         * sysdeps/aarch64/stpcpy.S: New file.
21756         * NEWS: Updated.
21758 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21760         * sysdeps/aarch64/strrchr.S: New file.
21761         * NEWS: Updated.
21763 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
21765         [BZ #17658]
21766         * stdlib/setenv.c: Fix memory leak when setting large,
21767         duplicate string.
21769 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
21771         [BZ #17273]
21772         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
21773         and tabs from buffer before parsing fstab entry.
21774         * misc/tst-mntent.c (main): Add test for mount entry with
21775         trailing spaces and tabs.
21777 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
21779         [BZ #17748]
21780         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
21781         * math/fesetround.c (fesetround): Rename to __fesetround and
21782         define as weak alias of __fesetround.  Use libm_hidden_weak.
21783         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
21784         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
21785         * sysdeps/arm/fesetround.c (fesetround): Likewise.
21786         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
21787         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
21788         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
21789         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
21790         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
21791         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
21792         __fesetround_inline.
21793         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
21794         __fesetround_inline instead of __fesetround.
21795         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
21796         __fesetround and define as weak alias of __fesetround.  Use
21797         libm_hidden_weak.  Call __fesetround_inline instead of
21798         __fesetround.
21799         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
21800         __fesetround and define as weak alias of __fesetround.  Use
21801         libm_hidden_weak.
21802         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
21803         Likewise.
21804         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
21805         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21806         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
21807         * sysdeps/tile/math_private.h (__fesetround): New inline function.
21808         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
21809         __fesetround and define as weak alias of __fesetround.  Use
21810         libm_hidden_weak.
21811         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
21812         __fesetround instead of fesetround.
21813         (default_libc_feholdexcept_setround): Likewise.
21814         (libc_feholdsetround_ctx): Likewise.
21815         (libc_feholdsetround_noex_ctx): Likewise.
21817         [BZ #17748]
21818         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
21819         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
21820         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21821         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21822         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21823         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
21824         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21825         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21826         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21827         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21828         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21829         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21830         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21831         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21832         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
21833         libm_hidden_def.
21834         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
21835         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
21836         Likewise.
21837         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21838         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21839         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21840         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21841         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
21842         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21843         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21844         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
21845         __fesetenv instead of fesetenv.
21846         (libc_feresetround_noex_ctx): Likewise.
21847         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21848         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21849         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
21850         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21851         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21852         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21853         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21854         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21855         (__feupdateenv): Likewise.
21856         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21857         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21858         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21859         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
21861 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21863         [BZ #17806]
21864         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
21865         addresses have been freed.
21867 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21869         * resolv/res_init.c (__res_vinit): Improve comments about nserv
21870         and nservall.
21872 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
21874         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
21875         Clean up check_pf allocation pattern. addresses
21877 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21879         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
21880         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
21881         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
21882         * nptl/pthread_exit.c (__pthread_exit): Likewise.
21883         * nptl/pthread_join.c (pthread_join): Likewise.
21884         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21885         * sysdeps/posix/waitid.c (__waitid): Likewise.
21886         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21887         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21888         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21889         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21890         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21891         Likewise.
21892         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21893         (__libc_pread64): Likewise.
21894         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21895         (__libc_pwrite): Likewise.
21896         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21897         (__libc_pwrite64): Likewsie.
21898         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21899         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21900         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21901         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21902         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21903         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21904         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21906         Likewise.
21907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21908         (__libc_pread64): Likewise.
21909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
21910         Likewise.
21911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21912         (__libc_pwrite64): Likewise.
21913         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21914         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21915         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
21916         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
21917         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21918         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21919         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
21920         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21921         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21922         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21923         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
21924         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21925         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21926         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
21927         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21928         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21929         Likewise.
21931 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21933         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
21934         (CFLAGS-test-double.c): Likewise.
21935         (CFLAGS-test-ldouble.c): Likewise.
21936         (CPPFLAGS-test-ifloat.c): Likewise.
21937         (CPPFLAGS-test-idouble.c): Likewise.
21938         (CPPFLAGS-test-ildoubl.c): Likewise.
21939         (CFLAGS-test-test-fenv.c): Remove variable.
21940         (CFLAGS-test-misc.c): Likewise.
21942 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
21944         [BZ #17797]
21945         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21946         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21947         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21948         CLOCKS_PER_SEC == 1000000.
21949         * time/clocktest.c (main): Replace %ld with %jd and cast to
21950         intmax_t.
21952 2015-01-05  Roland McGrath  <roland@hack.frob.com>
21954         * sysdeps/generic/unwind-resume.h: New file.
21955         * sysdeps/gnu/unwind-resume.c: Include it.
21956         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21957         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21958         argument list.
21959         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21960         global rather than static.
21961         (_Unwind_Resume): Update user.
21962         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21963         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
21964         rather than static.  Add __attribute__ ((cold)).
21965         (_Unwind_Resume, __gcc_personality_v0): Update callers.
21966         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21967         * sysdeps/arm/arm-unwind-resume.S: New file.
21968         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21969         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21970         * sysdeps/arm/Makefile [$(subdir) = csu]
21971         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21972         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21973         Add rt-arm-unwind-resume.
21974         [$(subdir) = nptl]
21975         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21976         Add pt-arm-unwind-resume.
21977         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21978         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21980 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21982         [BZ #17748]
21983         * include/fenv.h (__feholdexcept): Declare.  Use
21984         libm_hidden_proto.
21985         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21986         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
21987         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21988         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21989         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21990         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21991         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21992         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21993         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21994         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21995         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21996         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21997         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21998         (feholdexcept): Likewise.
21999         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22000         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22001         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22002         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22003         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22004         __feholdexcept instead of feholdexcept.
22005         (default_libc_feholdexcept_setround): Likewise.
22007 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22009         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22010         to avoid using stl/str to align destination.
22012 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22014         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22016 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22018         [BZ #17796]
22019         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22020         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22021         Define as weak alias not strong alias.
22023 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22025         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22026         bltzal with addiupc.
22027         (RTLD_START): Ditto.
22029 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22031         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22032         for __vdso_* functions in declarations.
22033         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22034         definitions.
22035         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22036         INTERNAL_VSYSCALL): Use struct return types to check for error.
22038         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22039         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22040         function with cast from llround().
22041         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22042         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22043         Define.
22045 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22047         [BZ #17793]
22048         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22049         Define as weak alias not strong alias.
22051         [BZ #17635]
22052         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22053         ...
22054         * ctype/ctype-extn.c: ... here.
22055         (__isblank_l): Move to ...
22056         * ctype/ctype-c99_l.c: ... here.  New file.
22057         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22058         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22059         Remove variable.
22060         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22061         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22062         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22063         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22064         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22066         [BZ #17777]
22067         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22068         (posix_fadvise64): Define as weak alias not strong alias.
22069         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22070         (posix_fallocate64): Likewise.
22071         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22072         Remove variable.
22073         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22074         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22075         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22076         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22077         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22079 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22081         [BZ #16191]
22082         * NEWS: Mention bug fix.
22083         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22084         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22085         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22086         (HOST_STACK_END_ADDR): Likewise.
22088 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22090         [BZ #17748]
22091         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22092         * math/fegetround.c (fegetround): Rename to __fegetround and
22093         define as weak alias of __fegetround.  Use libm_hidden_weak.
22094         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22095         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22096         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22097         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22098         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22099         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22100         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22101         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22102         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22103         Undefine after rather than before function definition; use
22104         parentheses around function name in definition.
22105         (__fegetround): Also undefine macro after function definition.
22106         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22107         __fegetround and define as weak alias of __fegetround.  Use
22108         libm_hidden_weak.  Do not undefine as macro.
22109         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22110         Likewise.
22111         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22112         __fegetround and define as weak alias of __fegetround.  Use
22113         libm_hidden_weak.
22114         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22115         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22116         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22117         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22118         __fegetround and define as weak alias of __fegetround.  Use
22119         libm_hidden_weak.
22120         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22121         __fegetround instead of fegetround.
22123         [BZ #17782]
22124         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22125         Condition macro definition on [__USE_MISC].
22127         [BZ #17781]
22128         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22129         (struct sigaction): Change type of sa_flags field to int.
22131         [BZ #17780]
22132         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22133         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22134         __glibc_reserved0.
22136         * nptl/version.c (banner): Use single year in copyright notice.
22138         * NEWS: Update copyright dates.
22139         * catgets/gencat.c (print_version): Likewise.
22140         * csu/version.c (banner): Likewise.
22141         * debug/catchsegv.sh: Likewise.
22142         * debug/pcprofiledump.c (print_version): Likewise.
22143         * debug/xtrace.sh (do_version): Likewise.
22144         * elf/ldconfig.c (print_version): Likewise.
22145         * elf/ldd.bash.in: Likewise.
22146         * elf/pldd.c (print_version): Likewise.
22147         * elf/sotruss.sh: Likewise.
22148         * elf/sprof.c (print_version): Likewise.
22149         * iconv/iconv_prog.c (print_version): Likewise.
22150         * iconv/iconvconfig.c (print_version): Likewise.
22151         * locale/programs/locale.c (print_version): Likewise.
22152         * locale/programs/localedef.c (print_version): Likewise.
22153         * login/programs/pt_chown.c (print_version): Likewise.
22154         * malloc/memusage.sh (do_version): Likewise.
22155         * malloc/memusagestat.c (print_version): Likewise.
22156         * malloc/mtrace.pl: Likewise.
22157         * manual/libc.texinfo: Likewise.
22158         * nptl/version.c (banner): Likewise.
22159         * nscd/nscd.c (print_version): Likewise.
22160         * nss/getent.c (print_version): Likewise.
22161         * nss/makedb.c (print_version): Likewise.
22162         * posix/getconf.c (main): Likewise.
22163         * scripts/test-installation.pl: Likewise.
22164         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22166 2015-01-02  Will Newton  <will.newton@linaro.org>
22168         * sysdeps/arm/armv7/configure: Removed.
22169         * sysdeps/arm/armv7/configure.ac: Likewise.
22171 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22173         * All files with FSF copyright notices: Update copyright dates
22174         using scripts/update-copyrights.
22175         * intl/plural.c: Regenerated.
22176         * locale/programs/charmap-kw.h: Likewise.
22177         * locale/programs/locfile-kw.h: Likewise.
22179 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22181         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22183 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22185         [BZ #17748]
22186         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22187         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22188         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22189         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22190         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22191         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22192         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22193         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22194         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22195         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22196         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22197         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22198         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22199         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22200         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22201         libm_hidden_def.
22202         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22203         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22204         Likewise.
22205         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22206         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22207         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22208         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22209         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22210         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22211         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22212         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22213         __fegetenv instead of fegetenv.
22214         (libc_feholdsetround_noex_ctx): Likewise.
22216 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22218         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22219         (Elf_MIPS_ABIFlags_v0): New structure.
22220         (EF_MIPS_FP64): Define.
22221         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22222         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22223         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22224         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22225         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22226         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22227         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22228         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22229         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22230         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22231         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22232         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22233         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22234         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22235         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22236         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22237         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22238         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22239         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22240         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22241         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22242         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22243         field.
22244         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22245         EF_MIPS_FP64.
22246         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22247         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22248         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22249         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22250         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22251         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22252         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22253         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22254         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22255         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22256         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22257         record the current FP ABI extension.
22258         (mips-mode-switch): Define to show if kernel headers support mode
22259         switching.
22260         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22261         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22262         supported SYSV ABI version to 3.
22263         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22264         feature.
22266 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22267             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22269         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22270         path.
22271         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22273 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22275         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22276         __fegetround and redefine to call __fegetround.  Remove condition
22277         on [!__NO_MATH_INLINES].
22278         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22279         function.
22280         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22281         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22282         Remove macro.
22283         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22284         instead of <fenv_libc.h>.
22285         (__llrintl): Call fegetround instead of __fegetround.
22286         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22287         instead of <fenv_libc.h>.
22288         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22289         (__lrintl): Call fegetround instead of __fegetround.
22290         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22291         instead of <fenv_libc.h>.
22292         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22293         (__rintl): Call fegetround instead of __fegetround.
22295 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22297         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22298         arrays.
22300 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22302         [BZ #17775]
22303         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22304         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22305         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22307 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22309         * sysdeps/i386/tls-macros.h: Include <features.h>.
22310         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22311         (TLS_IE): Likewise.
22312         (TLS_LD): Likewise.
22313         (TLS_GD): Likewise.
22314         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22315         define for GCC >= 5.0.
22317 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
22319         * math/test-fenv.c (test_single_exception, set_single_exc,
22320         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22321         feexcp_mask_test, feenable_test, fe_single_test): Add
22322         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22323         case where they are not used.
22324         * math/libm-test.inc: Likewise.
22325         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22326         unused in the absence of FP rounding/exception support.
22327         * stdio-common/tst-printf-round.c: Likewise.
22328         * stdlib/tst-strtod-round.c: Likewise.
22329         * stdlib/tst-strtod-underflow.c: Likewise.
22331 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
22333         [BZ #17723]
22334         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22335         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22336         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22337         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22338         libm_hidden_weak.
22339         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22340         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22341         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22342         libm_hidden_def.
22343         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22344         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22345         libm_hidden_weak.
22346         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22347         Likewise.
22348         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22349         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22350         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22351         libm_hidden_weak.
22352         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22353         libm_hidden_def.
22354         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22355         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22356         (__feraiseexcept): Likewise.
22357         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22358         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22359         libm_hidden_weak.
22360         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22361         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22362         libm_hidden_def.
22363         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22364         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22365         Use libm_hidden_def.
22366         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22367         libm_hidden_def.
22368         (feraiseexcept): Define as weak not strong alias.  Use
22369         libm_hidden_weak.
22370         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22371         New inline function.  Factored out of ...
22372         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
22373         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22374         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22375         feraiseexcept.
22376         * math/w_acos.c (__acos): Likewise.
22377         * math/w_asin.c (__asin): Likewise.
22378         * math/w_ilogb.c (__ilogb): Likewise.
22379         * math/w_j0.c (y0): Likewise.
22380         * math/w_j1.c (y1): Likewise.
22381         * math/w_jn.c (yn): Likewise.
22382         * math/w_log.c (__log): Likewise.
22383         * math/w_log10.c (__log10): Likewise.
22384         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22385         * sysdeps/aarch64/fpu/math_private.h
22386         (libc_feupdateenv_test_aarch64): Likewise.
22387         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22388         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22389         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22390         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22391         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22392         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22393         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22394         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22395         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22396         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22398 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22400         [BZ #17732]
22401         * io/test-utime.c (main): Replace %ld with %jd and cast to
22402         intmax_t.
22403         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22404         * nptl/tst-mutex5.c: Include <stdint.h>.
22405         (do_test): Replace %ld with %jd and cast to intmax_t.
22406         * posix/tst-regex.c (run_test): Likewise.
22407         (run_test_backwards): Likewise.
22408         * rt/tst-clock.c: Include <stdint.h>.
22409         (clock_test): Replace %ld with %jd and cast to intmax_t.
22410         * rt/tst-cpuclock1.c: Include <stdint.h>.
22411         (do_test): Replace %lu with %ju and cast to uintmax_t.
22412         * rt/tst-cpuclock2.c: Include <stdint.h>.
22413         (do_test): Replace %lu with %ju and cast to uintmax_t.
22414         * rt/tst-mqueue1.c: Include <stdint.h>.
22415         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22416         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22417         intmax_t.
22418         * rt/tst-mqueue4.c (do_test): Likewise.
22419         * rt/tst-timer4.c: Include <stdint.h>.
22420         (check_ts): Replace %ld with %jd and cast to intmax_t.
22421         (do_test): Likewise.
22422         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22423         and cast to intmax_t.
22424         * sysdeps/pthread/tst-timer.c (main): Likewise.
22425         * time/clocktest.c (main): Likewise.
22426         * time/tst-posixtz.c (do_test): Likewise.
22427         * timezone/tst-timezone.c (main): Likewise.
22429 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22430             H.J. Lu  <hongjiu.lu@intel.com>
22432         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22433         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22434         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22435         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22436         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22437         version if bit_Fast_Unaligned_Load is set.
22438         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22439         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22440         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22441         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22442         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22443         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22444         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22445         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22446         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22447         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22448         to 4.
22449         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22450         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22451         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22452         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22454 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22456         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22457         instead of #if to avoid a Wundef warning.
22458         * stdlib/tst-limits.c (do_test): Likewise.
22460         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22461         parallel other exception macros.
22462         (fegetenv): Convert from macro to extern inline so that it applies
22463         retroactively to inline functions already seen by the compiler.
22464         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22466         * posix/Makefile (before-compile): Use $(objpfx) for
22467         posix-conf-vars-def.h.
22469 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22471         * posix/getconf.c (main): Use size_t for type of I.
22472         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22473         NSPEC.
22475         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22476         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22477         * posix/posix-envs.def: Likewise.
22478         * sysdeps/posix/sysconf.c: Likewise.
22479         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22480         (specs): Remove array.
22481         * scripts/gen-posix-conf-vars.awk: Support generation of specs
22482         array.
22484         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22485         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22486         (__sysconf): Use CONF_IS_* macros.
22488         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22489         ($(objpfx)posix-conf-vars-def.h): New target.
22490         * posix/posix-conf-vars.list: New file.
22491         * posix/posix-conf-vars.h: New file.
22492         * posix/confstr.c: Include posix-conf-vars.h.
22493         (confstr): Use CONF_IS_* macros.
22494         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
22495         CONF_IS_* macros.
22496         * scripts/gen-posix-conf-vars.awk: New file.
22498 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
22500         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22501         fegetround): Add no-op macros to avoid linknamespace issues.
22503         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22504         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22506         * sysdeps/unix/sysv/linux/tile/sysdep.h
22507         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22508         assembly-specific section to avoid a redefinition warning.
22510         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22511         long before casting to pointer to avoid a cast warning.
22513 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
22515         * sysdeps/tile/tilegx/Implies: New file.
22517 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
22519         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22521 2014-12-23  Florian Weimer  <fweimer@redhat.com>
22523         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22525 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22527         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22528         not define.
22529         * sysdeps/unix/sysv/linux/utimes.c: Do not include
22530         <kernel-features.h>.
22531         (__utimes) [__NR_utimes]: Make code unconditional.
22532         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22533         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22534         (__ASSUME_UTIMES): Do not undefine.
22535         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22536         (__ASSUME_UTIMES): Likewise.
22537         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22538         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22539         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22540         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22542 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22544         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22546 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
22548         [BZ #17747]
22549         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22550         alias to weak alias for j0l, y0l.
22551         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22552         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22554         [BZ #17746]
22555         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22556         conversion.
22558 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22560         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22561         to zero if not already defined.
22563 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22565         [BZ #17724]
22566         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22567         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
22568         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
22569         (char *) casts added.
22570         * sysdeps/ieee754/k_standardf.c: New file.
22571         * sysdeps/ieee754/k_standardl.c: Likewise.
22572         * math/Makefile (libm-support): Remove k_standard.
22573         (libm-calls): Add k_standard.
22575 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22577         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22578         Optimize to avoid an unnecessary FPCR read.
22580 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22582         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22583         Optimize to reduce FPCR/FPSR accesses.
22585 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22587         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22588         Call libc_fetestexcept_aarch64.
22590 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22592         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22593         Call libc_fesetround_aarch64.
22595 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22597         [BZ #17733]
22598         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22599         (__bind): Do not define as weak alias.
22600         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22601         define.
22602         (__getsockname): Do not define as weak alias.
22604 2014-12-22  Will Newton  <will.newton@linaro.org>
22606         * manual/install.texi: Document that we require bison 2.7
22607         or above.
22608         * INSTALL: Regenerate.
22609         * configure.ac: Use AC_CHECK_PROG_VER instead of
22610         AC_PATH_PROG when checking for bison and check for
22611         version 2.7 or above.
22612         * configure: Regenerate.
22614 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
22616         [BZ #17745]
22617         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22618         * sysdeps/tile/ffsll.c (ffsll): To here.
22620         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22622 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22624         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22625         if not defined.
22626         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22627         definition.
22628         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22629         hidden ___tls_get_addr.
22630         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22631         hidden __tls_get_addr.
22632         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22633         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22634         Likewise.
22636 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22638         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22639         _dl_init call.
22641 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22643         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22644         from "call _dl_init@PLT".
22645         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22647 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22649         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22650         guarantees.
22652 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22654         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22656 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22658         [BZ #17744]
22659         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22660         strnlen.
22662 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22664         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22665         of multu on MIPSr6.
22666         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22667         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22668         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22669         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22670         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22672 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22674         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22675         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22676         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22677         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22678         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22679         mips32r6/mips64r6.
22680         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22682 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
22684         * string/strncat.c (STRNCAT): Simplify implementation.
22686 2014-12-19  David S. Miller  <davem@davemloft.net>
22688         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22689         access the quad as both a long double and as a series of 4 words.
22691         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22692         link_map->l_info array access.
22694 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22696         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22698         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22699         * math/atest-exp2.c (TIMEOUT): Likewise.
22700         * math/atest-sincos.c (TIMEOUT): Likewise.
22702 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22704         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22705         -Wno-error with -fno-builtin-lround.
22707 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22709         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22710         Contains futex constants and functions moved over from ...
22711         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
22712         <lowlevellock-futex.h>.
22713         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22714         (lll_timedwait_tid): Add comments and parentheses around macro
22715         arguments.
22717 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22719         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22720         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
22721         (__lll_private_flag): Remove.
22722         (lll_futex_wait): Likewise.
22723         (lll_futex_timed_wait): Likewise.
22724         (lll_futex_wake): Likewise.
22725         (lll_futex_requeue): Likewise.
22726         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22727         (__lll_timedwait_tid): Spell out argument names.
22728         (lll_timedwait_tid): Add comments and parentheses around macro
22729         arguments.
22730         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22731         LLL_SHARED and LLL_PRIVATE usable from assembly code.
22733 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22735         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22736         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22737         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22738         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
22739         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
22740         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
22741         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
22742         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
22743         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
22744         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
22745         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
22746         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
22747         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
22748         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
22749         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
22750         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
22751         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
22752         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
22753         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
22755 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22757         * sysdeps/x86_64/x32/Makefile: New file.
22759 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22761         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
22762         1L with (mp_limb_t) 1.
22764 2014-12-17  Roland McGrath  <roland@hack.frob.com>
22766         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
22767         * nptl/libc_pthread_init.c: ... here.
22768         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
22769         * nptl/register-atfork.c: ... here.
22771         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
22772         Use pthread_sigmask rather than INTERNAL_SYSCALL.
22773         Use assert_perror to check its return value.
22774         (__gai_create_helper_thread): Likewise.
22776         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
22778         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
22780 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
22782         [BZ #17725]
22783         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
22784         __profil_counter.
22785         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
22786         Likewise.
22787         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
22788         Likewise.
22789         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
22790         Likewise.
22791         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
22792         (profil_counter): Likewise.
22793         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
22794         (profil_counter): Likewise.
22795         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
22796         Likewise.
22797         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
22798         Likewise.
22799         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
22800         (profil_counter): Likewise.
22801         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
22802         Likewise.
22803         [!__profil_counter] (profil_counter): Define as weak alias of
22804         __profil_counter.
22805         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
22806         (profil_counter): Rename to __profil_counter.
22807         [!__profil_counter] (profil_counter): Define as weak alias of
22808         __profil_counter.
22809         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
22810         (profil_counter): Rename to __profil_counter.
22811         [!__profil_counter] (profil_counter): Define as weak alias of
22812         __profil_counter.
22813         * sysdeps/posix/profil.c: Update comment referring to
22814         profil_counter.
22815         (__profil): Use __profil_counter instead of profil_counter.
22816         * sysdeps/posix/sprofil.c (profil_counter): Rename to
22817         __profil_counter.  Use __profil_counter_ushort and
22818         __profil_counter_uint in definitions.
22819         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
22820         instead of profil_counter_uint and profil_counter_ushort.
22822         [BZ #17722]
22823         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
22824         define as weak alias of __inet_makeaddr.
22825         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
22826         as weak alias of __inet_addr.
22827         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
22828         as weak alias of __inet_pton.  Use libc_hidden_weak.
22829         * include/arpa/inet.h (__inet_pton): Declare.  Use
22830         libc_hidden_proto.
22831         (inet_makeaddr): Don't use libc_hidden_proto.
22832         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
22833         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
22834         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
22835         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
22836         Remove variable.
22837         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22838         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22840 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
22842         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
22844 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22846         * stdio-common/bug-vfprintf-nargs.c (do_test):
22847         Cast value to intptr_t to avoid format warning
22848         for usage with PRIdPTR printing macro.
22850 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22852         * libio/tst-widetext.c (do_test):
22853         Use format type %td instead of %Zd for ptrdiff_t
22854         in order to avoid format warning.
22856 2014-12-17  Andreas Schwab  <schwab@suse.de>
22858         * nscd/mem.c (gc): Add size_t cast to match printf format.
22860 2014-12-16  Roland McGrath  <roland@hack.frob.com>
22862         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
22863         (init): Apply PTR_MANGLE to pointers before storing them.
22864         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
22865         before using them.
22867 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
22869         [BZ #17719]
22870         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
22871         define as weak alias of __memrchr.
22872         (__memrchr): Do not define as strong alias of memrchr.
22873         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
22874         Remove variable.
22875         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22876         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22877         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22879         [BZ #17717]
22880         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
22881         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
22882         (if_indextoname): Rename to __if_indextoname and define as weak
22883         alias of __if_indextoname.  Use libc_hidden_weak.
22884         (if_freenameindex): Rename to __if_freenameindex and define as
22885         weak alias of __if_freenameindex.
22886         (if_nameindex): Rename to __if_nameindex and define as weak alias
22887         of __if_nameindex.
22888         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
22889         __if_nametoindex and define as weak alias of __if_nametoindex.
22890         Use libc_hidden_weak.
22891         (if_freenameindex): Rename to __if_freenameindex and define as
22892         weak alias of __if_freenameindex.
22893         (if_nameindex): Rename to __if_nameindex and define as weak alias
22894         of __if_nameindex.
22895         (if_indextoname): Rename to __if_indextoname and define as weak
22896         alias of __if_indextoname.  Use libc_hidden_weak.
22897         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
22898         __if_nametoindex and define as weak alias of __if_nametoindex.
22899         Use libc_hidden_weak.
22900         (if_freenameindex): Rename to __if_freenameindex and define as
22901         weak alias of __if_freenameindex.  Use libc_hidden_weak.
22902         (if_nameindex_netlink): Use __if_freenameindex instead of
22903         if_freenameindex.
22904         (if_nameindex): Rename to __if_nameindex and define as weak alias
22905         of __if_nameindex.  Use libc_hidden_weak.
22906         (if_indextoname): Rename to __if_indextoname and define as weak
22907         alias of __if_indextoname.  Use libc_hidden_weak.
22908         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
22909         libc_hidden_proto.
22910         [!_ISOMAC] (__if_freenameindex): Likewise.
22911         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
22912         if_nametoindex.
22913         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
22914         variable.
22915         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22916         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22917         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22918         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22919         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22920         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22921         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22923         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
22924         Remove variable.
22925         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22926         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22928 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22930         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
22931         subscript above bounds'
22933         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
22934         bounds.
22936 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
22938         * libio/tst-fopenloc.c: Use test-skeleton.c.
22940         * stdlib/tst-bsearch.c: Use test-skeleton.c.
22941         (entry): Rename to ITEM.
22942         (do_test, comp): Adjust.
22944         * stdio-common/tst-fseek.c: Use test-skeleton.c.
22946 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22948         * string/tester.c: Include <libc-internal.h>.
22949         (test_memset): Ignore -Wmemset-transposed-args.
22951 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22953         * misc/tst-mntent2.c (do_test): Fix warning.
22955 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22957         * elf/tst-unique4lib.cc(a): Mark as used.
22959 2014-12-16  Florian Weimer  <fweimer@redhat.com>
22961         [BZ #17630]
22962         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22963         names.
22965 2014-12-16  Allan McRae  <allan@archlinux.org>
22967         * stdio-common/Makefile (tests): Re-add bug26.
22969 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
22971         [BZ #17657]
22972         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22973         static array.
22975 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
22977         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22978         (__lll_lock_wait): Likewise.
22979         (__lll_timedlock_wait): Likewise.
22980         (__lll_timedwait_tid): Likewise.
22981         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22982         (__lll_robust_timedlock_wait): Likewise.
22983         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22984         (lll_cond_trylock): Likewise.
22985         (__lll_lock): Likewise.
22986         (__lll_robust_lock): Likewise.
22987         (__lll_cond_lock): Likewise.
22988         (lll_robust_cond_lock): Likewise.
22989         (__lll_timedlock): Likewise.
22990         (__lll_robust_timedlock): Likewise.
22991         (__lll_unlock): Likewise.
22992         (__lll_robust_unlock): Likewise.
22993         (lll_wait_tid): Likewise.
22994         (lll_timedwait_tid): Likewise.
22996 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22998         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23000 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23002         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23004 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23006         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23007         * stdio-common/tst-sprintf.c: Likewise.
23009 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23011         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23013 2014-12-15  Jeff Law  <law@redhat.com>
23015         [BZ #16617]
23016         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23017         on the heap.  (CVE-2012-3406)
23018         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23019         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23020         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23022 2014-12-15  Will Newton  <will.newton@linaro.org>
23024         * manual/install.texi: Bump required version of texinfo
23025         to 4.7 from 4.5.
23026         * INSTALL: Regenerated.
23027         * configure.ac: Check for makeinfo version 4.7 and above.
23028         * configure: Regenerated.
23030 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23032         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23033         PREFIX, string constant to insert between directory and name.
23034         * sysdeps/posix/shm_open.c: Update caller.
23035         * sysdeps/posix/shm_unlink.c: Likewise.
23036         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23037         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23038         (SEM_SHM_PREFIX): New macro.
23039         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23040         [$(have-thread-library) = no].
23041         * nptl/Makefile (libpthread-routines): Add shm-directory.
23042         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23043         * sysdeps/nptl/shm-directory.h: New file.
23044         * sysdeps/posix/shm-directory.c
23045         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23046         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23047         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23048         INTERNAL_SYSCALL.
23049         (__where_is_shmfs): Function removed.
23050         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23051         Variables removed.
23052         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23053         Use SHM_GET_NAME.
23054         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23056         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23057         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23058         unconditional for use inside libpthread.
23059         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23061 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23063         * nptl/pthread_getaffinity.c: New file.
23064         * nptl/pthread_setaffinity.c: New file.
23065         * nptl/pthread_getname.c: New file.
23066         * nptl/pthread_setname.c: New file.
23068         * nptl/pthread_create.c (START_THREAD_DEFN)
23069         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23071 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23072             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23074         * resolv/res_send.c (send_vc): Disable warning resplen may
23075         be used uninitialized.
23077 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23079         * nptl/tst-mutex6.c
23080         (ATTR_NULL): New define checks ATTR against NULL.
23081         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23082         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23084 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23086         [BZ #17581]
23087         * malloc/hooks.c
23088         (mem2mem_check): Revert my previous change.
23089         (malloc_check_get_size): Revert my previous change.
23090         (mem2chunk_check): Revert my previous change.
23092 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23094         * sysdeps/posix/shm-directory.c: New file.
23095         * sysdeps/posix/shm-directory.h: New file.
23096         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23097         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23098         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23099         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23100         Transmute EPERM to EACCES.
23101         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23102         from ...
23103         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23104         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23106 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23108         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23109         pointer and cast to uintptr_t.
23110         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23111         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23112         Add cast to avoid warning.
23113         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23115 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23117         * nptl/semaphore.h: Move to ...
23118         * sysdeps/pthread/semaphore.h: ... here.
23119         * Makefile (installed-headers): Change nptl/semaphore.h to
23120         sysdeps/pthread/semaphore.h.
23122 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23124         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23125         generated error format strings.
23127         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23128         -Wformat-extra-args warnings for scanf formats.
23129         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23130         test of zero-length format (duh).
23131         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23132         corner-case scanf format test.
23133         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23134         generated fprintf format string.
23135         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23136         corner-case sprintf format tests.
23137         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23138         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23139         -Wformat-extra-args warnings throughout.
23140         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23141         (CFLAGS-scanf4.c): Likewise.
23142         (CFLAGS-scanf7.c): Likewise.
23143         (CFLAGS-tst-sprintf.c): Likewise.
23144         (CFLAGS-tst-printf.c): Likewise.
23145         (CFLAGS-tst-printfsz.c): Likewise.
23147 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23149         * include/cpio.h: New file.
23150         * include/fmtmsg.h: Likewise.
23152         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23153         corresponding format argument to size_t.
23154         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23155         arguments.
23156         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23157         corresponding format argument to size_t.
23158         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23159         arguments.
23160         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23161         corresponding format argument to size_t.
23162         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23163         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23164         (CFLAGS-tst-mbswcs2.c): Likewise.
23165         (CFLAGS-tst-mbswcs3.c): Likewise.
23166         (CFLAGS-tst-mbswcs4.c): Likewise.
23167         (CFLAGS-tst-mbswcs5.c): Likewise.
23168         (CFLAGS-tst-trans.c): Likewise.
23170 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23172         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23173         rather than assuming they won't contain any '%'s.
23175 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23177         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23178         inhibit_loop_to_libcall to avoid recursive calls.
23179         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23180         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23182 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23184         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23185         prototype.
23187 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23189         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23190         integer value instead of boolean.
23192 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23194         * malloc/malloc.c: Fix powerof2 check.
23196 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23198         * locale/programs/locfile.h (maybe_swap_uint32):
23199         Remove inline and add unused attribute.
23201 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23203         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23204         Truncating assembler expression to a .long expression.
23206 2014-12-11  Andreas Schwab  <schwab@suse.de>
23208         * elf/rtld.c (struct map_args): Constify str member.
23209         (do_preload): Constify fname argument.
23211 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23213         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23214         constants definition.
23216 2014-12-11  Andreas Schwab  <schwab@suse.de>
23218         [BZ #16657]
23219         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23220         FORCE_ELISION instead of DO_ELISION.
23221         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23222         Remove.
23223         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23224         Likewise.
23226         * iconvdata/gconv-modules: Remove duplicate entry.
23228 2014-12-11  Will Newton  <will.newton@linaro.org>
23230         Merge gettext 0.19.3 into intl/.
23232         This involves a number of cosmetic changes to comments
23233         and ANSI function definitions and prototypes throughout
23234         all the files. The gettext copyright header is used but
23235         with the date ranges taken from the glibc copy.
23237         * NEWS: Add gettext merge to 2.21.
23238         * intl/bindtextdom.c: Switch to gettext copyright.
23239         Use ANSI definitions and prototypes.
23240         Use gl_* locking primitives rather than __libc_* ones.
23241         Use __builtin_expect rather than __glibc_likely/unlikely.
23242         * intl/dcgettext.c: Switch to gettext copyright.
23243         Use ANSI definitions and prototypes.
23244         * intl/dcigettext.c: Switch to gettext copyright.
23245         Use ANSI definitions and prototypes.
23246         (INTDIV0_RAISES_SIGFPE): New define.
23247         Use gl_* locking primitives rather than __libc_* ones.
23248         Include eval-plural.h instead of plural-eval.c.
23249         Use __builtin_expect rather than __glibc_likely/unlikely.
23250         * intl/dcngettext.c: Switch to gettext copyright.
23251         Use ANSI definitions and prototypes.
23252         * intl/dgettext.c: Likewise.
23253         * intl/dngettext.c: Likewise.
23254         * intl/plural-eval.c: Renamed to...
23255         * intl/eval-plural.h: ...this.
23256         * intl/explodename.c: Switch to gettext copyright.
23257         Use ANSI definitions and prototypes.
23258         (_nl_explode_name): Use strchr instead of __rawmemchr.
23259         * intl/finddomain.c: Switch to gettext copyright.
23260         Use ANSI definitions and prototypes.
23261         Use gl_* locking primitives rather than __libc_* ones.
23262         (_nl_find_domain): Use malloc rather than alloca for
23263         allocation of temporary locale name.
23264         * intl/gettext.c: Switch to gettext copyright.
23265         Use ANSI definitions and prototypes.
23266         * intl/gettextP.h: Switch to gettext copyright.
23267         Use ANSI definitions and prototypes.
23268         Use gl_* locking primitives rather than __libc_* ones.
23269         * intl/gmo.h: Switch to gettext copyright.
23270         (struct sysdep_string): Move struct segment_pair outside of
23271         struct definition.
23272         * intl/hash-string.c: Use ANSI definitions and prototypes.
23273         * intl/hash-string.h: Switch to gettext copyright.
23274         Use ANSI definitions and prototypes.
23275         * intl/l10nflist.c: Switch to gettext copyright.
23276         Use ANSI definitions and prototypes.
23277         (_nl_normalize_codeset): Avoid integer overflow.
23278         * intl/loadinfo.h: Switch to gettext copyright.
23279         Use ANSI definitions and prototypes.
23280         (LIBINTL_DLL_EXPORTED): New define.
23281         (PATH_SEPARATOR): New define.
23282         * intl/loadmsgcat.c: Switch to gettext copyright.
23283         * intl/localealias.c: Switch to gettext copyright.
23284         Use ANSI definitions and prototypes.
23285         (_nl_expand_alias): Use PATH_SEPARATOR.
23286         * intl/ngettext.c: Switch to gettext copyright.
23287         Use ANSI definitions and prototypes.
23288         * intl/plural-exp.c: Likewise.
23289         * intl/plural-exp.h: Switch to gettext copyright.
23290         Use ANSI definitions and prototypes.
23291         (struct expression): Move definition of enum operator outside
23292         of struct definition.
23293         * intl/plural.c: Regenerate.
23294         * intl/plural.y: Switch to gettext copyright.
23295         Use ANSI definitions and prototypes.
23296         Port to bison 3.0.
23297         * intl/textdomain.c: Switch to gettext copyright.
23298         Use ANSI definitions and prototypes.
23299         Use gl_* locking primitives rather than __libc_* ones.
23301 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23303         * debug/warning-nop.c: Add used atrribute.
23305 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23307         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23309         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23310         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23311         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23313 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23314             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23316         [BZ #17634]
23317         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23318         Undefine after defining function.  Define as weak alias of
23319         __wcschr.  Use libc_hidden_weak.
23320         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
23321         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23322         (libc_hidden_def): Also define __GI___wcschr alias.
23323         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23324         __wcschr and define as weak alias of __wcschr.
23325         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23326         __wcschr.
23327         [!WCSCHR] (DEFAULT_WCSCHR): Define.
23328         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23329         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
23330         libc_hidden_weak.  Do not use libc_hidden_def.
23331         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23332         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23333         __GI___wcschr alias.
23334         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23335         [IS_IN (libc)] (wcschr): Define as macro expanding to
23336         __redirect_wcschr.
23337         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23338         [IS_IN (libc)] (__wcschr_power6): Likewise.
23339         [IS_IN (libc)] (__wcschr_power7): Likewise.
23340         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
23341         instead of wcschr.
23342         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23343         __libc_wcschr.
23344         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23345         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23346         __wcschr and define as weak alias of __wcschr.  Use
23347         libc_hidden_builtin_def.
23348         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23349         as weak alias of __wcschr.  Use libc_hidden_weak.
23350         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23351         wcschr.
23352         * time/era.c (_nl_init_era_entries): Likewise.
23353         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23354         variable.
23355         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23356         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23358 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23360         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23361         format for long int variable.
23363 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
23365         [BZ #10672]
23366         * manual/search.texi: (Array Sort Function): Remove claim how to make
23367         qsort stable.
23369 2014-12-10  Andreas Schwab  <schwab@suse.de>
23371         [BZ #12847]
23372         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23373         user-controlled locks.
23375 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
23377         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23378         register.
23380 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23382         * configure.ac (--disable-werror): New configure option.
23383         (enable_werror): New AC_SUBST.
23384         * configure: Regenerated.
23385         * config.make.in (enable-werror): New variable.
23386         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23387         -Wno-error=undef.
23388         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23389         * manual/install.texi (Configuring and compiling): Document
23390         --disable-werror.
23391         * INSTALL: Regenerated.
23392         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23393         (CFLAGS-tst-chk2.c): Likewise.
23394         (CFLAGS-tst-chk3.c): Likewise.
23395         (CFLAGS-tst-chk4.cc): Likewise.
23396         (CFLAGS-tst-chk5.cc): Likewise.
23397         (CFLAGS-tst-chk6.cc): Likewise.
23398         (CFLAGS-tst-lfschk1.c): Likewise.
23399         (CFLAGS-tst-lfschk2.c): Likewise.
23400         (CFLAGS-tst-lfschk3.c): Likewise.
23401         (CFLAGS-tst-lfschk4.cc): Likewise.
23402         (CFLAGS-tst-lfschk5.cc): Likewise.
23403         (CFLAGS-tst-lfschk6.cc): Likewise.
23405         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23406         (main): Disable -Wdeprecated-declarations around calls to
23407         register_printf_function.
23409         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23410         (do_test): Disable -Wdiv-by-zero around some calls to
23411         fwrite_unlocked and fread_unlocked.
23413         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23414         (DIAG_POP_NEEDS_COMMENT): Likewise.
23415         (_DIAG_STR1): Likewise.
23416         (_DIAG_STR): Likewise.
23417         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23418         * stdio-common/bug21.c: Include <libc-internal.h>.
23419         (do_test): Disable -Wformat around call to sscanf.
23420         * stdio-common/scanf14.c: Include <libc-internal.h>.
23421         (main): Disable -Wformat around some calls to scanf functions.
23423 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23425         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23427 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23429         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23430         stack variable alignment.
23432 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23434         [BZ #17682]
23435         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23436         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23437         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23438         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23439         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23440         __getrlimit instead of getrlimit.
23441         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23442         __gettimeofday instead of gettimeofday.
23443         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23444         Likewise.
23445         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23446         Likewise.
23447         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23448         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23449         Remove variable.
23450         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23451         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23453 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23455         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23456         for wide-character tests.
23458 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23460         * io/openat64.c: #include <libc-internal.h>
23461         (__openat64): Prototypify.  Use ignore_value on MODE.
23462         * io/openat.c: Likewise.
23463         * misc/reboot.c: #include <libc-internal.h>
23464         (reboot): Prototypify.  Use ignore_value on HOWTO.
23465         * misc/ptrace.c: #include <libc-internal.h>
23466         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23468 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23470         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23471         XPG4, UNIX98 and XOPEN2K.
23472         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23473         Remove variable.
23474         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23476 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23478         * libio/fileops.c: Use ISO C style for function definitions.
23479         * libio/iofopen.c: Likewise.
23480         * libio/wfileops.c: Likewise.
23482         [BZ #17653]
23483         * libio/fileops.c (_IO_new_file_underflow): Unset cached
23484         offset on EOF.
23485         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23486         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23487         (fgets_func): Function pointer to fgets and fgetws.
23488         (do_ftell_test): Add test to verify ftell value after read
23489         EOF.
23490         (do_test): Set fgets_func.
23492         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23493         O_TRUNC flag for w and w+ modes.
23494         (do_rewind_test): Likewise.
23495         (do_ftell_test): Likewise.
23496         (do_write_test): Likewise.
23498         [BZ #17647]
23499         * libio/fileops.c (do_ftell): Seek only when there are
23500         unflushed writes.
23501         * libio/wfileops.c (do_ftell_wide): Likewise.
23502         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23503         test case.
23504         (do_one_test): Call it.
23506 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
23508         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23509         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23510         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23511         Remove variable.
23512         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23513         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23514         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23516 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23518         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23519         Remove variable.
23520         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23522         [BZ #17668]
23523         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23524         as weak alias of __getifaddrs.  Use libc_hidden_weak.
23525         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23526         __freeifaddrs.  Use libc_hidden_weak.
23527         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23528         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
23529         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23530         __freeifaddrs.  Use libc_hidden_weak.
23531         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23532         __getifaddrs and define as weak alias of __getifaddrs.  Use
23533         libc_hidden_weak.
23534         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23535         __freeifaddrs.  Use libc_hidden_weak.
23536         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23537         Remove variable.
23538         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23539         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23541 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23543         [BZ #17601]
23544         * sysdeps/mips/start.S (__start): Use indirect jump to call
23545         __libc_start_main.
23547 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23549         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23551         * nptl/tst-mutex1.c: Include <stdbool.h>.
23552         [!ATTR] (ATTR_NULL): New macro.
23553         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23554         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23555         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23557         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23558         to char *.
23560         [BZ #17665]
23561         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23562         Change conditional to [__USE_MISC].
23564         [BZ #17664]
23565         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23566         fgets_unlocked.
23567         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23568         __fgets_unlocked.
23569         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23570         fgets_unlocked.
23571         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23572         Remove variable.
23573         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23574         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23575         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23576         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23577         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23578         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23579         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23580         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23581         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23583         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23585 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23587         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23588         Remove strpbrk objects.
23589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23590         (__libc_ifunc_impl_list): Remove strpbrk implementation.
23591         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23592         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23593         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23594         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23596         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23597         Remove strcspn objects.
23598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23599         (__libc_ifunc_impl_list): Remove strcspn implementation.
23600         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23601         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23602         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23603         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23605         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23606         Remove strspn objetcs.
23607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23608         (__libc_ifunc_impl_list): Remove strspn implementation.
23609         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23610         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23611         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23612         * sysdeps/powerpc/powerpc64/strspn.S: New file.
23614 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
23616         [BZ #17581]
23617         * malloc/hooks.c
23618         (mem2mem_check): Add a terminator to the chain of checking blocks.
23619         (malloc_check_get_size): Use it here.
23620         (mem2chunk_check): Ditto.
23622 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23624         * sysdeps/powerpc/powerpc64/strtok.S: New file.
23625         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23627 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23629         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23631         * nptl/nptl-init.c: Include libc-internal.h.
23632         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23634         * elf/ldconfig.c (search_dir): Expand comment.
23636 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23638         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23639         variable.
23640         (linknamespace-symlist-stdlibs-tests): Likewise.
23641         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23642         instead of $(objpfx)symlist-stdlibs.
23643         (linknamespace-libs-isoc): New variable.
23644         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23645         (linknamespace-libs-ISO): New variable.
23646         (linknamespace-libs-ISO99): Likewise.
23647         (linknamespace-libs-ISO11): Likewise.
23648         (linknamespace-libs-XPG3): Likewise.
23649         (linknamespace-libs-XPG4): Likewise.
23650         (linknamespace-libs-POSIX): Likewise.
23651         (linknamespace-libs-UNIX98): Likewise.
23652         (linknamespace-libs-XOPEN2K): Likewise.
23653         (linknamespace-libs-POSIX2008): Likewise.
23654         (linknamespace-libs-XOPEN2K8): Likewise.
23655         ($(objpfx)symlist-stdlibs): Replace by
23656         $(linknamespace-symlist-stdlibs-tests).  Use
23657         $(linknamespace-libs-$*) as set of libraries.
23658         ($(linknamespace-header-tests)): Update dependencies.  Use
23659         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23660         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23661         * conform/linknamespace.pl: Remove comment about considering
23662         definitions of symbols from irrelevant libraries.
23664 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23666         [BZ #13862]
23667         * elf/dl-tls.c: Include <atomic.h>.
23668         (oom): Remove #ifdef SHARED/#endif.
23669         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23670         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23671         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23672         big enough.
23673         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23674         * nptl/Makefile (tests): Add tst-stack4.
23675         (modules-names): Add tst-stack4mod.
23676         ($(objpfx)tst-stack4): New.
23677         (tst-stack4mod.sos): Likewise.
23678         ($(objpfx)tst-stack4.out): Likewise.
23679         ($(tst-stack4mod.sos)): Likewise.
23680         (clean): Likewise.
23681         * nptl/tst-stack4.c: New file.
23682         * nptl/tst-stack4mod.c: Likewise.
23684 2014-11-27  J. Brown  <jb999@gmx.de>
23686         * sysdeps/x86/bits/string.h: Add recent CPUs.
23688 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23690         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23691         sigblock.
23693         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23694         feof.
23696         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23697         variable.
23699 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
23701         * nscd/connections.c: Include libc-internal.h because of macro
23702         usage ignore_value.
23704 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23706         * string/bits/string3.h (__warn_memset_zero_len): Don't
23707         declare for gcc newer than 5.0.
23708         (memset): Don't test for zero-length __LEN for gcc newer than
23709         5.0.
23711 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23713         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23714         size_t for %zu format.
23716         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23717         difference, not %ju.
23719 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23721         * include/libc-internal.h (ignore_value): New macro.
23722         * nscd/connections.c (restart): Wrap calls to setuid and setgid
23723         with ignore_value.
23725         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23726         definition.
23728         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23729         pthread_cleanup_push to void *.
23731         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23732         Undefine.
23734         [BZ #16619]
23735         [BZ #16740]
23736         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
23737         instead of 1L << 52.
23739         * libio/bug-rewind.c (do_test): Check fwscanf return values.
23740         * libio/bug-rewind2.c (do_test): Likewise.
23742         * debug/test-stpcpy_chk-ifunc.c: Remove file.
23743         * debug/test-strcpy_chk-ifunc.c: Likewise.
23744         * wcsmbs/test-wcschr-ifunc.c: Likewise.
23745         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23746         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23747         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23748         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23749         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23750         * Rules [$(multi-arch) = no] (tests): Do not filter out
23751         $(tests-ifunc).
23752         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
23753         * debug/Makefile (tests-ifunc): Remove variable.
23754         (tests): Do not add $(tests-ifunc).
23755         * wcsmbs/Makefile (tests-ifunc): Remove variable.
23756         (tests): Do not add $(tests-ifunc).
23757         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
23758         [TEST_IFUNC]: Remove conditionals.
23759         * string/test-string.h (TEST_IFUNC): Remove macro.
23760         [TEST_IFUNC]: Remove conditionals.
23762         * string/test-strchr.c [!WIDE] (L): New macro.
23763         [WIDE] (L): Likewise.
23764         (check1): Use CHAR instead of char.  Use L on string and character
23765         constants.
23767 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
23769         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
23770         tests.
23771         * sysdeps/powerpc/bits/atomic.h
23772         (__arch_atomic_exchange_and_add_32_acq): Add definition.
23773         (__arch_atomic_exchange_and_add_32_rel): Likewise.
23774         (atomic_exchange_and_add_acq): Likewise.
23775         (atomic_exchange_and_add_rel): Likewise.
23776         * sysdeps/powerpc/powerpc32/bits/atomic.h
23777         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23778         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23779         * sysdeps/powerpc/powerpc64/bits/atomic.h
23780         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23781         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23783 2014-11-26  Torvald Riegel  <triegel@redhat.com>
23785         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
23786         Change synchronization of __sched_fifo_min_prio and
23787         __sched_fifo_max_prio.
23788         * nptl/pthread_mutexattr_getprioceiling.c
23789         (pthread_mutexattr_getprioceiling): Likewise.
23790         * nptl/pthread_mutexattr_setprioceiling.c
23791         (pthread_mutexattr_setprioceiling): Likewise.
23792         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23793         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
23794         Likewise.
23796 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23798         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
23799         void.
23801 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23803         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
23804         third argument const.
23806 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
23808         fnmatch: work around GCC compiler warning bug with uninit var
23809         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
23810         This works around a bug with x86-64 GCC 4.9.2 and earlier
23811         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
23812         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
23813         used uninitialized in this function [-Wmaybe-uninitialized]".
23815 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23817         * posix/bug-regex31.c (main): Return RES not 0.
23819 2014-11-25  Anton Blanchard <anton@samba.org>
23821         * sysdeps/powerpc/bits/atomic.h
23822         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
23824 2014-11-24  Sterling Augustine  <saugustine@google.com>
23826         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
23828 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
23830         [BZ #17608]
23831         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
23833 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
23835         [BZ #17633]
23836         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
23837         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
23838         variable.
23839         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23840         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23842 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23844         * string/strncpy.c (strncpy): Improve performance by using memset.
23846 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23848         * string/strcpy.c (strcpy):
23849         Improve performance by using strlen and memcpy.
23851 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
23853         * string/strcoll_l.c (get_next_seq): __always_inline.
23854         * string/strcoll_l.c (do_compare): __always_inline.
23856 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23858         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
23859         defined.
23860         * include/mqueue.h: Likewise.
23861         * include/stdlib.h: Likewise.
23863         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
23864         (get_null_defines): Adjust.
23865         * sunrpc/Makefile: Adjust comment.
23866         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
23867         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
23868         (CFLAGS-interp.c): Likewise.
23869         (CFLAGS-ldconfig.c): Likewise.
23870         (CPPFLAGS-.os): Likewise.
23871         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23872         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23873         * extra-modules.mk (extra-modules.mk): Likewise.
23874         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
23875         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
23876         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
23877         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
23878         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
23879         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
23880         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
23881         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
23882         * iconvdata/Makefile (CPPFLAGS): Likewise.
23883         (cpp-srcs-left): Add libof for all iconvdata routines.
23884         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
23885         * include/assert.h: Likewise.
23886         * include/ctype.h: Likewise.
23887         * include/errno.h: Likewise.
23888         * include/libc-symbols.h: Likewise.
23889         * include/math.h: Likewise.
23890         * include/netdb.h: Likewise.
23891         * include/resolv.h: Likewise.
23892         * include/stdio.h: Likewise.
23893         * include/stdlib.h: Likewise.
23894         * include/string.h: Likewise.
23895         * include/sys/stat.h: Likewise.
23896         * include/wctype.h: Likewise.
23897         * intl/l10nflist.c: Likewise.
23898         * libidn/idn-stub.c: Likewise.
23899         * libio/libioP.h: Likewise.
23900         * nptl/libc_multiple_threads.c: Likewise.
23901         * nptl/pthreadP.h: Likewise.
23902         * posix/regex_internal.h: Likewise.
23903         * resolv/res_hconf.c: Likewise.
23904         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
23905         * sysdeps/arm/memmove.S: Likewise.
23906         * sysdeps/arm/sysdep.h: Likewise.
23907         * sysdeps/generic/_itoa.h: Likewise.
23908         * sysdeps/generic/symbol-hacks.h: Likewise.
23909         * sysdeps/gnu/errlist.awk: Likewise.
23910         * sysdeps/gnu/errlist.c: Likewise.
23911         * sysdeps/i386/i586/memcpy.S: Likewise.
23912         * sysdeps/i386/i586/memset.S: Likewise.
23913         * sysdeps/i386/i686/memcpy.S: Likewise.
23914         * sysdeps/i386/i686/memmove.S: Likewise.
23915         * sysdeps/i386/i686/mempcpy.S: Likewise.
23916         * sysdeps/i386/i686/memset.S: Likewise.
23917         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23918         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23919         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
23920         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
23921         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23922         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23923         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
23924         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23925         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23926         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23927         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23928         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23929         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23930         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23931         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23932         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23933         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
23934         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
23935         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
23936         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23937         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23938         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23939         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23940         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23941         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23942         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23943         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23944         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23945         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23946         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23947         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23948         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23949         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23950         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23951         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23952         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23953         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23954         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23955         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23956         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23957         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23958         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23959         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23960         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23961         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23962         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23963         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23964         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23965         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23966         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23967         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23968         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23969         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23970         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23971         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23972         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23973         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23974         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23975         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23976         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23977         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23978         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23979         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23980         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23981         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23982         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23983         * sysdeps/posix/closedir.c: Likewise.
23984         * sysdeps/posix/opendir.c: Likewise.
23985         * sysdeps/posix/readdir.c: Likewise.
23986         * sysdeps/posix/rewinddir.c: Likewise.
23987         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23988         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23989         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23990         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23991         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23992         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23993         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23994         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23995         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23996         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23997         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23998         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23999         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24000         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24001         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24002         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24003         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24004         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24005         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24006         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24007         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24008         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24009         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24010         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24011         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24012         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24013         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24014         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24015         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24018         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24019         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24021         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24022         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24023         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24024         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24025         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24026         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24027         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24028         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24029         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24030         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24031         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24032         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24033         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24034         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24035         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24036         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24037         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24038         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24039         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24040         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24041         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24042         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24043         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24044         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24045         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24046         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24047         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24048         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24049         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24050         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24051         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24052         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24053         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24054         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24055         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24056         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24057         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24058         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24059         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24060         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24061         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24062         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24063         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24064         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24065         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24066         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24067         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24068         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24069         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24070         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24071         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24072         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24073         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24074         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24075         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24076         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24077         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24078         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24079         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24080         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24081         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24082         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24083         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24084         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24085         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24086         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24087         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24088         * sysdeps/unix/alpha/sysdep.S: Likewise.
24089         * sysdeps/unix/alpha/sysdep.h: Likewise.
24090         * sysdeps/unix/make-syscalls.sh: Likewise.
24091         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24092         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24093         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24094         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24095         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24096         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24097         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24098         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24099         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24100         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24101         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24102         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24103         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24104         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24105         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24106         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24107         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24108         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24109         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24110         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24111         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24112         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24113         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24114         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24115         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24116         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24117         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24120         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24121         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24122         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24123         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24124         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24125         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24126         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24127         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24128         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24129         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24130         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24131         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24132         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24133         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24134         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24135         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24136         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24137         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24138         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24139         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24140         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24141         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24142         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24143         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24144         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24145         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24146         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24147         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24148         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24149         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24150         * sysdeps/x86_64/memcpy.S: Likewise.
24151         * sysdeps/x86_64/memmove.c: Likewise.
24152         * sysdeps/x86_64/memset.S: Likewise.
24153         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24154         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24155         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24156         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24157         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24158         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24159         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24160         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24161         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24162         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24163         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24164         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24165         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24166         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24167         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24168         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24169         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24170         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24171         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24172         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24173         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24174         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24175         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24176         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24177         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24178         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24179         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24180         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24181         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24182         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24183         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24184         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24185         * sysdeps/x86_64/strcmp.S: Likewise.
24187         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24189         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24190         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24191         * elf/rtld-Rules: Likewise.
24192         * elf/setup-vdso.h: Likewise.
24193         * include/assert.h: Likewise.
24194         * include/bits/stdlib-float.h: Likewise.
24195         * include/errno.h: Likewise.
24196         * include/sys/stat.h: Likewise.
24197         * include/unistd.h: Likewise.
24198         * sysdeps/aarch64/setjmp.S: Likewise.
24199         * sysdeps/alpha/setjmp.S: Likewise.
24200         * sysdeps/arm/__longjmp.S: Likewise.
24201         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24202         * sysdeps/arm/setjmp.S: Likewise.
24203         * sysdeps/arm/sysdep.h: Likewise.
24204         * sysdeps/generic/_itoa.h: Likewise.
24205         * sysdeps/generic/dl-sysdep.h: Likewise.
24206         * sysdeps/generic/ldsodefs.h: Likewise.
24207         * sysdeps/i386/dl-tls.h: Likewise.
24208         * sysdeps/i386/setjmp.S: Likewise.
24209         * sysdeps/m68k/setjmp.c: Likewise.
24210         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24211         * sysdeps/mach/hurd/opendir.c: Likewise.
24212         * sysdeps/posix/getcwd.c: Likewise.
24213         * sysdeps/posix/opendir.c: Likewise.
24214         * sysdeps/posix/profil.c: Likewise.
24215         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24216         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24217         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24218         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24219         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24220         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24221         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24222         * sysdeps/s390/dl-tls.h: Likewise.
24223         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24224         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24225         * sysdeps/sh/sh3/setjmp.S: Likewise.
24226         * sysdeps/sh/sh4/setjmp.S: Likewise.
24227         * sysdeps/unix/alpha/sysdep.h: Likewise.
24228         * sysdeps/unix/arm/sysdep.S: Likewise.
24229         * sysdeps/unix/i386/sysdep.S: Likewise.
24230         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24231         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24232         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24233         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24234         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24235         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24236         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24237         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24238         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24239         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24240         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24241         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24242         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24245         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24246         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24247         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24248         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24249         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24250         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24251         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24252         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24253         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24254         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24255         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24256         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24257         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24258         * sysdeps/x86_64/setjmp.S: Likewise.
24260         * include/math.h: Use IS_IN instead of IS_IN_libm.
24261         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24262         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24263         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24264         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24265         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24266         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24267         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24268         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24269         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24270         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24271         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24272         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24273         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24274         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24275         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24276         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24277         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24278         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24279         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24280         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24281         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24282         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24283         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24284         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24285         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24286         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24287         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24288         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24289         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24290         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24291         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24292         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24293         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24295         Likewise.
24296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24297         Likewise.
24298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24299         Likewise.
24300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24301         Likewise.
24302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24303         Likewise.
24304         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24305         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24306         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24307         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24308         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24309         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24315         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24316         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24317         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24318         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24319         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24320         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24321         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24322         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24323         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24324         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24325         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24326         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24327         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24328         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24330         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24332         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24333         * nptl/pthreadP.h: Likewise.
24334         * nptl_db/structs.def: Likewise.
24335         * sysdeps/arm/sysdep.h: Likewise.
24336         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24337         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24338         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24339         * sysdeps/unix/alpha/sysdep.h: Likewise.
24340         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24341         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24342         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24343         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24344         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24345         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24346         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24347         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24348         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24349         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24350         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24351         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24352         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24353         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24356         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24357         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24358         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24359         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24360         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24361         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24362         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24363         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24364         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24365         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24367         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24368         * nptl/pthreadP.h: Likewise.
24369         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24370         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24371         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24372         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24373         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24374         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24375         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24376         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24377         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24378         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24379         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24380         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24382         Likewise.
24383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24384         Likewise.
24385         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24386         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24387         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24388         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24389         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24390         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24391         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24392         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24394         * dlfcn/dladdr.c: Use IS_IN.
24395         * dlfcn/dladdr1.c: Likewise.
24396         * dlfcn/dlclose.c: Likewise.
24397         * dlfcn/dlerror.c: Likewise.
24398         * dlfcn/dlinfo.c: Likewise.
24399         * dlfcn/dlmopen.c: Likewise.
24400         * dlfcn/dlopen.c: Likewise.
24401         * dlfcn/dlsym.c: Likewise.
24402         * dlfcn/dlvsym.c: Likewise.
24404         * include/ifaddrs.h: Use IS_IN.
24405         * inet/check_pf.c: Likewise.
24406         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24407         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24409         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24410         IS_IN_ldconfig.
24411         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24412         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24414         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24415         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24416         IS_IN (libc).
24418         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24420         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24421         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24422         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24423         * include/libc-symbols.h (IS_IN_LIB): New macro.
24424         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24425         * include/netdb.h: Likewise.
24426         * include/stap-probe.h: Remove all uses of IN_LIB.
24428         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24429         instead of IN_MODULE.
24430         * include/libc-symbols.h (IN_MODULE): Define using
24431         MODULE_NAME.
24432         (PASTE_NAME, PASTE_NAME1): New macros.
24433         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24434         of IN_LIB.
24435         (STAP_PROBE_ASM): Likewise.
24437 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24439         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24440         __mach_init in dlopened libc.
24442 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24444         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24445         * sysdeps/arm/preconfigure: Regenerate.
24447 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24449         * nptl/pthread_create.c (__pthread_create_2_1): Set
24450         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24451         when copying values from IATTR into PD.
24453 2014-11-21  Will Newton  <will.newton@linaro.org>
24454             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24456         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24457         Refactor inline-asm.  Also add comment.
24459         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24460         ElfW macro instead of hardcoded Elf64 types.
24461         (la_aarch64_gnu_pltenter): Likewise.
24462         * sysdeps/aarch64/dl-machine.h
24463         (elf_machine_runtime_setup): Use ElfW(Addr).
24465         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24466         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24467         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24468         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24469         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24470         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24471         (R_AARCH64_TLS_DTPMOD): This.
24472         (R_AARCH64_TLS_DTPREL64): Rename to ...
24473         (R_AARCH64_TLS_DTPREL): This.
24474         (R_AARCH64_TLS_TPREL64): Rename to ...
24475         (R_AARCH64_TLS_TPREL): This.
24476         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24477         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24478         R_AARCH64_TLS_TPREL64.
24479         (elf_machine_rela): Likewise.
24481 2014-11-21  Torvald Riegel  <triegel@redhat.com>
24483         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24484         by setting it to 0.  64b atomics are not supported currently.
24486 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24488         [BZ #16469]
24489         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24490         search domain names.
24492 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24494         [BZ #16469]
24495         * NEWS: Update.
24496         * resolv/res_query.c (__libc_res_nquerydomain): Retain
24497         trailing dot.
24498         * posix/tst-getaddrinfo5.c: New.
24499         * posix/Makefile (tests): Add it.
24501 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24503         [BZ #14498]
24504         * NEWS: Fixed.
24505         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24506         after parsing line but before break_if_match.
24507         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24508         if there is a protocol mismatch.
24510 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24512         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24513         because the potential race is on the user-supplied stream.
24515 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24517         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24518         string literal if not passed a buffer.
24519         * manual/job.texi (ctermid): Update reasoning, note deviation
24520         from posix, suggest mtasurace when not passed a buffer, for
24521         future non-preliminary safety notes.
24523 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24525         * manual/users.texi (cuserid): Fix MT-Safety note for the case
24526         of not passing it a buffer.
24527         Reported by Peng Haitao.
24529 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24531         * manual/Makefile ($(objpfx)stamp-summary): Require
24532         check-safety.sh to pass.
24533         * manual/check-safety.sh: Wish for verification that every
24534         @deftypefn and @deftypefun is followed by a @safety remark.
24536 2014-11-20  Roland McGrath  <roland@hack.frob.com>
24538         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24540         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24541         PTHREAD_CANCEL_ASYNCHRONOUS.
24542         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24543         send SIGCANCEL.
24545         * nptl/default-sched.h: New file.
24546         * sysdeps/unix/sysv/linux/default-sched.h: New file.
24547         * nptl/pthread_create.c: Include it.
24548         (__pthread_create_2_1): Use collect_default_sched instead of making
24549         Linux syscalls here directly.
24551 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24553         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24554         __pthread_once): Use C11 atomics.
24556 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24558         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24560 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24562         * include/atomic.h (__atomic_link_error, __atomic_check_size,
24563         atomic_thread_fence_acquire, atomic_thread_fence_release,
24564         atomic_thread_fence_seq_cst, atomic_load_relaxed,
24565         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24566         atomic_compare_exchange_weak_relaxed,
24567         atomic_compare_exchange_weak_acquire,
24568         atomic_compare_exchange_weak_release,
24569         atomic_exchange_acquire, atomic_exchange_release,
24570         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24571         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24572         atomic_fetch_and_acquire,
24573         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24575 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24577         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24578         USE_ATOMIC_COMPILER_BUILTINS): Define.
24579         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24580         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24581         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24582         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24583         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24584         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24585         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24586         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24587         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24588         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24589         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24590         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24591         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24592         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24593         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24594         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24595         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24596         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24597         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24598         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24599         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24600         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24601         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24602         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24603         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24604         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24605         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24606         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24607         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24608         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24609         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24610         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24611         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24612         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24613         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24614         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24615         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24616         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24617         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24618         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24620 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24622         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24623         the sched_priority value here.  It was already checked when the user
24624         called pthread_attr_setschedparam.
24626         * nptl/tst-bad-schedattr.c: New file.
24627         * nptl/Makefile (tests): Add it.
24629 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24630             Florian Weimer  <fweimer@redhat.com>
24631             Joseph Myers  <joseph@codesourcery.com>
24632             Adam Conrad  <adconrad@0c3.net>
24633             Andreas Schwab  <schwab@suse.de>
24634             Brooks  <bmoses@google.com>
24636         [BZ #17625]
24637         * wordexp-test.c (__dso_handle): Add prototype.
24638         (__register_atfork): Likewise.
24639         (__app_register_atfork): New function.
24640         (registered_forks): New global.
24641         (register_fork): New function.
24642         (test_case): Add 3 new tests for WRDE_CMDSUB.
24643         (main): Call __app_register_atfork.
24644         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24645         fork count is non-zero fail the test.
24646         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24647         is set.
24648         (parse_dollars): Remove check for WRDE_NOCMD.
24649         (parse_dquote): Likewise.
24651 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24653         * Makeconfig (built-modules): List non-library modules to be
24654         built.
24655         (module-cppflags): Include libc-modules.h for
24656         everything except shlib-versions.v.i.
24657         (CPPFLAGS): Use it.
24658         (before-compile): Add libc-modules.h.
24659         ($(common-objpfx)libc-modules.h,
24660         $(common-objpfx)libc-modules.stmp): New targets.
24661         (common-generated): Add libc-modules.h and libc-modules.stmp.
24662         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24663         * include/libc-symbols.h: Don't include libc-modules.h.
24664         * include/libc-modules.h: Remove file.
24665         * scripts/gen-libc-modules.awk: New script to generate
24666         libc-modules.h.
24667         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24668         Depend on libc-modules.stmp.
24670         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24672         * Makeconfig (in-module): Get value of libof set for the
24673         translation unit.
24674         (CPPFLAGS): Use $(in-module).
24675         * Makerules: Don't suffix routine names for nonlib.
24676         * include/libc-modules.h: New file.
24677         * include/libc-symbols.h: Include libc-modules.h
24678         (IS_IN): New macro to replace IS_IN_* macros.
24679         * elf/Makefile: Set libof-* for each routine.
24680         * elf/rtld-Rules: Likewise.
24681         * extra-modules.mk: Likewise.
24682         * iconv/Makefile: Likewise.
24683         * iconvdata/Makefile: Likewise.
24684         * locale/Makefile: Likewise.
24685         * malloc/Makefile: Likewise.
24686         * nss/Makefile: Likewise.
24687         * sysdeps/gnu/Makefile: Likewise.
24688         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24689         * sysdeps/unix/sysv/linux/Makefile: Likewise.
24690         * sysdeps/s390/s390-64/Makefile: Likewise.
24691         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
24692         CPPFLAGS for nscd instead of nonlib.
24694 2014-11-18  Roland McGrath  <roland@hack.frob.com>
24696         * nptl/createthread.c: New file.
24698         * nptl/createthread.c: Moved ...
24699         * sysdeps/unix/sysv/linux/createthread.c: ... here.
24701         * nptl/createthread.c: Add proper top-line comment.
24702         (do_clone): Folded into ...
24703         (create_thread): ... here.  Take new arguments STOPPED_START and
24704         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
24705         increment __nptl_threads, do event-reporting logic, do
24706         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24707         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
24708         resource cleanup if sched_setaffinity or sched_setscheduler fails,
24709         just send SIGCANCEL.
24710         * nptl/pthread_create.c: Forward-declare create_thread before
24711         including createthread.c.
24712         (start_thread): Use new macro START_THREAD_DEFN to replace defining
24713         declaration, and new macro START_THREAD_SELF to replace argument.
24714         Remove return statement.
24715         (report_thread_creation): New function.
24716         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
24717         synchronization logic, and __nptl_nthreads increment here, around
24718         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
24719         PD->parent_cancelhandling here, before create_thread.  When
24720         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24721         __deallocate_stack, and ENOMEM translation here.
24723 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
24725         [BZ #17616]
24726         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24727         (mptwo): Rename to __mptwo.
24728         (__inv): Use __mptwo instead of mptwo.
24729         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24730         (mptwo): Rename to __mptwo.
24731         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24732         of mpone and __mptwo instead of mptwo.
24733         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24734         instead of mpone.
24735         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24736         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
24737         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
24738         of mpone and __mptwo instead of mptwo.
24739         (__mpranred): Use __mpone instead of mpone.
24740         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
24741         variable.
24742         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24743         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24744         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24745         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24746         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24747         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24748         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24749         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24750         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24751         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24752         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24753         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24754         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24755         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24756         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24757         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24758         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24759         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24760         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24762 2014-11-18  Tom de Vries  <tom@codesoucery.com>
24764         * manual/signal.texi (Primitives Interrupted by Signals): In section,
24765         replace BSD Handler xref with BSD Signal Handling.
24767 2014-11-17  Richard Henderson  <rth@redhat.com>
24769         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
24770         (_FP_PACK_RAW_2): Remove.
24771         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
24772         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
24773         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
24774         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
24775         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
24776         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
24777         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
24778         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
24779         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
24780         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
24781         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
24782         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
24783         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
24784         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24785         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
24786         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
24788 2014-11-14  Roland McGrath  <roland@hack.frob.com>
24790         * signal/signal.h [__USE_MISC]
24791         (struct sigvec): Remove type.
24792         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
24793         (sigvec): Remove declaration.
24794         * sysdeps/posix/sigvec.c: Moved ...
24795         * signal/sigvec.c: ... here, replacing old file.
24796         (struct sigvec): New type, copied from old signal.h definition.
24797         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
24798         (__sigvec): Convert definition to prototype.
24799         (sigvec): Replace weak_alias with compat_symbol.
24800         * signal/Versions (libc: GLIBC_2.21): New version set.
24801         * include/signal.h: Remove __sigvec declaration.
24802         * sysdeps/unix/bsd/sigvec.c: Remove file.
24803         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
24804         * manual/signal.texi (BSD Handler): Remove subsection.
24805         Move siginterrupt up to ...
24806         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
24807         (Blocking in BSD): Fold subsection into its parent.
24808         * NEWS: Mention sigvec removal.
24810 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24812         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
24813         (DLA_FMS): Make definition conditional only on [__FMA4__].
24814         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
24815         definition.
24817         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
24818         Make definition conditional only on [PROF].
24819         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
24820         definition.
24821         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
24822         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
24824         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
24825         !__GNUC__].
24826         * include/signal.h (__sigpause): Move declaration above call to
24827         libc_hidden_proto.
24828         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
24829         variable.
24830         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24831         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24833 2014-11-14  David S. Miller  <davem@davemloft.net>
24835         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
24836         Define before including <string/memcpy.c> and <string/mempcpy.c>.
24838 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24840         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
24841         * configure: Regenerated.
24842         * manual/install.texi (Tools for Compilation): Document a
24843         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
24844         compiler verified to work.
24845         * INSTALL: Regenerated.
24847         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
24848         redeclare with asm name.
24849         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
24850         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
24851         including <string.h>.
24852         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24853         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
24854         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24855         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
24856         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24857         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24858         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24860 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
24862         * stdlib/strtol.c (__strtol): Use prototype definition.
24864         [BZ #17594]
24865         * stdlib/strtol.c (SYM__): New macro.
24866         (SYM__1): Likewise.
24867         (__strtol): Likewise.
24868         (strtol): Rename to __strtol and define as weak alias of
24869         __strtol.  Use libc_hidden_weak.
24871 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24873         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
24874         Use numbered labels in inline assembly.
24876 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24878         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
24879         Add setjmp LIBC_PROBE.
24880         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
24881         Likewise.
24882         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
24883         Add longjmp, longjmp_target LIBC_PROBE.
24884         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
24885         Likewise.
24887 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24889         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24890         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
24891         to get rid of unused variable warning.
24893 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24895         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
24896         Check for unwind_backtrace ==  NULL only in SHARED case.
24897         (__backchain_backtrace): Compile only in SHARED case.
24898         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
24899         Likewise.
24900         (__backchain_backtrace): Declare as static.
24902 2014-11-12  Roland McGrath  <roland@hack.frob.com>
24904         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
24905         (__libc_multiple_threads_ptr): Variable moved ...
24906         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
24908 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
24910         * conform/GlibcConform.pm: New file.
24911         * conform/conformtest.pl: Use GlibcConform module.
24912         * conform/linknamespace.pl: New file.
24913         * conform/list-header-symbols.pl: Likewise.
24914         * conform/Makefile (linknamespace-symlists-base): New variable.
24915         (linknamespace-symlists-tests): Likewise.
24916         (linknamespace-header-base): Likewise.
24917         (linknamespace-header-tests): Likewise.
24918         (tests-special): Add new tests.
24919         ($(linknamespace-symlists-tests)): New rule.
24920         (linknamespace-libs): New variable.
24921         ($(objpfx)symlist-stdlibs): New rule.
24922         ($(linknamespace-header-tests)): Likewise.
24923         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
24924         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
24925         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
24926         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
24927         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
24928         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
24929         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
24930         (test-xfail-ISO/math.h/linknamespace): Likewise.
24931         (test-xfail-ISO/signal.h/linknamespace): Likewise.
24932         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
24933         (test-xfail-ISO/time.h/linknamespace): Likewise.
24934         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24935         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
24936         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24937         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24938         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24939         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24940         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24941         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24942         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24943         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24944         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24945         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24946         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24947         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24948         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24949         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24950         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24951         (test-xfail-XPG3/search.h/linknamespace): Likewise.
24952         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24953         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24954         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24955         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24956         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24957         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24958         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24959         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24960         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24961         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24962         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24963         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24964         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24965         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24966         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24967         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24968         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24969         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24970         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24971         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24972         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24973         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24974         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24975         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24976         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24977         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24978         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24979         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24980         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24981         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24982         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24983         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24984         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24985         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24986         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24987         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24988         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24989         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24990         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24991         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24992         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24993         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24994         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24995         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24996         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24997         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24998         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24999         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25000         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25001         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25002         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25003         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25004         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25005         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25006         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25007         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25008         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25009         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25010         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25011         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25012         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25013         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25014         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25015         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25016         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25017         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25018         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25019         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25020         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25021         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25022         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25023         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25024         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25025         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25026         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25027         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25028         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25029         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25030         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25031         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25032         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25033         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25034         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25035         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25036         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25037         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25038         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25039         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25040         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25041         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25042         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25043         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25044         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25045         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25046         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25047         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25048         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25049         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25050         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25051         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25052         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25053         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25054         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25055         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25056         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25057         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25058         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25059         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25060         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25061         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25062         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25063         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25064         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25065         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25066         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25067         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25068         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25069         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25070         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25071         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25072         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25073         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25074         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25075         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25076         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25077         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25078         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25079         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25080         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25081         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25082         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25083         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25085         [BZ #17589]
25086         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25087         of fgets_unlocked.
25089         [BZ #17585]
25090         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25091         (memmem): Rename to __memmem and define as weak alias of
25092         __memmem.  Use libc_hidden_weak.
25093         (__memmem): Use libc_hidden_def.
25094         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25095         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25096         memmem.
25098         [BZ #17582]
25099         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25100         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25101         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25102         and define as weak alias of __fgets_unlocked.  Use
25103         libc_hidden_weak.
25104         (__fgets_unlocked): Use libc_hidden_def.
25105         * include/stdio.h (__fgets_unlocked): Declare.  Use
25106         libc_hidden_proto.
25107         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25108         __fgets_unlocked instead of fgets_unlocked.
25109         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25110         (GET_NPROCS_CONF_PARSER): Likewise.
25111         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25112         (GET_NPROCS_CONF_PARSER): Likewise.
25114         [BZ #17574]
25115         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25116         weak alias of __wmemset.  Use libc_hidden_weak.
25117         (__wmemset): Use libc_hidden_def.
25118         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25119         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25120         of wmemset.
25122         [BZ #17573]
25123         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25124         with asm name __mempcpy.
25125         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25127         [BZ #17572]
25128         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25129         and define as weak alias of __rawmemchr.
25130         (__rawmemchr): Do not define as strong alias of rawmemchr.
25132         [BZ #17571]
25133         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25134         alias of __qsort_r.
25135         (qsort): Call __qsort_r instead of qsort_r.
25136         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25137         (__qsort_r): Declare.  Call libc_hidden_proto.
25138         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25139         instead of qsort_r.
25140         * nscd/gai.c (__qsort_r): Define to qsort_r.
25141         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25142         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25143         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25145         [BZ #17570]
25146         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25147         define as weak alias of __malloc_info.
25149         [BZ #17584]
25150         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25151         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25152         (__rewinddir): Use libc_hidden_def.
25153         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25154         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25155         (__rewinddir): Use libc_hidden_def.
25156         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25157         weak alias of __rewinddir.  Don't use libc_hidden_def.
25158         (__rewinddir): Use libc_hidden_def.
25159         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25160         (__rewinddir): Use libc_hidden_proto.
25161         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25162         rewinddir.
25163         (__getcwd): Use __rewinddir instead of rewinddir.
25165         [BZ #17583]
25166         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25167         alias of __fileno.  Use libc_hidden_weak.
25168         (__fileno): Use libc_hidden_def.
25169         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25170         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25171         alias of __ftello.
25172         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25173         __ftello.
25174         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25175         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25176         libc_hidden_def.
25177         (fread_unlocked): Don't use libc_hidden_ver.
25178         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25179         and define as weak alias of __fread_unlocked.  Don't use
25180         libc_hidden_def.
25181         (__fread_unlocked): Use libc_hidden_def.
25182         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25183         (ftello): Don't use libc_hidden_proto.
25184         (__ftello): Declare.  Use libc_hidden_proto.
25185         (fread_unlocked): Don't use libc_hidden_proto.
25186         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25187         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25188         and __ftello instead of fileno, fread_unlocked and ftello.
25190 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25192         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25193         GOT12.
25194         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25195         Likewise.
25196         (_dl_start_user): Likewise.
25197         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25199 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25200             Siddhesh Poyarekar  <siddhesh@redhat.com>
25202         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25203         Move argv and envp down instead of moving argc up.
25204         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25206 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25208         [BZ #17506]
25209         * test-skeleton.c (main): Return successful if one of
25210         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25211         * string/tst-strcoll-overflow.c: Define expected status.
25213 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25215         [BZ #17475]
25216         * locale/iso-639.def: Define Bhili and Tulu language codes.
25218 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25220         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25222 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25224         [BZ #17555]
25225         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25227 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25229         * configure.ac: Updated check of minimal required version to
25230         2.22.
25231         * manual/install.texi (Tools for Compilation): Updated version
25232         number.
25233         * configure: Regenerated.
25234         * INSTALL: Likewise.
25236 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25238         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25239         __tls_get_addr.
25241 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25243         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25244         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25245         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25246         libc_hidden_weak.
25247         (waitpid): Define as alias of __waitpid.
25248         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25249         __waitpid.
25250         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25251         libc_hidden_weak.
25252         (waitpid): Define as alias of __waitpid.
25253         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25254         __libc_waitpid alias.
25255         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25256         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25257         Likewise.
25258         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25259         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25260         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25261         alias.
25262         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25263         __waitpid.
25264         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25265         libc_hidden_weak.
25266         (waitpid): Define as alias of __waitpid.
25268 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25270         * manual/llio.texi: Add comment that write safety has been
25271         fixed in Linux.
25273         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25274         (localplt-build-dso): Add elf/ld.so.
25275         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25276         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25277         and free for ld.so.
25278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25279         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25281         Likewise.
25282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25283         Likewise.
25284         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25285         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25286         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25287         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25288         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25289         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25290         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25291         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25292         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25293         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25294         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25296 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25298         [BZ #14132]
25299         * include/libc-symbols.h (INTUSE): Remove macro.
25300         (INTDEF): Likewise.
25301         (INTVARDEF): Likewise.
25302         (_INTVARDEF): Likewise.
25303         (INTDEF2): Likewise.
25304         (INTVARDEF2): Likewise.
25305         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25306         rtld_hidden_def instead of INTVARDEF.
25307         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25308         (_dl_starting_up_internal): Remove declaration.
25309         (_dl_starting_up): Use rtld_hidden_proto.
25310         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25311         declaration.
25312         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25313         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25314         _dl_starting_up.
25315         * elf/dl-writev.h (_dl_writev): Likewise.
25316         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25317         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25318         _dl_starting_up_internal.
25320 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25322         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25323         test-skeleton.c.
25325 2014-11-05  Will Newton  <will.newton@linaro.org>
25327         * benchtests/Makefile: (bench-malloc): Add malloc thread
25328         scalability benchmark.
25329         * benchtests/bench-malloc-threads.c: New file.
25331 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
25333         * sysdeps/aarch64/strchrnul.S: New file.
25335 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25337         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25338         definition.
25339         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25340         Likwise.
25341         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25342         Likewise.
25343         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25344         Likewise.
25345         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25346         Likewise.
25347         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25348         Likewise.
25350 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
25352         * catgets/test-gencat.c: Use test-skeleton.c.
25353         * catgets/tst-catgets.c: Likewise.
25354         * csu/tst-empty.c: Likewise.
25355         * elf/tst-audit2.c: Likewise.
25356         * elf/tst-global1.c: Likewise.
25357         * elf/tst-pathopt.c: Likewise.
25358         * elf/tst-piemod1.c: Likewise.
25359         * elf/tst-tls10.c: Likewise.
25360         * elf/tst-tls11.c: Likewise.
25361         * elf/tst-tls12.c: Likewise.
25362         * gnulib/tst-gcc.c: Likewise.
25363         * iconvdata/tst-e2big.c: Likewise.
25364         * iconvdata/tst-loading.c: Likewise.
25365         * iconv/tst-iconv1.c: Likewise.
25366         * iconv/tst-iconv2.c: Likewise.
25367         * inet/test-inet6_opt.c: Likewise.
25368         * inet/tst-gethnm.c: Likewise.
25369         * inet/tst-network.c: Likewise.
25370         * inet/tst-ntoa.c: Likewise.
25371         * intl/tst-codeset.c: Likewise.
25372         * intl/tst-gettext2.c: Likewise.
25373         * intl/tst-gettext3.c: Likewise.
25374         * intl/tst-ngettext.c: Likewise.
25375         * intl/tst-translit.c: Likewise.
25376         * io/test-stat.c: Likewise.
25377         * libio/test-fmemopen.c: Likewise.
25378         * libio/tst-freopen.c: Likewise.
25379         * libio/tst-sscanf.c: Likewise.
25380         * libio/tst-ungetwc1.c: Likewise.
25381         * libio/tst-ungetwc2.c: Likewise.
25382         * libio/tst-widetext.c: Likewise.
25383         * localedata/tst-ctype.c: Likewise.
25384         * localedata/tst-digits.c: Likewise.
25385         * localedata/tst-leaks.c: Likewise.
25386         * localedata/tst-mbswcs1.c: Likewise.
25387         * localedata/tst-mbswcs2.c: Likewise.
25388         * localedata/tst-mbswcs3.c: Likewise.
25389         * localedata/tst-mbswcs4.c: Likewise.
25390         * localedata/tst-mbswcs5.c: Likewise.
25391         * localedata/tst-setlocale.c: Likewise.
25392         * localedata/tst-trans.c: Likewise.
25393         * localedata/tst-wctype.c: Likewise.
25394         * localedata/tst-xlocale1.c: Likewise.
25395         * login/tst-grantpt.c: Likewise.
25396         * malloc/tst-calloc.c: Likewise.
25397         * malloc/tst-malloc.c: Likewise.
25398         * malloc/tst-mallocstate.c: Likewise.
25399         * malloc/tst-mcheck.c: Likewise.
25400         * malloc/tst-mtrace.c: Likewise.
25401         * malloc/tst-obstack.c: Likewise.
25402         * math/atest-exp2.c: Likewise.
25403         * math/atest-exp.c: Likewise.
25404         * math/atest-sincos.c: Likewise.
25405         * math/test-matherr.c: Likewise.
25406         * math/test-misc.c: Likewise.
25407         * math/test-powl.c: Likewise.
25408         * math/tst-definitions.c: Likewise.
25409         * misc/tst-dirname.c: Likewise.
25410         * misc/tst-efgcvt.c: Likewise.
25411         * misc/tst-fdset.c: Likewise.
25412         * misc/tst-hsearch.c: Likewise.
25413         * misc/tst-mntent2.c: Likewise.
25414         * nptl/tst-sem7.c: Likewise.
25415         * nptl/tst-sem8.c: Likewise.
25416         * nptl/tst-sem9.c: Likewise.
25417         * nss/test-netdb.c: Likewise.
25418         * posix/tst-fnmatch.c: Likewise.
25419         * posix/tst-getlogin.c: Likewise.
25420         * posix/tst-gnuglob.c: Likewise.
25421         * posix/tst-mmap.c: Likewise.
25422         * pwd/tst-getpw.c: Likewise.
25423         * resolv/tst-inet_ntop.c: Likewise.
25424         * rt/tst-timer.c: Likewise.
25425         * stdio-common/test-fseek.c: Likewise.
25426         * stdio-common/test-popen.c: Likewise.
25427         * stdio-common/test-vfprintf.c: Likewise.
25428         * stdio-common/tst-cookie.c: Likewise.
25429         * stdio-common/tst-fileno.c: Likewise.
25430         * stdio-common/tst-gets.c: Likewise.
25431         * stdio-common/tst-obprintf.c: Likewise.
25432         * stdio-common/tst-perror.c: Likewise.
25433         * stdio-common/tst-sprintf2.c: Likewise.
25434         * stdio-common/tst-sprintf3.c: Likewise.
25435         * stdio-common/tst-sprintf.c: Likewise.
25436         * stdio-common/tst-swprintf.c: Likewise.
25437         * stdio-common/tst-tmpnam.c: Likewise.
25438         * stdio-common/tst-unbputc.c: Likewise.
25439         * stdio-common/tst-wc-printf.c: Likewise.
25440         * stdlib/tst-environ.c: Likewise.
25441         * stdlib/tst-fmtmsg.c: Likewise.
25442         * stdlib/tst-limits.c: Likewise.
25443         * stdlib/tst-rand48-2.c: Likewise.
25444         * stdlib/tst-rand48.c: Likewise.
25445         * stdlib/tst-random2.c: Likewise.
25446         * stdlib/tst-random.c: Likewise.
25447         * stdlib/tst-strtol.c: Likewise.
25448         * stdlib/tst-strtoll.c: Likewise.
25449         * stdlib/tst-tls-atexit.c: Likewise.
25450         * stdlib/tst-xpg-basename.c: Likewise.
25451         * string/test-ffs.c: Likewise.
25452         * string/tst-bswap.c: Likewise.
25453         * string/tst-inlcall.c: Likewise.
25454         * string/tst-strtok.c: Likewise.
25455         * string/tst-strxfrm.c: Likewise.
25456         * sysdeps/x86_64/tst-audit10.c: Likewise.
25457         * sysdeps/x86_64/tst-audit3.c: Likewise.
25458         * sysdeps/x86_64/tst-audit4.c: Likewise.
25459         * sysdeps/x86_64/tst-audit5.c: Likewise.
25460         * time/tst-ftime_l.c: Likewise.
25461         * time/tst-getdate.c: Likewise.
25462         * time/tst-mktime3.c: Likewise.
25463         * time/tst-mktime.c: Likewise.
25464         * time/tst-posixtz.c: Likewise.
25465         * time/tst-strptime2.c: Likewise.
25466         * time/tst-strptime3.c: Likewise.
25467         * wcsmbs/tst-btowc.c: Likewise.
25468         * wcsmbs/tst-mbrtowc.c: Likewise.
25469         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25470         * wcsmbs/tst-wchar-h.c: Likewise.
25471         * wcsmbs/tst-wcpncpy.c: Likewise.
25472         * wcsmbs/tst-wcrtomb.c: Likewise.
25473         * wcsmbs/tst-wcsnlen.c: Likewise.
25474         * wcsmbs/tst-wcstof.c: Likewise.
25476 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25478         [BZ #14132]
25479         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25480         INTDEF.
25481         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25482         declaration.
25483         (_dl_mcount): Use rtld_hidden_proto.
25484         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25485         _dl_mcount.
25486         * elf/rtld.c (_rtld_global_ro): Likewise.
25488         [BZ #14132]
25489         * elf/dl-init.c (_dl_init): Don't use INTDEF.
25490         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25491         of _dl_init_internal.
25492         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25493         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25494         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25495         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25496         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25497         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25498         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25499         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25500         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25501         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25502         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25503         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25504         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25505         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25506         * sysdeps/tile/dl-start.S (_start): Likewise.
25507         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25508         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25510         [BZ #14132]
25511         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25512         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25513         (rtld_progname): Make macro definition unconditional.
25514         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25515         INTDEF.
25516         (dlmopen_doit): Do not use INTUSE with _dl_argv.
25517         (dl_main): Likewise.
25518         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25519         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25520         instead of _dl_argv_internal.
25521         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25522         __GI__dl_argv instead of INTUSE(_dl_argv).
25523         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25524         __GI__dl_argv instead of _dl_argv_internal.
25526         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25527         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25528         macro.
25529         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25530         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25531         New macro.
25532         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25533         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25534         macro.
25535         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25536         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25538 2014-11-04  Andreas Schwab  <schwab@suse.de>
25540         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25542 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25544         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25545         mtvsrd instruction in binary form.
25547 2014-11-03  Andreas Schwab  <schwab@suse.de>
25549         [BZ #17522]
25550         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25551         for less than MB_LEN_MAX use a local buffer of that size.
25552         * libio/tst-fputws.c: New file.
25553         * libio/Makefile (tests): Add tst-fputws.
25555 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
25557         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25558         the size of the fpu_fr.fpu_dregs[] array.
25560 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
25562         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25563         (__nanosleep): Do not define as alias.
25564         (nanosleep): Define as alias of __nanosleep.
25565         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25566         __libc_nanosleep name.
25568 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25570         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25571         install.texi in comment.
25573 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25575         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25576         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25577         ... add here and use lwsync or sync ...
25578         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25579         ... and add here using lwsync.
25581 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25583         * elf/dl-machine-reject-phdr.h: New file.
25584         * elf/dl-load.c: #include that.
25585         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25586         if that returned true.
25588 2014-10-31  Roland McGrath  <roland@hack.frob.com>
25590         [BZ #17496]
25591         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25592         gen-as-const-headers chunk.  Add a big scare comment after the last
25593         safe place to touch before-compile.
25595 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25597         * manual/install.texi (Tools for Compilation): Update autoconf
25598         version requirements.
25599         * INSTALL: Regenerated.
25601         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25602         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25603         (__libc_pselect): Likewise.
25605         [BZ #14138]
25606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25611 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25613         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25614         correct barrier instruction.
25615         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25616         Likewise.
25617         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25618         Likewise.
25620 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25622         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25623         after defining inlines.  Instead, just use parens to defeat macro
25624         expansion of __isctype in its declaration.
25626 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25628         * include/sys/uio.h (__libc_readv): Remove declaration.
25629         (__libc_writev): Likewise.
25630         * misc/readv.c (__libc_readv): Rename to __readv.
25631         (__readv): Do not define as alias.
25632         (readv): Define as alias of __readv.
25633         * misc/writev.c (__libc_writev): Rename to __writev.
25634         (__writev): Do not define as alias.
25635         (writev): Define as alias of __writev.
25636         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25637         (__readv): Do not define as alias.
25638         (readv): Define unconditionally as alias of __readv.
25639         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25640         (__writev): Do not define as alias.
25641         (writev): Define unconditionally as alias of __writev.
25642         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25643         name.
25644         (writev): Do not define __libc_writev name.
25646 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25648         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25649         (convert_charseq): New function, broken out of ...
25650         (use_from_charmap): ... here.  Call it.
25651         (use_to_charmap): Use convert_charseq and free instead of duplicating
25652         its code with a variable-length stack struct.
25654 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25656         * include/fcntl.h (__libc_creat): Remove declaration.
25657         * io/creat.c (__libc_creat): Rename to creat.
25658         (creat): Do not define as alias.
25659         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25660         of creat instead of __libc_creat.
25661         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25662         to creat.
25663         (creat): Do not define as alias.
25664         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25665         __libc_creat.
25666         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25667         __libc_creat name.
25668         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25669         Likewise.
25671 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25673         * manual/llio.texi: Add comments discussing why write() may be
25674         considered MT-unsafe on Linux.
25676 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25678         * dl-load.c (local_strdup): Remove.
25679         (expand_dynamic_string_token): Use __strdup.
25680         (decompose_rpath): Likewise.
25681         (_dl_map_object): Likewise.
25683 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
25685         [BZ #14132]
25686         * sysdeps/generic/unwind-dw2-fde.c
25687         (__register_frame_info_bases_internal): Do not declare.
25688         (__register_frame_info_table_bases_internal): Likewise.
25689         (__deregister_frame_info_bases_internal): Likewise.
25690         (__register_frame_info_bases): Declare and use hidden_proto before
25691         definition.  Use hidden_def instead of INTDEF.
25692         (__register_frame_info_table_bases): Likewise.
25693         (__deregister_frame_info_bases): Likewise.
25694         (__register_frame_info): Do not use INTUSE.
25695         (__register_frame): Likewise.
25696         (__register_frame_info_table): Likewise.
25697         (__register_frame_table): Likewise.
25698         (__deregister_frame_info): Likewise.
25699         (__deregister_frame): Likewise.
25701 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
25703         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25704         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25705         not undefine.
25706         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25707         Likewise.
25708         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25709         Likewise.
25711 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
25713         [BZ #14138]
25714         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25715         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25716         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25717         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25718         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25719         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25720         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25721         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25722         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25723         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25724         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25725         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25726         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25727         syscall.
25728         (setfsuid): Likewise.
25729         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25730         (setfsuid): Likewise.
25731         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25732         (setfsuid): Likewise.
25733         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25734         Likewise.
25735         (setfsuid): Likewise.
25736         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
25737         (setfsuid): Likewise.
25738         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
25739         Likewise.
25740         (setfsuid): Likewise.
25742 2014-10-27  Andreas Schwab  <schwab@suse.de>
25744         [BZ #17501]
25745         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
25746         check for Slow_SSE4_2 feature bit.
25747         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
25748         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25749         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
25750         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
25752 2014-10-24  Roland McGrath  <roland@hack.frob.com>
25754         * configure.ac: Validate compiler version with a empirical test of
25755         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
25756         $CC -v output.
25757         * configure: Regenerated.
25759         * inet/htons.c (htons): Prototypify.
25760         * inet/htonl.c (htonl): Likewise.
25762 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25764         * string/strncat.c (strncat): Improve performance by using strlen.
25766 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25768         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
25770 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25772         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
25773         Call libc_fetestexcept_aarch64.
25775 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25777         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
25778         Call libc_feholdexcept_aarch64.
25780 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25782         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
25783         Call get_rounding_mode.
25785 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25787         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25788         Simplify logic.
25790 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25792         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
25793         Simplify logic.
25795 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
25797         [BZ #14138]
25798         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
25799         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
25800         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
25801         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
25802         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
25803         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
25804         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
25805         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
25806         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
25807         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
25808         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25809         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
25810         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
25811         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
25812         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
25813         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
25814         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
25815         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
25816         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
25817         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
25818         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
25819         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
25820         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
25821         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
25822         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
25823         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
25824         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
25825         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
25826         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
25827         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
25828         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
25829         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
25830         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
25831         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
25832         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
25833         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
25834         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
25835         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
25836         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
25837         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
25838         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
25839         syscall.
25840         (geteuid): Likewise.
25841         (getgid): Likewise.
25842         (getuid): Likewise.
25843         (getresgid): Likewise.
25844         (getresuid): Likewise.
25845         (getgroups): Likewise.
25846         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
25847         (geteuid): Likewise.
25848         (getgid): Likewise.
25849         (getuid): Likewise.
25850         (getresgid): Likewise.
25851         (getresuid): Likewise.
25852         (getgroups): Likewise.
25853         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
25854         (geteuid): Likewise.
25855         (getgid): Likewise.
25856         (getuid): Likewise.
25857         (getresgid): Likewise.
25858         (getresuid): Likewise.
25859         (getgroups): Likewise.
25860         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
25861         Likewise.
25862         (geteuid): Likewise.
25863         (getgid): Likewise.
25864         (getuid): Likewise.
25865         (getresgid): Likewise.
25866         (getresuid): Likewise.
25867         (getgroups): Likewise.
25868         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
25869         (geteuid): Likewise.
25870         (getgid): Likewise.
25871         (getuid): Likewise.
25872         (getresgid): Likewise.
25873         (getresuid): Likewise.
25874         (getgroups): Likewise.
25875         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
25876         Likewise.
25877         (geteuid): Likewise.
25878         (getgid): Likewise.
25879         (getuid): Likewise.
25880         (getgroups): Likewise.
25882         [BZ #14138]
25883         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
25884         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
25885         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
25886         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25887         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
25888         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
25889         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
25890         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
25891         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
25892         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
25893         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
25894         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
25895         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
25896         __chown.
25897         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
25898         (lchown): Likewise.
25899         (fchown): Likewise.
25900         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
25901         Likewise.
25902         (lchown): Likewise.
25903         (fchown): Likewise.
25904         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
25905         (lchown): Likewise.
25906         (fchown): Likewise.
25907         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
25908         Likewise.
25909         (lchown): Likewise.
25910         (fchown): Likewise.
25912 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25914         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
25915         Simplify logic.
25917 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25919         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25920         Cleanup logic.
25922 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25924         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25925         Remove unused include.
25927 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25929         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
25930         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
25931         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
25932         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
25934 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
25935             Helge Deller <deller@gmx.de>
25937         [BZ #17508]
25938         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
25939         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
25940         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
25942 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
25944         [BZ #14132]
25945         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25946         Remove macro definition.
25947         (__ashrdi3_v_glibc20): Likewise.
25948         (__lshrdi3_v_glibc20): Likewise.
25949         (__cmpdi2_v_glibc20): Likewise.
25950         (__ucmpdi2_v_glibc20): Likewise.
25951         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25952         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25953         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25954         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25955         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25956         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25958 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25960         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25961         old GNU extension [0] syntax.
25962         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25963         alloca rather than an array member with variable length.
25964         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25965         * nscd/nscd.c (invalidate_db): New function, broken out of ...
25966         (parse_opt): ... here.  Likewise use alloca there.
25967         Validate the -i argument before checking for rootness.
25968         (send_shutdown): New function, broken out of ...
25969         (parse_opt): ... here.
25971 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25973         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25974         macro to get at the _rt_local_ro field.
25975         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25976         ([PIC] case) or _dl_hwcap ([!PIC] case).
25977         * sysdeps/arm/setjmp.S: Likewise.
25979         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25980         * sysdeps/arm/configure.ac: New check to define it.
25981         * sysdeps/arm/configure: Regenerated.
25982         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25983         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25984         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25985         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25986         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25987         Use move/movt pair instead of a load.
25988         (LDST_GLOBAL): Macro removed.
25989         (LDR_GLOBAL): New macro replaces it.
25990         (LDR_HIDDEN): New macro.
25991         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25992         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25994         * setjmp/tst-setjmp-static.c: New file.
25995         * setjmp/Makefile (tests): Add it.
25996         (tests-static): New variable.
25998 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26000         [BZ #17485]
26001         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26003 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26005         [BZ #14132]
26006         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26008 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26010         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26012 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26014         * io/fts.c (dirent_not_directory): New function.
26015         (fts_build): Call it.
26017 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26019         * nptl/version.c (__nptl_main): Use normal __write rather than
26020         INTERNAL_SYSCALL.
26021         (banner): Update copyright years.
26023         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26024         gettimeofday.
26025         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26026         * nptl/pthread_cond_timedwait.c: Likewise.
26027         * nptl/pthread_mutex_timedlock.c: Likewise.
26028         * nptl/sem_timedwait.c: Likewise.
26030         * sysdeps/nptl/bits/libc-lock.h
26031         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26032         (__libc_lock_init_recursive): Return void, not 0.
26033         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26034         (__libc_rwlock_init): Likewise.
26035         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26037 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26039         [BZ #15215]
26040         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26041         (__pthread_once_slow): ... here.
26042         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26043         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26045 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26047         [BZ #15215]
26048         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26049         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26050         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26051         * nptl/pthread_once.c (__pthread_once): Likewise.
26052         Update comments.
26054 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26056         [BZ #14138]
26057         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26058         name.
26059         (writev): Use __libc_writev as strong name.
26060         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26061         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26063 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26065         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26067         * sysdeps/i386/nptl/tls.h
26068         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26069         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26070         New macros.
26071         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26072         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26073         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26074         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26075         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26076         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26078         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26079         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26080         on [__NR_futex].
26081         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26082         broken out of ...
26083         (__pthread_mutex_init): ... here.  Call it.
26084         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26085         Conditionalize PI cases on [__NR_futex].
26086         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26087         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26088         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26090         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26091         conditional on [SIGSETXID].
26092         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26093         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26094         is defined.  Likewise for SIGSETXID.
26095         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26096         Conditionalize definitions on [SIGSETXID].
26097         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26098         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26099         unblocking on [SIGCANCEL].
26101         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26102         [__NR_set_robust_list].
26104 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26106         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26107         (do_compare): Likewise.
26109 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26111         [BZ #15884]
26112         * string/strcoll_l.c: Don't include stdio.h.
26113         (coll_seq): Remove members idxarr and rulearr.
26114         (get_next_seq_cached): Remove function.
26115         (get_next_seq): Likewise.
26116         (get_next_seq_nocache): Rename to get_next_seq.
26117         (do_compare): Remove function.
26118         (do_compare_nocache): Rename to do_compare.
26119         (STRCOLL): Remove weight and rules cache.
26121 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26123         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26124         * sysdeps/arm/sfp-machine.h: ... to here.
26125         * sysdeps/arm/Implies: Remove arm/soft-fp.
26127 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26129         * conform/data/sys/utsname.h-data (*_t): Allow.
26130         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26131         [POSIX] (WEXITED): Do not expect constant.
26132         [POSIX] (WSTOPPED): Likewise.
26133         [POSIX] (WNOHANG): Likewise.
26134         [POSIX] (WNOWAIT): Likewise.
26135         [POSIX] (siginfo_t): Do not expect type or elements.
26136         [POSIX] (pid_t): Do not expect type.
26137         [POSIX] (signal.h): Do not allow header.
26138         [POSIX] (sys/resource.h): Likewise.
26139         [POSIX] (si_*): Do not allow pattern.
26140         [POSIX] (W*): Likewise.
26141         [POSIX] (P_*): Likewise.
26142         [POSIX] (BUS_*): Likewise.
26143         [POSIX] (CLD_*): Likewise.
26144         [POSIX] (FPE_*): Likewise.
26145         [POSIX] (ILL_*): Likewise.
26146         [POSIX] (POLL_*): Likewise.
26147         [POSIX] (SEGV_*): Likewise.
26148         [POSIX] (SI_*): Likewise.
26149         [POSIX] (TRAP_*): Likewise.
26150         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26151         variable.
26153 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26155         [BZ #12926]
26156         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26157         infinite loop when __recvmsg returns 0.
26159 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26161         * CANCEL-FCT-WAIVE: Remove file.
26162         * CANCEL-FILE-WAIVE: Likewise.
26164         [BZ #14132]
26165         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26166         instead of INTVARDEF.
26167         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26168         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26169         rtld_hidden_data_def instead of INTVARDEF.
26170         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26171         * elf/dl-deps.c (expand_dst): Likewise.
26172         * elf/dl-load.c (_dl_dst_count): Likewise.
26173         (_dl_dst_substitute): Likewise.
26174         (decompose_rpath): Likewise.
26175         (_dl_init_paths): Likewise.
26176         (open_path): Likewise.
26177         (_dl_map_object): Likewise.
26178         * elf/rtld.c (dl_main): Likewise.
26179         (process_dl_audit): Likewise.
26180         (process_envvars): Likewise.
26181         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26182         Remove declaration.
26183         (__libc_enable_secure): Use rtld_hidden_proto.
26185 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26187         * elf/dl-load.c
26188         (add_path): New function broken out of _dl_rtld_di_serinfo.
26189         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26191 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26193         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26194         parentheses around macro arguments.
26195         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26196         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26197         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26198         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26199         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26200         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26201         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26202         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26203         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26204         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26205         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26206         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26207         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26208         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26209         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26210         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26211         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26212         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26213         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26214         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26215         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26216         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26218         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26219         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26220         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26221         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26222         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26223         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26224         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26225         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26226         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26227         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26228         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26229         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26230         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26231         Likewise.
26232         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26233         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26234         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26235         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26236         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26237         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26238         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26239         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26240         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26241         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26242         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26243         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26244         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26245         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26246         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26247         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26248         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26249         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26250         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26251         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26252         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26253         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26254         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26255         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26256         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26257         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26258         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26259         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26260         (_FP_FRAC_SRS_1): Likewise.
26261         (_FP_FRAC_CLZ_1): Likewise.
26262         (_FP_MUL_MEAT_1_imm): Likewise.
26263         (_FP_MUL_MEAT_1_wide): Likewise.
26264         (_FP_MUL_MEAT_1_hard): Likewise.
26265         (_FP_SQRT_MEAT_1): Likewise.
26266         (_FP_FRAC_ASSEMBLE_1): Likewise.
26267         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26268         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26269         (__FP_CLZ_2): Likewise.
26270         (_FP_MUL_MEAT_2_wide): Likewise.
26271         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26272         (_FP_MUL_MEAT_2_gmp): Likewise.
26273         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26274         (_FP_SQRT_MEAT_2): Likewise.
26275         (_FP_FRAC_ASSEMBLE_2): Likewise.
26276         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26277         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26278         (_FP_FRAC_CLZ_4): Likewise.
26279         (_FP_MUL_MEAT_4_wide): Likewise.
26280         (_FP_MUL_MEAT_4_gmp): Likewise.
26281         (_FP_SQRT_MEAT_4): Likewise.
26282         (_FP_FRAC_ASSEMBLE_4): Likewise.
26283         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26284         * soft-fp/op-common.h (_FP_CMP): Likewise.
26285         (_FP_CMP_EQ): Likewise.
26286         (_FP_CMP_UNORD): Likewise.
26287         (_FP_TO_INT): Likewise.
26288         (_FP_FROM_INT): Likewise.
26289         [!__FP_CLZ] (__FP_CLZ): Likewise.
26290         (_FP_DIV_HELP_imm): Likewise.
26291         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26292         Likewise.
26293         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26294         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26295         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26296         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26297         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26298         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26299         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26300         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26301         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26302         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26303         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26304         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26305         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26306         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26307         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26308         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26309         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26310         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26311         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26312         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26313         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26314         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26315         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26316         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26317         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26318         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26319         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26320         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26321         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26322         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26323         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26324         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26325         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26326         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26327         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26328         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26329         (FP_UNPACK_RAW_SP): Likewise.
26330         (FP_PACK_RAW_S): Likewise.
26331         (FP_PACK_RAW_SP): Likewise.
26332         (FP_UNPACK_S): Likewise.
26333         (FP_UNPACK_SP): Likewise.
26334         (FP_UNPACK_SEMIRAW_S): Likewise.
26335         (FP_UNPACK_SEMIRAW_SP): Likewise.
26336         (FP_PACK_S): Likewise.
26337         (FP_PACK_SP): Likewise.
26338         (FP_PACK_SEMIRAW_S): Likewise.
26339         (FP_PACK_SEMIRAW_SP): Likewise.
26340         (_FP_SQRT_MEAT_S): Likewise.
26341         (FP_CMP_S): Likewise.
26342         (FP_CMP_EQ_S): Likewise.
26343         (FP_CMP_UNORD_S): Likewise.
26344         (FP_TO_INT_S): Likewise.
26345         (FP_FROM_INT_S): Likewise.
26347         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26349         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26350         (FP_EX_INVALID_IMZ): Likewise.
26351         (FP_EX_INVALID_IMZ_FMA): Likewise.
26352         (FP_EX_INVALID_ISI): Likewise.
26353         (FP_EX_INVALID_ZDZ): Likewise.
26354         (FP_EX_INVALID_IDI): Likewise.
26355         (FP_EX_INVALID_SQRT): Likewise.
26356         (FP_EX_INVALID_CVI): Likewise.
26357         (FP_EX_INVALID_VC): Likewise.
26358         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26359         "invalid" exceptions.
26360         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26361         (_FP_ADD_INTERNAL): Likewise.
26362         (_FP_MUL): Likewise.
26363         (_FP_FMA): Likewise.
26364         (_FP_DIV): Likewise.
26365         (_FP_CMP_CHECK_NAN): Likewise.
26366         (_FP_SQRT): Likewise.
26367         (_FP_TO_INT): Likewise.
26368         (FP_EXTEND): Likewise.
26370 2014-10-09  Allan McRae  <allan@archlinux.org>
26372         * po/fr.po: Update French translation from translation project.
26374 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26376         [BZ #14132]
26377         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26378         of INTDEF.
26379         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26380         (__cxa_atexit): Use libc_hidden_proto.
26381         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26383         [BZ #14132]
26384         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26385         declaration.
26386         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26387         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26388         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26389         [!_ISOMAC] (__iswctype_internal): Likewise.
26390         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26391         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26392         alias.
26393         (fcntl): Remove __fcntl_internal alias.
26394         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26395         __connect_internal alias.
26396         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26397         Likewise.
26399         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26400         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26401         FP_DENORM_ZERO.
26402         (_FP_CHECK_FLUSH_ZERO): New macro.
26403         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26404         (_FP_CMP): Likewise.
26405         (_FP_CMP_EQ): Likewise.
26406         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26407         FP_DENORM_ZERO.
26408         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26409         (FP_TRUNC): Likewise.
26411         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26412         treated as invalid conversion, not as normal exponent.
26414         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26415         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26416         (_FP_CMP_EQ): Likewise.
26417         (_FP_CMP_UNORD): Likewise.
26418         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26419         (FP_CMP_EQ_D): Likewise.
26420         (FP_CMP_UNORD_D): Likewise.
26421         * soft-fp/extended.h (FP_CMP_E): Likewise.
26422         (FP_CMP_EQ_E): Likewise.
26423         (FP_CMP_UNORD_E): Likewise.
26424         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26425         (FP_CMP_EQ_Q): Likewise.
26426         (FP_CMP_UNORD_Q): Likewise.
26427         * soft-fp/single.h (FP_CMP_S): Likewise.
26428         (FP_CMP_EQ_S): Likewise.
26429         (FP_CMP_UNORD_S): Likewise.
26430         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26431         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26432         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26433         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26434         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26435         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26436         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26437         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26438         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26439         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26440         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26441         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26442         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26443         to FP_CMP_Q.
26444         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26445         FP_CMP_Q.
26446         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26447         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26448         FP_CMP_EQ_Q.
26449         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26450         FP_CMP_Q.
26451         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26452         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26453         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26454         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26455         FP_CMP_EQ_Q.
26456         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26457         FP_CMP_Q.
26458         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26459         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26460         FP_CMP_EQ_Q.
26461         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26462         FP_CMP_Q.
26463         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26464         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26465         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26466         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26467         FP_CMP_EQ_Q.
26469         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26470         a subnormal result, set the underflow exception if trapping on
26471         underflow is enabled.
26472         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26473         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26474         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26475         redefine to 0.
26476         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26477         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26478         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26479         * soft-fp/extendxftf2.c (__extendxftf2): Use
26480         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26482         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26483         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26484         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26485         FP_HANDLE_EXCEPTIONS.
26486         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26487         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26488         FP_HANDLE_EXCEPTIONS.
26489         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26490         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26491         FP_HANDLE_EXCEPTIONS.
26492         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26493         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26494         FP_HANDLE_EXCEPTIONS.
26496 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
26498         [BZ #14132]
26499         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26500         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26501         use INTUSE.
26502         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26503         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26504         Remove alias.
26505         (__adjtimex): Define using libc_hidden_ver.
26506         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26507         Remove declaration.
26508         (ntp_gettime): Call __adjtimex directly.
26509         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26510         Remove declaration.
26511         (ntp_gettimex): Call __adjtimex directly.
26512         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26513         __adjtimex_internal alias.
26515 2014-10-08  Roland McGrath  <roland@hack.frob.com>
26517         [BZ #17460]
26518         * nscd/nscd.c (more_help): Rewrite list of tables collection
26519         using xstrdup and asprintf.
26521         * nscd/nscd_conf.c: Remove local xstrdup declaration.
26523 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26524             Roland McGrath  <roland@hack.frob.com>
26526         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26527         (do_lookup_unique): ... local function 'enter' here; update callers.
26529 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
26531         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26532         compat_symbol calls on [SHARED].
26533         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26534         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26535         Remove.
26536         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26537         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26538         (oldsetrlimit): Remove.
26539         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26541         (lchown): New syscall entry.
26542         (oldsetrlimit): Remove.
26543         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26544         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26545         (oldsetrlimit): Remove.
26546         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26548         [BZ #14138]
26549         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26550         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26551         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26552         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26553         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26554         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26555         (fchown): Likewise.
26556         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26557         (fchown): Likewise.
26558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26559         Likewise.
26561 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26563         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26564         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26565         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26566         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26567         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26568         Likewise.
26569         (__old_sem_post): Likewise.
26571 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
26573         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26574         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26575         HAVE_CLOCK_GETTIME_VSYSCALL macros.
26576         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26577         Use INLINE_VSYSCALL macro.
26578         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26579         __vdso_clock_gettime.
26580         * sysdeps/unix/sysv/linux/tile/init-first.c
26581         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26582         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26583         __vdso_clock_gettime.
26585         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26586         to set up frame more cleanly.
26588         * sysdeps/tile/memcmp.c: New file.
26590         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26592         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26593         * sysdeps/tile/tilegx/strcasestr.c: New file.
26594         * sysdeps/tile/tilegx/strnlen.c: New file.
26595         * sysdeps/tile/tilegx/strstr.c: New file.
26597         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26599 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
26601         * nptl/tst-setuid3.c: Write errors to stdout.
26603 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26605         * elf/dl-deps.c
26606         (preload): New functions broken out of _dl_map_object_deps.
26607         (_dl_map_object_deps):  Remove a nested function. Update call sites.
26609 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
26611         [BZ #14138]
26612         * sysdeps/unix/sysv/linux/execve.c: Remove file.
26613         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26615 2014-10-01  Steve Ellcey  <sellcey@mips.com>
26617         * sysdeps/mips/strcmp.S: New.
26619 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26621         [BZ #14138]
26622         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26623         (linkat): Likewise.
26624         (mkdirat): Likewise.
26625         (readlinkat): Likewise.
26626         (renameat): Likewise.
26627         (symlinkat): Likewise.
26628         (unlinkat): Likewise.
26629         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26630         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26631         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26632         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26633         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26634         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26635         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26637 2014-09-30  Will Newton  <will.newton@linaro.org>
26639         * math/math.h: Define long double math functions if
26640         _LIBC_TEST is defined.
26641         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26643         * localedata/Makefile: Move assignment to tests-special
26644         into an ifdef testing run-built-tests.
26645         * timezone/Makefile: Likewise.
26647 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26649         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26650         with $(BASH) not $(SHELL).
26652 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26653             Matthew LeGendre  <legendre1@llnl.gov>
26655         [BZ #17411]
26656         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26657         l_reloc_result.
26659 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26661         * stdio-common/printf_fp.c
26662         (hack_digit): New function, broken out of ...
26663         (__printf_fp): ... local function here.  Update call sites.
26664         hack_digit now takes an additional parameter that is a pointer
26665         to a struct of the referenced locals.  Those locals moved inside
26666         the struct and references updated.
26668 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26670         * aclocal.m4: Require autoconf 2.69.
26671         * configure: Regenerated.
26672         * sysdeps/aarch64/configure: Likewise.
26673         * sysdeps/alpha/configure: Likewise.
26674         * sysdeps/arm/armv7/configure: Likewise.
26675         * sysdeps/arm/configure: Likewise.
26676         * sysdeps/ia64/configure: Likewise.
26677         * sysdeps/mach/configure: Likewise.
26678         * sysdeps/mips/configure: Likewise.
26679         * sysdeps/s390/configure: Likewise.
26680         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26683         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26684         file.
26685         * sysdeps/ia64/configure.ac: Likewise.
26687 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
26689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26690         specify symbol version for ld.so.  Do not include entry for
26691         libpthread.
26692         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26693         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26694         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26696         [BZ #14171]
26697         * Makeconfig [$(build-shared) = yes]
26698         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26699         makefiles.
26700         [$(build-shared) = yes && $(soversions.mk-done) = t]
26701         ($(common-objpfx)gnu/lib-names.h): Remove rule.
26702         [$(build-shared) = yes && $(soversions.mk-done) = t]
26703         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
26704         to Makerules.
26705         [$(build-shared) = yes && $(soversions.mk-done) = t]
26706         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26707         here.
26708         [$(build-shared) = yes && $(soversions.mk-done) = t]
26709         (common-generated): Don't append gnu/lib-names.h and
26710         gnu/lib-names.stmp here.
26711         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26712         (lib-names-h-abi): New variable.
26713         [$(build-shared) = yes && $(soversions.mk-done) = t]
26714         (lib-names-stmp-abi): Likewise.
26715         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26716         abi-variants] (before-compile): Append
26717         $(common-objpfx)$(lib-names-h-abi).
26718         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26719         abi-variants] (common-generated): Append gnu/lib-names.h.
26720         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26721         abi-variants] (install-others-nosubdir): Depend on
26722         $(inst_includedir)/$(lib-names-h-abi).
26723         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26724         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26725         [$(build-shared) = yes && $(soversions.mk-done) = t]
26726         ($(common-objpfx)$(lib-names-h-abi)): New rule.
26727         [$(build-shared) = yes && $(soversions.mk-done) = t]
26728         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26729         [$(build-shared) = yes && $(soversions.mk-done) = t]
26730         (common-generated): Append $(lib-names-h-abi) and
26731         $(lib-names-stmp-abi).
26732         * scripts/lib-names.awk: Do not handle multi being set.
26733         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26734         Remove variable.
26735         (abi-lp64_be-ld-soname): Likewise.
26736         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
26737         Likewise.
26738         (abi-hard-ld-soname): Likewise.
26739         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
26740         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
26741         Remove variable.
26742         (abi-o32_hard-ld-soname): Likewise.
26743         (abi-o32_soft_2008-ld-soname): Likewise.
26744         (abi-o32_hard_2008-ld-soname): Likewise.
26745         (abi-n32_soft-ld-soname): Likewise.
26746         (abi-n32_hard-ld-soname): Likewise.
26747         (abi-n32_soft_2008-ld-soname): Likewise.
26748         (abi-n32_hard_2008-ld-soname): Likewise.
26749         (abi-n64_soft-ld-soname): Likewise.
26750         (abi-n64_hard-ld-soname): Likewise.
26751         (abi-n64_soft_2008-ld-soname): Likewise.
26752         (abi-n64_hard_2008-ld-soname): Likewise.
26753         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
26754         Likewise.
26755         (abi-64-v2-ld-soname): Likewise.
26756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
26757         ld.so entries.
26758         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
26759         variable.
26760         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
26761         entry.
26762         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
26763         variable.
26764         (abi-64-ld-soname): Likewise.
26765         (abi-x32-ld-soname): Likewise.
26766         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
26767         entry.
26768         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26770 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
26772         [BZ #14138]
26773         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
26774         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
26775         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
26776         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
26777         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
26778         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
26779         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
26780         syscall entry for GLIBC_2.2 symbol version.
26781         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
26782         Likewise.
26783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26784         (setrlimit): Likewise.
26785         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
26786         Likewise.
26788 2014-09-23  Will Newton  <will.newton@linaro.org>
26790         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
26791         _LINUX_ARM_SYSDEP_H include guard too.
26792         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
26793         define.
26795 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26797         * sysdeps/unix/sysv/linux/eventfd.c:
26798         Make first argument unsigned.
26799         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
26800         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
26802 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
26804         [BZ #16852]
26805         * socket/recvmmsg.c (recvmmsg): Drop const argument.
26806         * socket/sys/socket.h: Likewise.
26807         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
26809 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26811         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
26813 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
26815         * time/tst-ftime.c: New test.
26816         * time/Makefile (tests): Add tst-ftime.
26818 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
26820         * soft-fp/extended.h: Fix comment formatting.
26821         * soft-fp/op-1.h: Likewise.
26822         * soft-fp/op-2.h: Likewise.
26823         * soft-fp/op-4.h: Likewise.
26824         * soft-fp/op-8.h: Likewise.
26825         * soft-fp/op-common.h: Likewise.
26826         * soft-fp/soft-fp.h: Likewise.
26828         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
26830 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
26832         [BZ #6652]
26833         * Makeconfig (soversions-default-setname): Remove variable.
26834         ($(common-objpfx)soversions.i): Don't pass default_setname to
26835         soversions.awk.
26836         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
26837         oldest_abi to abi-versions.awk.
26838         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
26839         * config.make.in (oldest-abi): Remove variable.
26840         * configure.ac (--enable-oldest-abi): Remove configure option.
26841         * configure: Regenerated.
26842         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
26843         text.
26844         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
26845         * scripts/soversions.awk: Do not handle default_setname variable.
26846         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
26847         variable.
26848         * sysdeps/mach/hurd/configure: Regenerated.
26849         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
26850         variable.
26851         * sysdeps/unix/sysv/linux/configure: Regenerated.
26853 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26855         * elf/Makefile (CFLAGS-interp.c): Remove.
26856         ($(elf-objpfx)runtime-linker.h): Generate header with linker
26857         path string.
26858         * elf/interp.c: Include generated runtime-linker.h
26860         * Makerules (lib%.so): Don't include $(+interp) in
26861         prerequisites.
26862         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
26863         * dlfcn/eval.c: Remove file.
26865         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
26866         macros.
26868         [BZ #17266]
26869         * misc/sys/cdefs.h: Define __extern_always_inline for clang
26870         4.2 and newer.
26872         [BZ #17370]
26873         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
26875 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26876             Jakub Jelinek  <jakub@redhat.com>
26878         [BZ #17266]
26879         * libio/stdio.h: Check definition of __fortify_function
26880         instead of __extern_always_inline to include bits/stdio2.h.
26881         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
26882         check if __extern_always_inline is defined.
26883         [__USE_MISC || __USE_XOPEN]: Likewise.
26884         [__USE_ISOC99] Likewise.
26885         * misc/sys/cdefs.h (__fortify_function): Define only if
26886         __extern_always_inline is defined.
26887         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26888         __extern_always_inline and __extern_inline only for g++-4.3
26889         and newer or a compatible gcc.
26891 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
26893         [BZ #17371]
26894         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26895         last change to handle zero prefix length.
26897 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26899         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
26900         _SC_REGEX_VERSION.
26902         * posix/getconf.c (vars): Add _POSIX_IPV6 and
26903         _POSIX_RAW_SOCKETS.
26905 2014-09-13  Allan McRae  <allan@archlinux.org>
26907         * po/ru.po: Update Russian translation from translation project.
26909 2014-09-12  Roland McGrath  <roland@hack.frob.com>
26911         * locale/programs/locale.c (show_locale_vars): Inline local function
26912         into its sole call site.  Clean up some style nits.
26913         (print_item): New function, broken out of ...
26914         (show_info): ... local function here.  Clean up style nits.
26916         * locale/programs/ld-ctype.c (set_one_default): New function, broken
26917         out of ...
26918         (set_class_defaults): ... local function set_default here.
26919         Define set_default as a macro locally to pass constant parameters.
26920         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
26921         rather than a shared local.
26923         * stdlib/rpmatch.c (try): New function, broken out of ...
26924         (rpmatch): ... local function here.  Also, prototypify definition.
26926 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
26928         * scripts/soversions.awk: Do not handle configuration names.
26929         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
26930         vendor and os variables to soversions.awk.
26931         * configure.ac: Do not modify gnu-* host_os.
26932         * configure: Regenerated
26933         * shlib-versions: Remove first column with configuration names.
26934         * nptl/shlib-versions: Likewise.
26935         * nptl_db/shlib-versions: Likewise.
26936         * sysdeps/hppa/shlib-versions: Likewise.
26937         * sysdeps/m68k/shlib-versions: Likewise.
26938         * sysdeps/mach/hurd/shlib-versions: Likewise.
26939         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
26940         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
26941         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
26942         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26943         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26944         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26945         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26946         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26948         Likewise.
26949         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26950         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26951         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26952         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26953         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26954         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26955         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26956         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26959         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26961         Regenerated.
26962         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26964         Condition symbol version definitions on [HAVE_ELFV2_ABI].
26966         * shlib-versions: Remove OS-specific entries.  Moved to files in
26967         sysdeps.
26968         * sysdeps/mach/hurd/shlib-versions: New file.
26969         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26971         * nptl/shlib-versions: Remove architecture-specific entries.
26972         Moved to files in sysdeps.
26973         * shlib-versions: Likewise.
26974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26975         file.
26976         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26977         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26978         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26979         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26981         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26982         (UDP_NO_CHECK6_RX): Likewise.
26984 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26986         * sysdeps/posix/sysconf.c (__sysconf): Spell
26987         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26989 2014-08-12  Florian Weimer  <fweimer@redhat.com>
26991         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26992         loading.
26993         * iconv/Versions (__gconv_transliterate): Export for use from
26994         gconv modules.
26995         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26996         (struct __gconv_trans_data, __gconv_trans_fct,
26997         __gconv_trans_context_fct, __gconv_trans_query_fct,
26998         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26999         definitions.
27000         (struct __gconv_step_data): Remove __trans member.
27001         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27002         longer hidden.  Remove unused trans_data argument.
27003         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27004         (__gconv_translit_find): Remove declaration.
27005         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27006         prototype.
27007         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27008         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27009         trans_data argument.  Add hidden definition.
27010         (__gconv_translit_find): Remove.
27011         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27012         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27013         * iconv/skeleton.c: Remove transliteration initialization.
27014         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27015         __gconv_step_data initialization.
27016         * libio/iofwide.c (__libio_translit_): Remove.
27017         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27018         * wcsmbs/btowc.c (__btowc): Likewise.
27019         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27020         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27021         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27022         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27023         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27024         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27025         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27026         * wcsmbs/wctob.c (wctob): Likewise.
27028 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27030         [BZ #16194]
27031         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27032         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27033         register usage.
27034         * sysdeps/x86/Makefile: Adjust.
27036 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27037             Roland McGrath  <roland@hack.frob.com>
27039         * locale/weight.h: Add include guard.
27040         (findidx): Make static rather than auto; take new parameters
27041         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27042         * locale/weightwc.h: Likewise.
27043         * posix/fnmatch_loop.c
27044         (FCT): Change type of EXTRA from int32_t to wint_t.
27045         Don't include either header inside the function.
27046         Call FINDIDX rather than findidx, and pass new arguments.
27047         #undef FINDIDX at the end of the file.
27048         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27049         FINDIDX before including fnmatch_loop.c for the non-wide version.
27050         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27051         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27052         for the wide version.
27053         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27054         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27055         Pass new arguments to findidx.
27056         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27057         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27058         Don't #include it inside the function.  Pass new arguments to findidx.
27059         * posix/regex_internal.h
27060         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27061         (re_string_elem_size_at): Don't #include it inside the function.
27062         Pass new arguments to findidx.
27063         * string/strcoll_l.c: #include WEIGHT_H at top level.
27064         (get_next_seq): Don't #include it inside the function.
27065         Pass new arguments to findidx.
27066         (get_next_seq_nocache): Likewise.
27067         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27068         (STRXFRM): Don't #include it inside the function.
27069         Pass new arguments to findidx.
27071 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27073         [BZ #17344]
27074         * malloc/malloc.c (unlink): Turn asserts into a call to
27075         malloc_printerr.
27077 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27079         [BZ #17370]
27080         * libio/wfileops (do_ftell_wide): Free OUT.
27082 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27084         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27086 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27088         [BZ #17363]
27089         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27090         group if the current group is empty.
27092 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27094         * benchtests/bench-memset.c (test_main): Add more test from size
27095         from 32 to 512 bytes.
27096         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27097         Add POWER8 memset object.
27098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27099         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27100         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27101         implementation.
27102         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27103         Likewise.
27104         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27105         multiarch POWER8 memset optimization.
27106         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27107         POWER8 memset optimization.
27109         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27110         Remove bzero multiarch objects.
27111         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27112         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27113         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27114         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27115         Remove define.
27116         [__bzero]: Redefine to specific name.
27117         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27118         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27119         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27120         define.
27121         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27122         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27124 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27126         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27127         warnings into errors.
27129         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27130         __cxa_thread_atexit_impl prototype.
27132 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27134         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27135         Fix capitalization of error message.
27137 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27139         * sysdeps/mips/preconfigure: Modify ABI tests.
27141 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27143         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27145 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27146             Carlos O'Donell  <carlos@systemhalted.org>
27148         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27149         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27150         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27151         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27152         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27153         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27154         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27155         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27156         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27157         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27158         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27159         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27160         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27161         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27162         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27163         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27164         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27165         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27166         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27167         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27168         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27169         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27170         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27171         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27172         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27173         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27174         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27175         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27176         Deconditionalize the code that was previously under [RESET_PID].
27177         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27178         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27179         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27180         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27181         include sysdep.h.
27183 2014-09-08  Allan McRae  <allan@archlinux.org>
27185         * version.h (RELEASE): Set to "development".
27186         (VERSION): Set to "2.20.90"
27188 2014-09-07  Allan McRae  <allan@archlinux.org
27190         * version.h (RELEASE): Set to "stable".
27191         (VERSION): Set to "2.20"
27192         * include/features.h (__GLIBC_MINOR__): Set to 20.
27194         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27195         Liebler.
27197         * po/ko.po: Update Korean translation from translation project.
27199 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27201         [BZ #17354]
27202         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27203         macro for handling signed relocations.
27205 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27207         [BZ #17325]
27208         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27209         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27210         assert.
27211         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27212         * iconvdata/ibm935.c (BODY): Likewise.
27213         * iconvdata/ibm937.c (BODY): Likewise.
27214         * iconvdata/ibm939.c (BODY): Likewise.
27215         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27216         assert.
27217         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27218         script.
27219         * iconvdata/run-iconv-test.sh: New test loop for checking for
27220         decoder crashers.
27222 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27224         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27225         libm_hidden_ver.
27227 2014-09-01  Allan McRae  <allan@archlinux.org>
27229         * po/eo.po: Update Esperanto translation from translation project.
27231         * po/ca.po: Update Catalan translation from translation project.
27233 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27235         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27236         __proc_dostop call.
27238 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27240         [BZ #17319]
27241         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27242         to call set_thread_area instead of hand written asm.
27243         (__NR_set_thread_area): Removed define.
27244         (TLS_FLAG_WRITABLE): Likewise.
27245         (__ASSUME_SET_THREAD_AREA): Remove check.
27246         (TLS_EBX_ARG): Remove define.
27247         (TLS_LOAD_EBX): Likewise.
27249 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27251         Simplify atomicity of socket creation in bind.
27253         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27254         looking up the name after linking the file.
27256 2014-08-27  Allan McRae  <allan@archlinux.org>
27258         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27260 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27262         [BZ #17187]
27263         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27264         trans_compare, open_translit, __gconv_translit_find):
27265         Remove module loading code.
27267 2014-08-26  Allan McRae  <allan@archlinux.org>
27269         * po/vi.po: Update Vietnamese translation from translation project.
27271         * po/uk.po: Update Ukrainian translation from translation project.
27273         * po/fr.po: Update French translation from translation project.
27275         * po/ru.po: Update Russian translation from translation project.
27277         * po/pl.po: Update Polish translation from translation project.
27279         * po/cs.po: Update Czech translation from translation project.
27281         * po/de.po: Update German translation from translation project.
27283         * po/bg.po: Update Bulgarian translation from translation project.
27285         * po/sv.po: Update Sweedish translation from translation project.
27287         * po/nl.po: Update Dutch translation from translation project.
27289         * po/es.po: Update Spanish translation from translation project.
27291 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27293         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27295         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27296         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27297         (CPPFLAGS-iconvconfig): Likewise.
27298         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27300         * include/libc-symbols.h: Remove unnecessary check for
27301         NOT_IN_libc.
27302         * nptl/pthreadP.h: Likewise.
27303         * sysdeps/aarch64/setjmp.S: Likewise.
27304         * sysdeps/alpha/setjmp.S: Likewise.
27305         * sysdeps/arm/sysdep.h: Likewise.
27306         * sysdeps/i386/setjmp.S: Likewise.
27307         * sysdeps/m68k/setjmp.c: Likewise.
27308         * sysdeps/posix/getcwd.c: Likewise.
27309         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27310         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27311         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27312         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27313         * sysdeps/sh/sh3/setjmp.S: Likewise.
27314         * sysdeps/sh/sh4/setjmp.S: Likewise.
27315         * sysdeps/unix/alpha/sysdep.h: Likewise.
27316         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27317         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27318         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27319         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27322         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27323         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27324         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27325         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27326         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27327         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27328         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27329         * sysdeps/x86_64/setjmp.S: Likewise.
27331 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
27333         [BZ #17263]
27334         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27335         <stdint.h>.
27336         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27337         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27339 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27341         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27343         [BZ #17262]
27344         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27345         and __x86_64__ when disabling x87 inline functions.
27347 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27349         [BZ #17259]
27350         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27351         asm statement with __cpuid_count.
27353 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
27355         * configure.ac: Change __ehdr_start code to dereference the struct.
27356         Run readelf on the output to look for relocations.
27357         * configure: Regenerated.
27359 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
27361         [BZ #17261]
27362         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27363         value to 0.
27364         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27366 2014-08-12  Roland McGrath  <roland@hack.frob.com>
27368         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27370 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
27372         [BZ #16892]
27373         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27374         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27376 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27378         * malloc/malloc.c: Fix typo in comment.
27380 2014-08-09  Allan McRae  <allan@archlinux.org>
27382         * Regenerate libc.po.
27384 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27386         * intl/tst-gettext2.sh: Check every lang file for creation.
27388 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27390         * sysdeps/aarch64/fpu/math_private.h
27391         (libc_feholdsetround_noex_aarch64_ctx): New function.
27393 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27395         * sysdeps/arm/armv6/strcpy.S (strcpy):
27396         Fix performance issue in misaligned cases.
27398 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27400         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27401         Move definition from termios.h.
27402         (struct termio): Likewise.
27403         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27404         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27405         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27406         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27407         Likewise.
27408         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27409         Move definition to ioctl-types.h
27410         (struct termio): Likewise.
27411         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27412         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27413         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27414         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27415         Likewise.
27417 2014-08-05  Richard Henderson  <rth@redhat.com>
27419         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27420         exceptions.
27421         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27422         Add fraiseexcpt.
27423         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27424         Use __feraiseexcept.
27425         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27426         Protect libm symbols with IS_IN_libm.
27428         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27430 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27432         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27434 2014-08-04  Will Newton  <will.newton@linaro.org>
27436         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27437         file.
27439 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27441         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27442         variants for each function.
27444 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27446         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27447         appended ...
27448         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27449         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27450         appended ...
27451         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27452         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27453         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27454         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27455         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27456         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27457         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27458         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27459         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27460         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27461         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27462         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27463         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27464         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27465         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27466         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27467         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27468         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27469         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27470         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27471         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27472         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27473         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27474         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27475         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27476         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27477         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27478         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27479         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27480         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27481         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27482         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27483         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27484         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27485         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27486         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27487         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27488         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27489         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27490         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27491         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27492         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27493         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27494         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27495         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27496         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27497         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27498         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27499         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27500         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27501         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27502         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27503         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27504         Update #include.
27505         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27506         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27508 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27510         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27511         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27512         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27513         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27514         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27515         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27517 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27519         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27520         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27521         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27522         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27524 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27526         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27527         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27528         (__libc_vfork): Define function under this name.
27529         (__vfork): Define as an alias.
27530         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27531         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27533 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27535         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27536         that was previously under [RESET_PID].
27537         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27539 2014-08-04  Andreas Schwab  <schwab@suse.de>
27541         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27543 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
27545         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27546         (main): Likewise.
27548 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27550         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27552 2014-08-01  Richard Henderon  <rth@redhat.com>
27554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27555         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27556         typo in exact zero test.
27557         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27558         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27559         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27561 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27563         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27564         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27565         * sysdeps/arm/sysdep.h: ... here.
27566         [!__ASSEMBLER__]: Include <stdint.h>.
27568 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27570         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27571         (HAVE_WCTYPE_H): Likewise.
27572         (HAVE_ISWCTYPE): Likewise.
27573         (ENABLE_NLS): Likewise.
27574         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27575         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27577         * posix/regex_internal.c: Check if DEBUG is defined and is
27578         set.
27580         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27581         (HAVE_MBSRTOWCS): Likewise.
27582         * posix/fnmatch.c: Include string.h unconditionally.
27584 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27586         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27587         reversal.
27589 2014-07-31  Roland McGrath  <roland@hack.frob.com>
27591         * sysdeps/generic/safe-fatal.h: New file.
27592         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27593         * nptl/forward.c: Include it.
27594         (__pthread_unwind): Use __safe_fatal as default action, rather
27595         than a bogus use of INTERNAL_SYSCALL that could never work.
27597         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27598         * configure.ac (libc_cv_builtin_trap): New test.
27599         * configure: Regenerated.
27600         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27601         (ABORT_INSTRUCTION): Define using __builtin_trap.
27603         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27604         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27605         * sysdeps/nptl/nptl-signals.h: New file.
27606         * nptl/pthreadP.h: Include <nptl-signals.h>.
27608 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27610         * sysdeps/s390/s390-64/utf16-utf32-z9.c
27611         (ONE_DIRECTION): Define.
27612         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27613         (ONE_DIRECTION): Define.
27614         * sysdeps/s390/s390-64/utf8-utf32-z9.c
27615         (ONE_DIRECTION): Define.
27617 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27619         * sysdeps/s390/Makefile: Delete file.
27620         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27621         * sysdeps/s390/__longjmp.c: Delete file.
27622         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27623         Remove fields __flags and __reserved.
27624         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27625         and add versioning.
27626         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27627         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27628         * sysdeps/s390/rtld-setjmp.S: Likewise.
27629         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27630         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27631         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27632         * sysdeps/s390/s390-32/setjmp.S: ... here.
27633         Add versioning.
27634         (__sigsetjmp): Remove setting __flags field.
27635         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27636         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27637         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27638         * sysdeps/s390/s390-64/setjmp.S: ... here.
27639         Add versioning.
27640         (__sigsetjmp): Remove setting __flags field.
27641         * sysdeps/s390/setjmp.S: Delete file.
27642         * sysdeps/s390/sigjmp.c: Likewise.
27643         * sysdeps/s390/v1-longjmp.c: Likewise.
27644         * sysdeps/s390/v1-setjmp.h: Likewise.
27645         * sysdeps/s390/v1-sigjmp.c: Likewise.
27646         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27647         Remove v1-longjmp_chk.
27648         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27649         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27650         Include debug/longjmp_chk.c and add versioning.
27651         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27652         Include nptl/pt-longjmp.c and add versioning.
27653         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27654         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27655         Include __longjmp.c.
27656         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27657         Move to ...
27658         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27659         (__getcontext): Remove setting __flags field.
27660         Add versioning.
27661         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27662         Don't restore upper high grps.
27663         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27664         Likewise.
27665         (__swapcontext): Remove setting uc_flags field.
27666         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27667         Delete file.
27668         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27669         Include __longjmp.c.
27670         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27671         Move to ...
27672         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27673         (__getcontext): Remove setting __flags field.
27674         Add versioning.
27675         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27676         (__swapcontext): Remove setting uc_flags field.
27677         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27678         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27679         Remove fields uc_high_gprs and __reserved.
27680         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27681         New file with reverted content.
27682         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27683         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27684         Regenerated.
27685         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27686         Regenerated.
27688 2014-07-31  Andreas Schwab  <schwab@suse.de>
27690         * config.h.in (HAVE_IFUNC): Define to 0.
27691         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27692         definedness.
27694 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
27696         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27697         memmove-avx-unaligned, memcpy-avx-unaligned and
27698         mempcpy-avx-unaligned.
27699         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27700         Add tests for AVX memcpy functions.
27701         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27702         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27703         memcpy_chk.
27704         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27705         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27706         memmove_chk.
27707         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27708         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27709         mempcpy_chk.
27710         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27711         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27712         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27714 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27716         [BZ #17213]
27717         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27718         powerpc64le.
27720 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
27722         [BZ #16839]
27723         * manual/llio.texi: Add section about open file description locks.
27724         * manual/examples/ofdlocks.c: Example of open file description
27725         lock usage.
27726         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27727         F_OFD_SETLK, and F_OFD_SETLKW.
27729 2014-07-23  Allan McRae  <allan@archlinux.org>
27731         * po/es.po: Update Spanish translation from translation project.
27733 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
27735         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27737 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
27739         [BZ #17078]
27740         * sysdeps/arm/dl-machine.h (elf_machine_rela)
27741         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
27742         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
27744 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
27746         [BZ #17088]
27747         * math/fesetenv.c (__fesetenv)
27748         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
27749         * math/feupdateenv.c (__feupdateenv)
27750         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
27752         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
27753         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27754         (__ASSUME_SOCKETCALL): Do not define.
27756         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
27757         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
27758         (__ASSUME_SOCKETCALL): Do not define.
27759         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
27760         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27761         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27762         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27763         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27764         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
27765         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27766         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27768         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
27769         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
27770         (__ASSUME_SOCKETCALL): Do not define.
27771         (__ASSUME_IPC64): Define unconditionally.
27772         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27773         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27774         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27775         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27776         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
27777         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27778         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
27779         Likewise.
27781         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
27782         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
27783         (__ASSUME_SOCKETCALL): Do not define.
27784         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
27785         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27786         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27787         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27788         (__ASSUME_REQUEUE_PI): Define unconditionally.
27789         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
27790         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
27791         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27792         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
27793         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27794         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27796         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
27797         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
27798         (__ASSUME_SOCKETCALL): Do not define.
27799         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
27800         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27801         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27802         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
27803         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27804         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27806         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
27807         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
27808         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27809         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
27810         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27811         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
27812         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27813         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
27814         (__ASSUME_GETCPU_SYSCALL): Likewise.
27816         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
27817         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
27818         cases for individual architectures.
27819         * sysdeps/gnu/configure: Regenerated.
27820         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
27821         LIBC_SLIBDIR_RTLDDIR.
27822         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
27823         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
27824         LIBC_SLIBDIR_RTLDDIR.
27825         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
27826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
27827         LIBC_SLIBDIR_RTLDDIR.
27828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27829         Regenerated.
27830         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
27831         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
27832         file.
27833         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
27834         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
27835         file.
27836         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
27837         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
27838         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
27839         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
27841         * sysdeps/aarch64/shlib-versions: Move to ...
27842         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
27843         * sysdeps/alpha/shlib-versions: Move to ...
27844         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
27845         * sysdeps/arm/shlib-versions: Move to ...
27846         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
27847         * sysdeps/hppa/shlib-versions: Move all contents except for
27848         libgcc_s entry to ...
27849         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
27850         entry from ...
27851         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
27852         * sysdeps/ia64/shlib-versions: Move to ...
27853         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
27854         entry from ...
27855         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
27856         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
27857         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
27858         * sysdeps/microblaze/shlib-versions: Move to ...
27859         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
27860         * sysdeps/mips/shlib-versions: Move to ...
27861         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
27862         entry from ...
27863         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
27864         * sysdeps/tile/shlib-versions: Move to ...
27865         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
27866         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
27867         from ...
27868         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
27869         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
27870         entry from ...
27871         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
27873 2014-07-17  Will Newton  <will.newton@linaro.org>
27875         * sysdeps/arm/bits/atomic.h
27876         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
27877         (__arch_compare_and_exchange_bool_16_int): Likewise.
27878         (__arch_compare_and_exchange_bool_64_int): Likewise.
27880         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
27881         into an #else block.
27883 2014-07-16  Roland McGrath  <roland@hack.frob.com>
27885         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
27886         just Linux configurations.  Test empirically that the compiler sets
27887         __ARM_EABI__, rather than using the tuple to decide.
27888         * sysdeps/arm/preconfigure: Regenerated.
27889         * sysdeps/unix/sysv/linux/arm/configure: File removed.
27890         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
27891         contents appended ...
27892         * sysdeps/arm/configure.ac: ... here.
27893         * sysdeps/arm/configure: Regenerated.
27895 2014-07-15  Roland McGrath  <roland@hack.frob.com>
27897         * nptl/pthread_kill.c: New file.
27898         * nptl/pthread_sigmask.c: New file.
27899         * nptl/pthread_sigqueue.c: New file.
27901         * sysdeps/nptl/lowlevellock.h: New file.
27902         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
27903         * sysdeps/nptl/lowlevellock-futex.h: New file.
27905         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
27906         Remove dead declarations.
27908 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
27910         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
27911         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
27912         config-cflags-avx2.
27913         * sysdeps/x86_64/configure.ac: Likewise.
27914         * sysdeps/i386/configure: Regenerated.
27915         * sysdeps/x86_64/configure: Likewise.
27916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27917         memset-avx2 only if config-cflags-avx2 is yes.
27918         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27919         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
27920         defined.
27921         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
27922         only if HAVE_AVX2_SUPPORT is defined.
27923         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27925 2014-07-14  Alan Modra  <amodra@gmail.com>
27927         [BZ #17153]
27928         * elf/elf.h (DT_PPC64_NUM): Correct value.
27929         * NEWS: Add to fixed bug list.
27931 2014-07-13  Jim Meyering  <meyering@fb.com>
27933         [BZ 17150]
27934         regex: don't deref NULL upon heap allocation failure
27935         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
27936         failure in one more place.
27937         To trigger the segfault, configure grep -with-included-regex,
27938         build it, and run these commands:
27939         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
27941 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
27943         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27945 2014-07-11  Richard Henderson  <rth@redhat.com>
27947         * sysdeps/aarch64/libm-test-ulps: Update.
27949 2014-07-10  Florian Weimer  <fweimer@redhat.com>
27951         [BZ #17135]
27952         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27953         * nptl/allocatestack.c (__nptl_setxid_error): New function.
27954         (__nptl_setxid): Initialize error member.  Call
27955         __nptl_setxid_error.
27956         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27957         * nptl/descr.h (struct xid_command): Add error member.
27958         * nptl/tst-setuid3.c: New file.
27959         * nptl/Makefile (tests): Add it.
27961 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27963         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27964         New define.
27965         (__lll_trylock): Use __lll_base_trylock.
27966         (__lll_cond_trylock): Likewise.
27968 2014-07-10  Roland McGrath  <roland@hack.frob.com>
27970         * nptl/pthread_create.c (start_thread): Use atomic_or and
27971         lll_futex_wake directly rather than lll_robust_dead.
27972         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27973         (lll_robust_dead): Macro removed.
27974         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27975         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27976         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27977         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27978         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27979         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27980         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27981         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27982         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27983         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27984         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27985         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27986         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27987         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27988         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27990         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27991         Use atomic_compare_and_exchange_val_acq directly rather than
27992         lll_robust_trylock.
27993         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27994         (__lll_robust_trylock, lll_robust_trylock): Removed.
27995         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27996         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27997         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27998         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27999         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28000         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28001         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28002         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28003         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28004         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28005         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28006         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28007         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28008         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28010 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28012         * manual/locale.texi (Locale Names): New section documenting
28013         locale name syntax.  Adjust menu and node chaining accordingly.
28014         (Choosing Locale): Reference Locale Names, Locale Categories.
28015         Mention setting LC_ALL=C.  Reflect that name syntax is now
28016         documented.
28017         (Locale Categories): New section title.  Reference Locale Names.
28018         LC_ALL is an environment variable, but not a category.
28019         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28020         description, now in Locale Name.  Reference that section.  Locale
28021         name syntax is now documented.
28023 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28025         [BZ #17137]
28026         * locale/findlocale.c (name_present, valid_locale_name): New
28027         functions.
28028         (_nl_find_locale): Use the loc_name variable to store name
28029         candidates.  Call name_present and valid_locale_name to check and
28030         validate locale names.  Return an error if the locale is invalid.
28032 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28034         * locale/setlocale.c (setlocale): Use strdup for allocating
28035         composite name copy.
28037 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28039         Sync up with gnulib.
28040         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28041         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28042         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28043         and _GL_ARG_NONNULL.
28044         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28045         [!_LIBC]: Include code for Windows and Cygwin.
28046         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28047         Include prototype for int strerror_r.
28048         [!_LIBC] (is_open): New function.
28049         (flush_stdout): New function.
28050         (print_errno_message): Use it.
28051         (error): Likewise.
28052         (error_at_line): Likewise.
28053         (error_tail) Add function attribute macros.  Use
28054         __builtin_expect.
28056         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28058         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28060         * io/ftw.c: Include sys/param.h unconditionally.
28062         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28064         [BZ #17125]
28065         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28066         libc_freeres_ptr.
28067         (freecache): New function to free CACHE on exit.
28069         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28070         initialization.
28072 2014-07-09  David S. Miller  <davem@davemloft.net>
28074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28076         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28077         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28078         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28079         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28080         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28081         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28082         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28083         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28084         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28085         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28086         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28087         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28088         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28090 2014-07-09  Andreas Schwab  <schwab@suse.de>
28092         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28093         output.
28094         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28095         (do_test): Likewise.
28097         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28099 2014-07-09  Will Newton  <will.newton@linaro.org>
28101         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28102         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28103         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28104         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28105         * sysdeps/hppa/start.S (_start): Likewise.
28107 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28109         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28111         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28112         defined.
28114 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28116         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28117         after checking that it is non-NULL.
28119         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28121 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28123         * sysdeps/powerpc/memmove.c: Remove file.
28124         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28125         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28126         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28127         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28128         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28129         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28130         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28131         string memmove instead of removed powerpc one.
28133         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28134         [weak_alias]: Fix compiler warning due trailing data.
28135         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28136         [weak_alias]: Likewise.
28137         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28138         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28141         (__libc_ifunc_impl_list): Add memmove functions.
28143 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28145         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28146         Remove code.
28147         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28148         Likewise.
28149         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28150         Likewise.
28151         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28152         Likewise.
28153         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28154         Likewise.
28155         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28156         Likewise.
28157         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28158         Likewise.
28159         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28160         Likewise.
28161         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28162         Likewise.
28163         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28164         Likewise.
28165         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28166         Likewise.
28167         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28168         Likewise.
28169         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28170         Likewise.
28171         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28172         Likewise.
28173         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28174         Likewise.
28175         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28176         Likewise.
28177         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28178         Likewise.
28180 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28182         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28183         to avoid alignment traps in non-cacheable memory.
28184         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28187         multiarch objects.
28188         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28189         file: multiarch power7 memmove.
28190         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28191         multiarch default memmove.
28192         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28193         multiarch memove for powerpc32/power4.
28195         * string/bcopy.c: Use full path to include memmove.c.
28196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28197         multiarch objects.
28198         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28199         bcopy for powerpc64.
28200         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28201         bcopy for powerpc64.
28202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28203         and memmove implementations.
28204         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28205         optimized multiarch memmove for POWER7/powerpc64.
28206         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28207         default multiarch memmove for powerpc64.
28208         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28209         multiarch for powerpc64.
28210         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28211         for POWER7/powerpc64.
28212         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28213         memmove for POWER7/powerpc64.
28215         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28216         glibc default one.
28218         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28219         __ELF_NATIVE_CLASS equal to 64.
28221 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28223         * sysdeps/nptl/lowlevellock.h: File removed.
28225         * NEWS: NPTL is no longer an add-on!
28226         * nptl/internaltypes.h: Moved ...
28227         * sysdeps/nptl/internaltypes.h: ... here.
28228         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28229         * sysdeps/nptl/fork.c: Likewise.
28230         * sysdeps/nptl/gai_misc.h: Likewise.
28231         * sysdeps/nptl/librt-cancellation.c: Likewise.
28232         * sysdeps/nptl/jmp-unwind.c: Likewise.
28233         * sysdeps/nptl/setxid.h: Likewise.
28234         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28235         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28236         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28237         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28238         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28239         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28240         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28241         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28242         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28243         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28244         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28245         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28246         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28247         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28248         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28249         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28250         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28251         * nptl/Makeconfig: Moved ...
28252         * sysdeps/nptl/Makeconfig: ... here.
28253         * nptl/configure: File removed.
28254         * nptl/ANNOUNCE: File removed.
28255         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28256         * sysdeps/unix/sysv/linux/configure: Regenerated.
28258         * nptl/Makefile (routines): Add libc_pthread_init,
28259         libc_multiple_threads, register-atfork and unregister-atfork.
28260         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28261         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28262         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28263         pthread-pi-defines.sym, structsem.sym.
28264         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28265         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28266         [$(subdir) = nptl] (tests): Add tst-setgetname.
28267         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28268         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28269         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28270         [!LIBC_SIGACTION]: Remove aliases.
28271         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28272         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28273         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28274         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28275         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28276         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28277         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28278         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28279         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28280         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28281         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28282         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28283         __libc_allocate_rtsig_private.
28284         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28285         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28286         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28287         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28288         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28289         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28290         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28291         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28292         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28293         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28294         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28295         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28296         * nptl/internaltypes.h: ... here.
28297         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28298         * sysdeps/nptl/jmp-unwind.c: ... here.
28299         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28300         * nptl/libc-lowlevellock.c: ... here.
28301         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28302         * nptl/libc_multiple_threads.c: ... here.
28303         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28304         * nptl/libc_pthread_init.c: ... here.
28305         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28306         * nptl/lowlevelbarrier.sym: ... here.
28307         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28308         * nptl/lowlevelcond.sym: ... here.
28309         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28310         * nptl/lowlevellock.c: ... here.
28311         * nptl/lowlevellock.h: Moved ...
28312         * sysdeps/nptl/lowlevellock.h: ... here.
28313         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28314         * nptl/lowlevelrobustlock.c: ... here.
28315         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28316         * nptl/lowlevelrobustlock.sym: ... here.
28317         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28318         * nptl/lowlevelrwlock.sym: ... here.
28319         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28320         * nptl/pt-fork.c: ... here.
28321         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28322         * nptl/pthread-pi-defines.sym: ... here.
28323         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28324         * nptl/pthread_attr_getaffinity.c: ... here.
28325         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28326         * nptl/pthread_attr_setaffinity.c: ... here.
28327         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28328         * nptl/pthread_mutex_cond_lock.c: ... here.
28329         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28330         Update #include.
28331         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28332         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28333         * nptl/pthread_once.c: ... here, replacing old file.
28334         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28335         * nptl/pthread_yield.c: ... here.
28336         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28337         * nptl/register-atfork.c: ... here.
28338         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28339         * nptl/sem_post.c: ... here.
28340         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28341         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28342         * nptl/sem_timedwait.c: ... here.
28343         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28344         * nptl/sem_trywait.c: ... here.
28345         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28346         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28347         * nptl/sem_wait.c: ... here.
28348         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28349         * nptl/structsem.sym: ... here.
28350         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28351         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28352         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28353         * nptl/unregister-atfork.c: ... here.
28354         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28355         * nptl/unwindbuf.sym: ... here.
28356         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28357         * sysdeps/nptl/fork.c: ... here.
28358         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28359         * sysdeps/nptl/fork.h: ... here.
28360         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28361         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28362         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28363         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28364         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28365         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28366         * sysdeps/unix/sysv/linux/getpid.c: ... here.
28367         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28368         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28369         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28370         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28371         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28372         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28373         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28374         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28375         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28376         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28377         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28378         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28379         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28380         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28381         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28382         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28383         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28384         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28385         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28386         * sysdeps/unix/sysv/linux/raise.c: ... here.
28387         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28388         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28389         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28390         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28391         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28392         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28393         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28394         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28395         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28396         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28397         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28398         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28399         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28400         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28401         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28403 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28405         * sysdeps/generic/memcopy.h: Add comment for
28406         MEMCPY_OK_FOR_FWD_MEMMOVE.
28408 2014-07-04  Will Newton  <will.newton@linaro.org>
28410         * string/memchr.c: Merge from gnulib.
28411         [_LIBC]: Remove conditionals.
28412         (__ptr_t): Remove define.
28413         (LONG_MAX_32_BITS): Likewise.
28414         (LONG_MAX): Likewise.
28415         (MEMCHR): Use ANSI prototype and optimize algorithm.
28417         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28419 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28421         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28422         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28424         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28425         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28426         in a bare environment with no <stdlib.h> installed.
28427         * sysdeps/nptl/configure: Regenerated.
28429         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28431         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28432         AC_EGREP_CPP for kernel header checks, so they only succeed if
28433         including <linux/version.h> actually works right.
28434         * sysdeps/unix/sysv/linux/configure: Regenerated.
28436         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28437         value so it's not diagnosed as unused.
28439         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28440         thing) with "ifeq ($(subdir),rt)".
28442 2014-07-03  Richard Henderson  <rth@redhat.com>
28444         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28445         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28446         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28448         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28449         (math_force_eval): New.
28451         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28452         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28454         * sysdeps/alpha/fpu/s_round.c: Remove file.
28455         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28457         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28458         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28459         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28460         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28461         (_dl_start, print_statistics): Likewise.
28462         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28463         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28465         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28466         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28467         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28468         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28469         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28470         (HP_SMALL_TIMING_AVAIL): Define.
28471         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28472         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28473         (HP_SMALL_TIMING_AVAIL): Define.
28474         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28475         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28477         * sysdeps/aarch64/hp-timing.h: New file.
28479         * sysdeps/generic/hp-timing.h: Remove dead comment.
28480         * sysdeps/generic/hp-timing-common.h: New file.
28481         * sysdeps/alpha/hp-timing.h: Include it.
28482         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28483         * sysdeps/i386/i686/hp-timing.h: Likewise.
28484         * sysdeps/ia64/hp-timing.h: Likewise.
28485         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28486         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28487         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28488         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28489         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28490         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28491         (hp_timing_t): New.
28493         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28494         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28495         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28496         * elf/rtld.c (_dl_start_final): Likewise.
28497         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28498         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28499         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28500         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28501         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28502         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28503         (HP_TIMING_DIFF_INIT): Remove.
28504         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28505         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28506         (HP_TIMING_DIFF_INIT): Remove.
28507         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28508         * sysdeps/i386/i686/hp-timing.c: Remove file.
28509         * sysdeps/x86_64/hp-timing.c: Remove file.
28510         * sysdeps/ia64/hp-timing.c: Remove file.
28511         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28512         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28513         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28514         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28516         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28517         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28518         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28519         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28520         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28521         (HP_TIMING_ACCUM): Remove.
28522         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28523         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28524         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28526         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28527         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28528         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28529         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28530         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28531         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28532         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28533         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28535         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28537 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
28539         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28541 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28543         Sync up with gettext.
28544         * intl/loadmsgcat.c: Define O_BINARY if not defined.
28545         [_MSC_VER]: Include malloc.h
28546         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28547         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28548         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
28549         TEMP_FAILURE_RETRY.  Cast return of alloca.
28550         [!_LIBC] Call gl_rwlock_init.
28551         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28553 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28555         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28556         before checking its value.
28558 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28560         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28562         * debug/memcpy_chk.c: Don't include pagecopy.h.
28563         * debug/mempcpy_chk.c: Likewise.
28564         * string/memcpy.c: Likewise.
28565         * string/memmove.c: Likewise.
28566         * sysdeps/powerpc/memmove.c: Likewise.
28567         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28568         definition of PAGE_COPY_FWD_MAYBE here...
28569         * sysdeps/generic/pagecopy.h: ... from here.
28570         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28572 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28573             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28575         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28577         optimizations.
28578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28579         (__libc_ifunc_impl_list): Likewise.
28580         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28581         multiarch strcat for PPC64.
28582         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28583         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28585 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28587         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28589 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28591         * intl/loadmsgcat.c: Remove declaration of
28592         get_sysdep_segment_value.
28593         (get_sysdep_segment_value): Use ISO C style.
28594         (_nl_load_domain): Use ISO C style.  Get rid of redundant
28595         semicolon.  Fix typo and formatting in comment.
28596         (_nl_unload_domain): Use ISO C style.
28598         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28600 2014-07-02  Will Newton  <will.newton@linaro.org>
28602         * malloc/obstack.c: Merge from gnulib master.
28603         [HAVE_CONFIG_H]: Remove conditional code.
28604         [!_LIBC]: Include config.h.
28605         [!ELIDE_CODE]: Don't include inttypes.h, include
28606         stdint.h unconditionally.
28607         (print_and_abort): Mark as _Noreturn.
28608         (_obstack_allocated_p): Mark as __attribute_pure__.
28609         (obstack_free): Rename to __obstack_free.
28610         [!__attribute__]: Remove conditional code.
28611         * malloc/obstack.h: Merge from gnulib master.
28612         [__cplusplus]: Move conditional down.
28613         [!__attribute_pure__]: Define __attribute_pure__ here
28614         if it is not already defined.
28615         (_obstack_memory_used): Mark as __attribute_pure__.
28616         [!__obstack_free]: Define as obstack_free.
28617         [__GNUC__]: Remove check for ancient NeXT gcc.
28619 2014-07-02  Will Newton  <will.newton@linaro.org>
28620             Paul Eggert  <eggert@cs.ucla.edu>
28622         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28624 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28626         * resolv/gethnamaddr.c: Add comment warning that the file is
28627         not maintained.
28629 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28631         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28632         entries.
28634         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28635         entry for aio_cancel and aio_cancel64.
28636         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28637         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28638         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28639         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28640         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28641         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28642         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28643         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28644         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28645         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28646         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28647         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28648         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28650 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28652         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28653         * nptl/pthread_mutex_lock.c: Likewise.
28654         * nptl/pthread_mutex_timedlock.c: Likewise.
28655         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28657 2014-07-01  Richard henderson  <rth@redhat.com>
28659         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28660         (__isnan, __isnanl): Remove.
28661         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28663         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28665 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28667         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28669 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28671         * resolv/nss_dns/dns-host.c (getanswer_r)
28672         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28674 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28676         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28677         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28678         undefine.
28679         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28680         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28682 2014-07-01  Roland McGrath <roland@hack.frob.com>
28684         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28685         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28687         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28688         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28690         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28691         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28692         ... here.
28693         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28694         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28696         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28697         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28698         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28699         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28701         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28702         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28703         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28704         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28705         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28706         Moved ...
28707         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28708         ... here.
28709         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28710         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28711         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28712         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28713         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28714         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28715         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28716         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28717         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28718         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28719         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28720         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28721         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28722         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28723         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28724         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28725         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28726         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28727         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28728         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28729         ... here.
28730         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28731         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28732         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28733         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28734         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28735         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28736         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
28737         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
28739 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
28741         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
28742         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
28743         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
28744         Add sysdep.
28746 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28750 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28752         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28753         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28755         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28757         * sysdeps/arm/libm-test-ulps: Regenerated.
28759 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28760             Roland McGrath <roland@hack.frob.com>
28762         * test-skeleton.c (signal_handler): Kill the whole process group
28763         before killing the child individually.
28764         (main): Report any failure on `setpgid'.
28766 2014-06-30  Roland McGrath  <roland@hack.frob.com>
28768         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
28769         from _TLS_H to _ARM_NPTL_TLS_H.
28770         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
28771         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
28773 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28775         [BZ #16539]
28776         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
28777         (__expm1l): Return argument unchanged when small but not
28778         subnormal.
28780         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
28781         include macro name.
28782         (_FP_UNPACK_RAW_1_P): Likewise.
28783         (_FP_PACK_RAW_1): Likewise.
28784         (_FP_PACK_RAW_1_P): Likewise.
28785         (_FP_MUL_MEAT_1_wide): Likewise.
28786         (_FP_MUL_MEAT_DW_1_hard): Likewise.
28787         (_FP_MUL_MEAT_1_hard): Likewise.
28788         (_FP_DIV_MEAT_1_imm): Likewise.
28789         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
28790         (_FP_DIV_MEAT_1_udiv): Likewise.
28791         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
28792         (_FP_UNPACK_RAW_2): Likewise.
28793         (_FP_UNPACK_RAW_2_P): Likewise.
28794         (_FP_PACK_RAW_2): Likewise.
28795         (_FP_PACK_RAW_2_P): Likewise.
28796         (_FP_MUL_MEAT_DW_2_wide): Likewise.
28797         (_FP_MUL_MEAT_2_wide): Likewise.
28798         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
28799         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28800         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
28801         (_FP_MUL_MEAT_2_gmp): Likewise.
28802         (_FP_DIV_MEAT_2_udiv): Likewise.
28803         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
28804         (_FP_FRAC_SRL_4): Likewise.
28805         (_FP_FRAC_SRST_4): Likewise.
28806         (_FP_FRAC_SRS_4): Likewise.
28807         (_FP_UNPACK_RAW_4): Likewise.
28808         (_FP_UNPACK_RAW_4_P): Likewise.
28809         (_FP_PACK_RAW_4): Likewise.
28810         (_FP_PACK_RAW_4_P): Likewise.
28811         (_FP_MUL_MEAT_DW_4_wide): Likewise.
28812         (_FP_MUL_MEAT_4_wide): Likewise.
28813         (_FP_MUL_MEAT_4_gmp): Likewise.
28814         (umul_ppppmnnn): Likewise.
28815         (_FP_DIV_MEAT_4_udiv): Likewise.
28816         (__FP_FRAC_ADD_4): Likewise.
28817         (__FP_FRAC_SUB_3): Likewise.
28818         (__FP_FRAC_SUB_4): Likewise.
28819         (__FP_FRAC_DEC_3): Likewise.
28820         (__FP_FRAC_DEC_4): Likewise.
28821         (__FP_FRAC_ADDI_4): Likewise.
28822         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
28823         (_FP_FRAC_SRL_8): Likewise.
28824         (_FP_FRAC_SRS_8): Likewise.
28826         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
28827         include macro name.
28828         (FP_UNPACK_RAW_EP): Likewise.
28829         (FP_PACK_RAW_E): Likewise.
28830         (FP_PACK_RAW_EP): Likewise.
28831         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
28832         (_FP_ISSIGNAN): Likewise.
28833         (_FP_ADD_INTERNAL): Likewise.
28834         (_FP_FMA): Likewise.
28835         (_FP_CMP): Likewise.
28836         (_FP_SQRT): Likewise.
28837         (_FP_TO_INT): Likewise.
28838         (_FP_FROM_INT): Likewise.
28839         (FP_EXTEND): Likewise.
28840         (_FP_DIV_MEAT_N_loop): Likewise.
28842 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28844         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
28845         throughout.
28847 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
28849         [BZ #17097]
28850         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
28851         result with correct sign in case of exponents that produce
28852         overflow except for X very close to 1.
28854 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
28856         mktime: merge #if/#ifdef usage from glibc
28857         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
28858         as that works with both Glibc's and Gnulib's style.
28859         See thread starting at Siddhesh Poyarekar's bug report at:
28860         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
28862 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28864         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
28865         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
28866         * sysdeps/tile/tilegx/memmove.c: Remove file.
28868 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28870         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
28871         abi-name definition.
28872         * scripts/soversions.awk: Do not handle or generate ABI lines.
28873         * shlib-versions: Remove ABI entries.
28874         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
28875         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
28877 2014-06-27  Roland McGrath  <roland@hack.frob.com>
28879         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
28880         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
28881         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
28882         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
28883         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
28884         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
28885         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
28886         Moved ...
28887         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
28888         ... here.
28889         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
28890         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
28891         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
28892         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
28893         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
28894         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
28895         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
28896         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
28897         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
28898         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
28899         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
28900         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
28901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
28902         Moved ...
28903         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
28904         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
28905         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
28906         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
28907         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
28908         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
28909         Moved ...
28910         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
28911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
28912         Moved ...
28913         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
28914         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
28915         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
28916         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
28917         Moved ...
28918         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
28919         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
28920         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
28921         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
28922         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
28923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
28924         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
28925         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
28926         Moved ...
28927         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
28928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
28929         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
28930         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
28931         Moved ...
28932         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
28933         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
28934         Moved ...
28935         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
28936         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
28937         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
28938         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
28939         Moved ...
28940         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
28941         ... here.
28942         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28943         Identical file removed.
28944         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28945         Moved ...
28946         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28947         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28948         Identical file removed.
28949         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28950         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28951         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28952         Moved ...
28953         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28954         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28955         Identical file removed.
28956         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28957         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28958         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28959         Identical file removed.
28960         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28961         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28962         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28963         Identical file removed.
28964         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28965         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28966         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28967         Identical file removed.
28968         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28969         Moved ...
28970         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28971         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28972         Identical file removed.
28973         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28974         Moved ...
28975         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28976         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28977         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28978         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28979         Identical file removed.
28980         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28981         Moved ...
28982         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28983         ... here.
28984         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28985         Identical file removed.
28986         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28987         Moved ...
28988         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28989         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28990         Identical file removed.
28991         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28992         Moved ...
28993         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28994         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28995         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28996         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28997         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28998         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28999         Moved ...
29000         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29001         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29002         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29004         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29005         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29006         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29007         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29008         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29010 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29012         [BZ #17092]
29013         * nscd/nscd.c (monitor_child): Return exit status of child
29014         instead of return value from wait syscall.
29016 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29018         * configure.ac (libc_commonpagesize): Remove variable.
29019         (libc_relro_required): Likewise.
29020         (libc_cv_z_relro): Remove configure test.
29021         * configure: Regenerated.
29022         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29023         variable.
29024         (libc_relro_required): Likewise.
29025         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29026         (libc_relro_required): Likewise.
29027         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29028         (libc_relro_required): Likewise.
29029         * sysdeps/arm/preconfigure: Regenerated.
29030         * sysdeps/ia64/preconfigure: Remove file.
29031         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29032         variable.
29033         (libc_relro_required): Likewise.
29035         [BZ #16561]
29036         [BZ #16562]
29037         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29038         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29039         recompute overflowing results in original rounding mode.
29040         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29041         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29042         recompute overflowing results in original rounding mode.
29043         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29044         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29045         recompute overflowing results in original rounding mode.
29046         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29047         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29048         recompute overflowing results in original rounding mode.
29049         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29050         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29051         recompute overflowing results in original rounding mode.
29052         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29053         (libc_feholdsetround_ctx): New macro.
29054         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29055         * sysdeps/i386/fpu/libm-test-ulps: Update.
29056         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29058 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29060         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29061         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29062         corresponding .cpsetup call.
29064 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29066         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29067         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29068         * sysdeps/arm/Makefile [$(subdir) = csu]
29069         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29070         (static-only-routines): Add aeabi_read_tp here.
29071         (shared-only-routines): Add libc-aeabi_read_tp here.
29072         (CFLAGS-libc-start.c): Add -fexceptions here.
29073         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29074         (sysdep_routines, static-only-routines, shared-only-routines):
29075         Don't add to these here.
29076         (CFLAGS-libc-start.c): Likewise.
29078         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29079         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29080         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29081         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29082         * sysdeps/arm/Makefile [$(subdir) = rt]
29083         (librt-sysdep_routines, librt-shared-only-routines):
29084         Append rt-aeabi_unwind_cpp_pr1 here.
29085         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29086         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29087         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29088         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29089         Append nptl-aeabi_unwind_cpp_pr1 here.
29090         (tests): Filter out tst-cleanupx4 here.
29091         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29092         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29093         Don't do those here.
29095 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29097         * scripts/list-sources.sh: Do not handle ports specially.
29099 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29101         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29102         * sysdeps/arm/feupdateenv.c: Likewise.
29104         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29106 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29108         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29109         trailing whitespace removed.
29110         * scripts/config.guess: Update to version 2014-03-23.
29111         * scripts/config.sub: Update to version 2014-05-01
29112         * scripts/install-sh: Update to version 2013-12-25.23.
29113         * scripts/move-if-change: Update from gnulib.
29115 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29117         * debug/memmove_chk.c: Remove pagecopy.h include.
29119 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29121         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29122         identical to gnulib mktime.
29124 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29126         * configure.ac: Do not test for machine being rs6000.  Do not test
29127         for powerpc*-*soft.
29128         * configure: Regenerated.
29130         [BZ #11505]
29131         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29132         test.
29133         * configure: Regenerated.
29134         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29135         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29136         Remove configure test.
29137         * sysdeps/arm/configure: Regenerated.
29138         * sysdeps/nptl/configure.ac: Do not check
29139         libc_cv_asm_cfi_directives.
29140         * sysdeps/nptl/configure: Regenerated.
29141         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29142         * sysdeps/x86_64/nptl/configure: Remove generated file.
29143         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29144         unconditional.
29145         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29147 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29149         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29150         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29151         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29152         it is defined.
29154         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29155         instead of whether it is defined.
29156         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29157         * sysdeps/hppa/dl-machine.h: Likewise.
29158         * sysdeps/ia64/dl-machine.h: Likewise.
29159         * sysdeps/m68k/dl-machine.h: Likewise.
29160         * sysdeps/microblaze/dl-machine.h: Likewise.
29161         * sysdeps/mips/dl-machine.: Likewise.
29162         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29163         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29164         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29165         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29166         * sysdeps/sh/dl-machine.h: Likewise.
29167         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29168         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29169         * sysdeps/tile/dl-machine.h: Likewise.
29170         * sysdeps/x86_64/dl-machine.h: Likewise.
29172         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29173         code.
29174         (verify_persistent_db): Likewise.
29176 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29179         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29181         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29183         Moved ...
29184         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29185         ... here.
29186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29187         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29189         Identical file removed.
29190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29191         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29193         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29195         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29197         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29199         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29201         Moved ...
29202         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29204         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29206         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29208         Moved ...
29209         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29211         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29213         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29215         Identical file removed.
29216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29217         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29219         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29221         Moved ...
29222         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29223         ... here.
29224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29225         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29227         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29229         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29231         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29233         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29235         Moved ...
29236         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29238         Moved ...
29239         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29241         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29243         Moved ...
29244         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29246         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29248         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29249         folded into ...
29250         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29251         * sysdeps/unix/sysv/linux/s390/Versions
29252         (libpthread: GLIBC_2.19): New version set.
29253         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29254         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29255         (librt: GLIBC_2.3.3): New version set.
29256         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29257         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29258         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29259         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29260         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29261         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29262         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29263         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29264         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29265         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29266         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29267         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29268         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29269         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29270         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29271         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29272         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29273         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29274         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29275         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29276         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29277         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29278         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29279         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29280         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29281         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29282         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29283         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29284         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29285         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29286         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29287         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29288         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29290         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29291         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29292         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29293         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29294         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29295         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29296         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29297         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29298         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29299         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29300         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29302         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29303         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29304         (__libc_vfork): Define the function under this name.
29305         [!NOT_IN_libc] (__vfork): Make this an alias.
29306         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29307         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29308         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29309         (__libc_vfork): Define the function under this name.
29310         [!NOT_IN_libc] (__vfork): Make this an alias.
29311         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29312         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29313         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29314         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29315         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29316         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29318         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29319         code that was previously under [RESET_PID].
29320         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29321         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29322         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29324         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29325         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29326         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29327         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29328         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29329         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29330         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29331         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29332         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29333         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29334         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29335         Moved ...
29336         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29337         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29338         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29339         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29340         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29341         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29342         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29343         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29344         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29345         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29346         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29347         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29348         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29349         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29350         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29351         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29352         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29353         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29354         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29355         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29356         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29357         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29358         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29359         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29360         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29361         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29362         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29363         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29364         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29366 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29368         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29369         that was previously under [RESET_PID].
29370         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29372 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29374         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29375         not undefine and redefine.
29376         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29377         [O_CLOEXEC]: Make code unconditional.
29378         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29379         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29380         <kernel-features.h>.
29381         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29382         conditional variable definition.
29383         (shm_open) [O_CLOEXEC]: Make code unconditional.
29384         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29385         code.
29387         * configure.ac (USE_REGPARMS): Don't define here.
29388         * configure: Regenerated.
29389         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29390         * sysdeps/i386/configure: Regenerated.
29392         * nptl/createthread.c: Don't include kernel-features.h.
29393         * nptl/pthread_cancel.c: Likewise.
29394         * nptl/pthread_condattr_setclock.c: Likewise.
29395         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29396         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29397         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29398         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29399         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29400         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29401         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29402         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29403         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29404         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29405         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29406         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29407         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29408         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29409         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29410         * nscd/gai.c: Likewise.
29411         * nss/nss_db/db-open.c: Likewise.
29412         * sysdeps/generic/ldsodefs.h: Likewise.
29413         * sysdeps/sh/nptl/tls.h: Likewise.
29414         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29415         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29416         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29417         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29418         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29419         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29420         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29421         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29422         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29423         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29424         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29425         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29426         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29427         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29428         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29429         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29430         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29431         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29432         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29433         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29434         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29435         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29436         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29437         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29438         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29439         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29440         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29441         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29442         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29443         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29444         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29445         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29446         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29447         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29448         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29449         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29450         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29451         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29452         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29453         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29454         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29455         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29456         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29457         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29458         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29459         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29460         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29461         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29462         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29463         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29464         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29465         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29466         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29467         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29468         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29469         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29470         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29471         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29494         * sysdeps/unix/sysv/linux/pread.c: Likewise.
29495         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29496         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29497         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29498         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29499         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29500         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29501         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29502         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29503         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29504         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29505         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29506         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29507         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29508         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29509         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29510         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29511         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29512         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29513         * sysdeps/unix/sysv/linux/system.c: Likewise.
29514         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29515         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29516         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29517         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29518         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29519         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29520         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29522         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29523         * configure: Regenerated.
29524         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29526         * configure.ac (base_machine): Do not set specially for particular
29527         machines here.
29528         * configure: Regenerated.
29529         * sysdeps/powerpc/preconfigure: Move machine and base_machine
29530         settings from configure.ac.
29531         * sysdeps/i386/preconfigure: New file.
29532         * sysdeps/s390/preconfigure: Likewise.
29533         * sysdeps/sh/preconfigure: Likewise.
29534         * sysdeps/sparc/preconfigure: Likewise.
29536 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29538         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29539         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29540         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29541         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29542         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29543         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29544         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29545         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29546         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29547         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29548         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29549         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29550         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29551         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29552         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29553         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29554         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29555         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29556         * sysdeps/sparc/sparc64/Makefile: ... appended here.
29558         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29559         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29560         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29561         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29562         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29563         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29564         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29565         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29566         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29567         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29568         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29569         * sysdeps/sparc/sparc32/sem_post.c: ... here.
29570         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29571         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29572         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29573         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29574         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29575         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29576         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29577         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29578         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29579         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29580         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29581         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29582         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29583         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29584         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29585         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29586         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29587         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29588         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29589         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29590         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29591         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29592         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29593         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29594         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29595         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29598         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29600         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29602         Moved ...
29603         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29604         ... here.
29605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29606         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29608         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29610         Moved ...
29611         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29613         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29615         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29617         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29619         Moved ...
29620         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29622         Moved ...
29623         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29625         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29627         Moved ...
29628         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29630         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29632         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29634         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29636         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29638         Moved ...
29639         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29640         ... here.
29641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29642         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29644         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29646         Moved ...
29647         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29649         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29650         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29651         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29653         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29655         Moved ...
29656         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29658         Moved ...
29659         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29661         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29663         Moved ...
29664         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29666         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29668         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29670 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29672         * timezone/checktab.awk: Update from tzcode 2014e.
29673         * timezone/private.h: Likewise.
29674         * timezone/tzfile.h: Likewise.
29675         * timezone/zdump.c: Likewise.
29676         * timezone/zic.c: Likewise.
29678         * sysdeps/unix/sysv/linux/kernel-features.h
29679         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29680         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29681         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29682         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29683         Remove conditional code.
29685 2014-06-25  Will Newton  <will.newton@linaro.org>
29687         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29688         (_dl_arm_cap_flags): Add HWCAP2 values.
29689         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29690         (_DL_HWCAP_COUNT): Increase to 37.
29691         (_DL_HWCAP_LAST): New define.
29692         (_DL_HWCAP2_LAST): New define.
29693         (_dl_procinfo): Add support for printing
29694         AT_HWCAP2 entries.
29695         (_dl_string_hwcap): Use _dl_hwcap_string.
29697 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29701 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29703         * README: Do not mention ports directory.
29705         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29706         Remove macro.
29707         * sysdeps/unix/sysv/linux/futimes.c: Do not include
29708         <kernel-features.h>.
29709         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29710         conditional variable definition.
29711         (__futimes): Update comment.
29712         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29713         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29715         [BZ #16560]
29716         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29717         arguments close to 0.
29718         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29719         Likewise.
29720         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29721         Likewise.
29722         * math/auto-libm-test-in: Add more tests of exp10.
29723         * math/auto-libm-test-out: Regenerated.
29724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29726         * sysdeps/unix/sysv/linux/kernel-features.h
29727         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29728         * sysdeps/unix/sysv/linux/readv.c: Do not include
29729         <kernel-features.h>.
29730         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29731         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29732         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29733         unconditional.
29734         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29735         conditional code.
29736         * sysdeps/unix/sysv/linux/writev.c: Do not include
29737         <kernel-features.h>.
29738         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29739         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29740         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29741         unconditional.
29742         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29743         conditional code.
29745 2014-06-25  Will Newton  <will.newton@linaro.org>
29747         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
29748         comment changes throughout the file.  Remove checks
29749         for HAVE_*_H definitions that are not required.
29750         (__gen_tempname): Call abort if an unknown kind value is
29751         passed.
29753 2014-06-25  Andreas Schwab  <schwab@suse.de>
29755         [BZ #17086]
29756         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
29757         scalbln, scalblnf, scalblnl in libc.
29759 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29761         [BZ #17086]
29762         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
29763         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29764         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29766 2014-06-24  Roland McGrath  <roland@hack.frob.com>
29768         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
29769         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
29770         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
29771         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
29772         Update #include.
29773         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
29774         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
29775         Update #include.
29776         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
29777         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
29778         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
29779         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
29780         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
29781         * sysdeps/x86/bits/pthreadtypes.h: ... here.
29782         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
29783         * sysdeps/x86/bits/semaphore.h: ... here.
29784         * sysdeps/x86/nptl/elide.h: Moved ...
29785         * sysdeps/x86/elide.h: ... here.
29786         * sysdeps/x86_64/nptl/Implies: File removed.
29787         * sysdeps/i386/nptl/Implies: File removed.
29789 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
29791         [BZ #16539]
29792         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
29793         return the argument for normal arguments with exponent below -64.
29794         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29795         Likewise.
29796         * math/auto-libm-test-in: Add another test of expm1.
29797         * math/auto-libm-test-out: Regenerated.
29799         [BZ #16287]
29800         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
29801         calling __erfcl for arguments at least 16.
29802         * math/auto-libm-test-in: Add more tests of erf.
29803         * math/auto-libm-test-out: Regenerated.
29805         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
29806         individual architectures.
29807         * sysdeps/unix/sysv/linux/configure: Regenerated.
29808         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
29809         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
29810         * sysdeps/unix/sysv/linux/powerpc/configure.ac
29811         (ldd_rewrite_script): Define variable.
29812         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
29814         file.
29815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
29816         generated file.
29817         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
29818         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
29819         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
29820         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
29821         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
29822         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
29823         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
29824         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
29826 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29828         [BZ #17084]
29829         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
29830         Rename member __data.d to __data.__elision_data.
29832 2014-06-24  Wilco  <wdijkstr@arm.com>
29834         * NEWS: Add 16918 to fixed bug list.
29836 2014-06-24  Wilco  <wdijkstr@arm.com>
29838         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
29840 2014-06-24  Wilco  <wdijkstr@arm.com>
29842         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
29843         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
29844         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
29845         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
29846         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
29847         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
29848         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
29849         Use _FPU_MASK_RM.
29851 2014-06-24  Wilco  <wdijkstr@arm.com>
29853         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
29855 2014-06-24  Wilco  <wdijkstr@arm.com>
29857         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
29858         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
29859         * sysdeps/arm/fesetround.c (fesetround): Remove space.
29860         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
29862 2014-06-24  Wilco  <wdijkstr@arm.com>
29864         [BZ #16918]
29865         * sysdeps/arm/feupdateenv.c (feupdateenv):
29866         Rewrite to reduce FPSCR accesses and fix return value.
29868 2014-06-24  Wilco  <wdijkstr@arm.com>
29870         * sysdeps/arm/fclrexcpt.c (feclearexcept):
29871         Optimize to avoid unnecessary FPSCR writes.
29872         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
29873         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
29874         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
29875         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
29877 2014-06-24  Wilco  <wdijkstr@arm.com>
29879         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
29880         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
29881         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
29882         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
29883         Call libc_fetestexcept_vfp.
29884         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
29885         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
29886         __SOFTFP__ ifdef so that they can be built for softfp.
29888 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29890         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
29891         argument type signed char.
29893         * Makerules (check-abi): Dump diff of symlist if the test
29894         fails.
29896 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29898         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
29899         using abort.
29901         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29902         Remove unused variable ST.
29904 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29906         [BZ #16354]
29907         [BZ #17061]
29908         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
29909         small arguments before calling __expm1.
29910         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
29911         small arguments before calling __expm1f.
29912         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
29913         small arguments before calling __expm1l.
29914         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29915         Likewise.
29916         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29917         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
29918         spurious underflow for some cosh tests.
29919         * math/auto-libm-test-out: Regenerated.
29920         * sysdeps/i386/fpu/libm-test-ulps: Update.
29922         [BZ #17050]
29923         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
29924         (__ieee754_y1): Set errno if return value overflows.
29925         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
29926         (__ieee754_y1f): Set errno if return value overflows.
29927         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
29928         (__ieee754_y1l): Set errno if return value overflows.
29929         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
29930         (__ieee754_y1l): Set errno if return value overflows.
29931         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
29932         * math/auto-libm-test-out: Regenerated.
29934         * math/gen-auto-libm-tests.c: Document use of
29935         ignore-zero-inf-sign.
29936         (input_flag_type): Add value flag_ignore_zero_inf_sign.
29937         (input_flags): Add ignore-zero-inf-sign.
29938         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
29939         * math/gen-libm-test.pl (generate_testfile): Handle
29940         ignore-zero-inf-sign.
29941         * math/auto-libm-test-in: Mark some cpow tests with
29942         ignore-zero-inf-sign and some with xfail-rounding.
29943         * math/auto-libm-test-out: Regenerated.
29944         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29945         * sysdeps/i386/fpu/libm-test-ulps: Update.
29946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29948         [BZ #16315]
29949         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29950         overflowing or underflowing operations take place with sign of
29951         result.
29952         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29953         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29954         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29955         (__ieee754_pow): Recompute overflowing and underflowing results in
29956         original rounding mode.
29957         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29958         (__powl_helper): Allow negative argument X and scale negated value
29959         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
29960         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29961         overflowing or underflowing operations take place with sign of
29962         result.
29963         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29964         Include <math.h>.
29965         * math/auto-libm-test-in: Add more tests of pow.
29966         * math/auto-libm-test-out: Regenerated.
29967         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29968         (pow_tonearest_test_data): Remove.
29969         (pow_test_tonearest): Likewise.
29970         (pow_towardzero_test_data): Likewise.
29971         (pow_test_towardzero): Likewise.
29972         (pow_downward_test_data): Likewise.
29973         (pow_test_downward): Likewise.
29974         (pow_upward_test_data): Likewise.
29975         (pow_test_upward): Likewise.
29976         (main): Don't call removed functions.
29977         * sysdeps/i386/fpu/libm-test-ulps: Update.
29978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29980 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29983         Moved ...
29984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29986         Moved ...
29987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29989         Moved ...
29990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29992         Moved ...
29993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29995         File removed.
29996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29997         File removed.
29998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29999         File removed.
30000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30001         File removed.
30002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30003         File removed.
30004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30005         File removed.
30006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30007         File removed.
30008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30009         File removed.
30010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30011         File removed.
30012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30013         File removed.
30014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30015         File removed.
30016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30017         File removed.
30018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30019         Moved ...
30020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30022         Moved ...
30023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30024         ... here.
30025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30026         Moved ...
30027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30029         Moved ...
30030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30032         Moved ...
30033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30035         Moved ...
30036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30038         Moved ...
30039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30041         Moved ...
30042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30044         Moved ...
30045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30048         ... here.
30049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30050         Moved ...
30051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30053         Moved ...
30054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30055         ... here.
30056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30057         Moved ...
30058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30059         ... here.
30060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30061         Moved ...
30062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30063         ... here.
30064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30065         Moved ...
30066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30068         Moved ...
30069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30073         Moved ...
30074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30075         ... here.
30076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30077         Moved ...
30078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30079         ... here.
30080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30081         Moved ...
30082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30084         Moved ...
30085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30087         Moved ...
30088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30090         Moved ...
30091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30093         Moved ...
30094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30095         ... here.
30096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30097         Moved ...
30098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30100         Moved ...
30101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30103         Moved ...
30104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30106         Moved ...
30107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30111         Moved ...
30112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30114         Moved ...
30115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30117         Moved ...
30118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30119         ... here.
30120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30121         Moved ...
30122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30123         ... here.
30124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30125         Moved ...
30126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30127         ... here.
30128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30129         Moved ...
30130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30132         Moved ...
30133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30135         Moved ...
30136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30138         Moved ...
30139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30140         ... here.
30141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30142         Moved ...
30143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30144         ... here.
30145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30146         Moved ...
30147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30148         ... here.
30149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30150         Moved ...
30151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30153         Moved ...
30154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30156 2014-06-23  Will Newton  <will.newton@linaro.org>
30157             Wilco  <wdijkstr@arm.com>
30159         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30160         implementation.  Include get-rounding-mode.h.
30161         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30162         [!libc_feholdsetround_noex_ctx]: Define
30163         libc_feholdsetround_noex_ctx.
30164         [!libc_feholdsetround_noexf_ctx]: Define
30165         libc_feholdsetround_noexf_ctx.
30166         [!libc_feholdsetround_noexl_ctx]: Define
30167         libc_feholdsetround_noexl_ctx.
30168         (libc_feholdsetround_ctx): New function.
30169         (libc_feresetround_ctx): New function.
30170         (libc_feholdsetround_noex_ctx): New function.
30171         (libc_feresetround_noex_ctx): New function.
30173 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30175         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30176         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30177         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30178         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30179         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30180         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30182         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30183         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30184         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30185         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30186         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30187         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30188         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30189         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30190         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30191         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30192         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30193         Moved ...
30194         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30195         ... here.
30196         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30197         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30198         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30199         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30200         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30201         Moved ...
30202         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30203         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30204         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30205         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30206         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30207         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30208         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30209         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30210         Moved ...
30211         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30212         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30213         Moved ...
30214         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30215         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30216         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30217         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30218         Moved ...
30219         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30220         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30221         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30222         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30223         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30224         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30225         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30226         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30227         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30228         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30229         Moved ...
30230         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30231         ... here.
30232         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30233         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30234         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30235         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30236         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30237         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30238         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30239         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30240         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30241         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30242         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30243         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30244         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30245         Moved ...
30246         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30247         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30248         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30249         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30250         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30251         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30252         Moved ...
30253         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30254         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30255         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30256         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30257         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30259         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30260         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30261         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30262         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30263         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30264         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30265         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30266         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30267         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30268         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30269         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30270         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30271         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30272         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30273         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30274         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30275         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30276         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30277         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30278         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30279         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30280         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30281         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30282         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30283         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30284         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30285         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30286         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30288 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30290         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30291         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30292         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30293         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30294         (IPV6_PMTUDISC_INTERFACE): Likewise.
30295         (IPV6_PMTUDISC_OMIT): Likewise.
30297 2014-06-23  Andreas Schwab  <schwab@suse.de>
30299         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30300         Remove unused errout label.
30302 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30304         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30305         macro: hardware supports Vector Crypto instructions.
30307 2014-06-23  Will Newton  <will.newton@linaro.org>
30309         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30310         rather than __builtin_expect.
30312         * elf/dl-lookup.c (undefined_msg): Remove variable.
30313         (_dl_lookup_symbol_x): Replace undefined_msg with string
30314         literal.
30316         * elf/dl-lookup.c (do_lookup_unique): New function.
30317         (do_lookup_x): Move STB_GNU_UNIQUE handling code
30318         to a separate function.
30320 2014-06-23  Andreas Schwab  <schwab@suse.de>
30322         [BZ #17079]
30323         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30324         before reading the next line.
30326 2014-06-23  Will Newton  <will.newton@linaro.org>
30328         * test-skeleton.c (signal_handler): Use printf and %m
30329         rather than perror.  Use printf rather than fprintf to
30330         stderr.  Use puts rather than fputs to stderr.
30331         (main): Likewise.
30333 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
30335         * nscd/nscd.c (thread_info_t): Remove typedef.
30336         (thread_info): Remove variable.
30338 2014-06-21  Allan McRae  <allan@archlinux.org>
30340         * NEWS: Mention CVE-2014-4043.
30342 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30344         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30345         * nptl/smp.h: ... here.
30347         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30349         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30350         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30351         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30352         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30354         * nptl/allocatestack.c: Include <stack-aliasing.h>.
30355         * nptl/stack-aliasing.h: New file.
30356         * sysdeps/i386/i686/stack-aliasing.h: New file.
30357         * sysdeps/i386/i686/nptl/Makefile: File removed.
30358         * sysdeps/x86_64/stack-aliasing.h: New file.
30359         * sysdeps/x86_64/nptl/Makefile
30360         (CFLAGS-pthread_create.c): Variable removed.
30362         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30363         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30364         old file.
30365         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30366         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30367         old file.
30369 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
30371         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30372         (__ASSUME_SIGFRAME_V2): Remove macro.
30373         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30374         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30375         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30376         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30377         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30378         Declare as function.  Remove conditional macro definitions.
30379         (__default_rt_sa_restorer): Likewise.
30380         (__default_sa_restorer_v1): Remove declaration.
30381         (__default_sa_restorer_v2): Likewise.
30382         (__default_rt_sa_restorer_v1): Likewise.
30383         (__default_rt_sa_restorer_v2): Likewise.
30384         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30385         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30386         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30388 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30390         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30391         (libpthread-routines): Add sysdep.
30392         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30393         * sysdeps/unix/sysv/linux/sparc/Versions
30394         (libpthread: GLIBC_2.3.3): New version set.
30395         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30396         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30397         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30398         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30399         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30400         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30401         Moved ...
30402         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30403         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30404         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30405         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30406         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30407         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30408         * sysdeps/sparc/nptl/sem_init.c: ... here.
30409         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30410         * sysdeps/sparc/nptl/sem_post.c: ... here.
30411         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30412         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30413         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30414         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30415         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30416         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30417         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30418         (libpthread-routines): Add cpu_relax.
30419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30420         File removed.
30421         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30422         (librt: GLIBC_2.3.3): New version set.
30423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30424         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30425         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30426         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30429         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30431         Moved ...
30432         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30434         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30436         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30438         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30440         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30442         Moved ...
30443         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30444         Update #include.
30445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30446         Moved ...
30447         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30448         Update #include.
30449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30450         Moved ...
30451         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30452         Update #include.
30453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30454         Moved ...
30455         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30456         Update #include.
30457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30458         Moved ...
30459         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30460         Update #include.
30461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30462         Moved ...
30463         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30464         Update #include.
30465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30466         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30468         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30469         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30470         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30472         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30474         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30476         Moved ...
30477         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30479         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30481         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30483 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30485         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30486         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30487         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30488         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30489         * nscd/nscd.c: Likewise.
30490         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30491         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30492         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30493         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30495         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30496         <kernel-features.h>.
30497         (init_mq_netlink): Remove conditional have_sock_cloexec
30498         definitions.  Remove code conditional on have_sock_cloexec < 0.
30499         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30500         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30501         * sysdeps/unix/sysv/linux/opensock.c: Do not include
30502         <kernel-features.h>.
30503         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30504         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30506 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30509         Add tests for memset_chk and memset.
30511         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30512         with AVX2_Usable.
30514 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30516         [BZ #16046]
30517         * elf/tst-dl-iter-static.c: New file.
30518         * elf/Makefile (tests-static): Add tst-dl-iter-static.
30520         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30521         error.
30523 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30525         * sysdeps/unix/sysv/linux/kernel-features.h
30526         (__ASSUME_F_GETOWN_EX): Remove macro.
30527         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30528         <kernel-features.h>.
30529         (miss_F_GETOWN_EX): Remove variable or macro.
30530         (do_fcntl): Do not check miss_F_GETOWN_EX.
30531         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30533         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30534         Remove macro.
30535         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30536         [!__ASSUME_AT_RANDOM]: Remove conditional code.
30537         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30539         * sysdeps/unix/sysv/linux/kernel-features.h
30540         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30541         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30542         [ADJ_OFFSET_SS_READ]: Make code unconditional.
30543         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30545 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30547         [BZ #17075]
30548         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30549         Fix calculation of the symbol's value.
30550         * sysdeps/arm/tst-armtlsdescloc.c: New file.
30551         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30552         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30553         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30554         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30555         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30556         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30557         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30558         (modules-names): Add `tst-armtlsdescmod',
30559         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30560         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30561         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30562         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30563         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30564         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30565         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30566         ($(objpfx)tst-armtlsdescloc): New dependency.
30567         ($(objpfx)tst-armtlsdescextnow): Likewise.
30568         ($(objpfx)tst-armtlsdescextlazy): Likewise.
30569         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30570         TLS scheme support.
30571         * sysdeps/arm/configure: Regenerate.
30573 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30575         * include/fcntl.h (__atfct_seterrno): Remove prototype.
30576         (__atfct_seterrno_2): Likewise.
30577         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30578         <kernel-features.h>.
30579         (__ASSUME_ATFCTS): Do not undefine and redefine.
30580         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30581         (__have_atfcts): Remove conditional definition.
30582         (__fxstatat([__NR_fstatat64]: Make code unconditional.
30583         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30584         unreachable if [__ASSUME_ATFCTS].
30585         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30586         not undefine and redefine.
30587         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30588         <kernel-features.h>.
30589         (faccessat) [__NR_faccessat]: Make code unconditional.
30590         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30591         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30592         <kernel-features.h>.
30593         (fchmodat) [__NR_fchmodat]: Make code unconditional.
30594         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30595         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30596         <kernel-features.h>.
30597         (fchownat) [__NR_fchownat]: Make code unconditional.
30598         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30599         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30600         <kernel-features.h>.
30601         (futimesat) [__NR_futimesat]: Make code unconditional.
30602         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30603         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30604         <kernel-features.h>.
30605         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30606         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30607         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30608         <kernel-features.h>.
30609         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30610         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30611         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30612         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30613         <kernel-features.h>.
30614         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30615         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30616         * sysdeps/unix/sysv/linux/linkat.c: Do not include
30617         <kernel-features.h>.
30618         (linkat) [__NR_linkat]: Make code unconditional.
30619         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30620         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30621         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30622         <kernel-features.h>.
30623         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30624         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30625         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30626         <kernel-features.h>.
30627         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30628         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30629         * sysdeps/unix/sysv/linux/openat.c: Do not include
30630         <kernel-features.h>.
30631         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30632         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30633         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30634         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30635         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30636         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30637         <kernel-features.h>.
30638         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30639         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30640         result of INLINE_SYSCALL directly, not via int variable.
30641         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30642         <kernel-features.h>.
30643         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30644         (renameat) [__NR_renameat]: Make code unconditional.
30645         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30646         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30647         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30648         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30649         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30650         (__ASSUME_ATFCTS): Do not undefine and redefine.
30651         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30652         <kernel-features.h>.
30653         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30654         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30655         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30656         <kernel-features.h>.
30657         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30658         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30659         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30660         (__ASSUME_ATFCTS): Do not undefine and redefine.
30661         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30662         <kernel-features.h>.
30663         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30664         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30665         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30666         <kernel-features.h>.
30667         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30668         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30670 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30672         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30674 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30676         [BZ #17069]
30677         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30678         constructed tree before returning error.
30679         * posix/bug-regexp36.c: Expand test case.
30681 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30683         [BZ #6803]
30684         * math/libm-test.inc (scalbln_test_date):
30685         Add errno expectations.
30686         * math/w_scalblnf.c: New File.
30687         Add wrapper which checks for setting errno to ERANGE.
30688         Add weak_alias for corresponding scalbln function.
30689         * math/w_scalbln.c: Likewise.
30690         * math/w_scalblnl.c: Likewise.
30691         * math/Makefile (libm-calls): Add w_scalbln.
30692         * sysdeps/ieee754/flt-32/s_scalblnf.c:
30693         Remove weak_alias for corresponding scalbln function.
30694         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30695         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30696         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30697         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30698         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30699         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30700         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30701         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30702         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30703         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30704         Remove long_double_symbol for scalblnl function in libm, libc.
30705         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30706         Add wrapper which checks for setting errno to ERANGE.
30707         Add long_double_symbol for scalblnl function in libm, libc.
30708         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30709         Remove long_double_symbol for scalblnl in libm.
30710         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30711         Add wrapper which checks for setting errno to ERANGE.
30712         Add long_double_symbol for scalblnl function in libm.
30713         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30714         Do not use wrapper because of own implementation.
30716 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
30718         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30719         3 bytes for __pad1 for x32.
30720         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30722 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
30723             H.J. Lu  <hongjiu.lu@intel.com>
30725         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30726         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30727         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30728         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30729         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30731 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
30733         [BZ #17069]
30734         * posix/regcomp.c (parse_expression): Deallocate partially
30735         constructed tree before returning error.
30736         * posix/Makefile.c (tests): Add bug-regex36.
30737         (generated): Add bug-regex36.mtrace.
30738         (tests-special): Add $(objpfx)bug-regex36-mem.out
30739         (bug-regex36-ENV): New variable.
30740         ($(objpfx)bug-regex36-mem.out): New rule.
30741         * posix/bug-regex36.c: New file.
30743 2014-06-19  Will Newton  <will.newton@linaro.org>
30745         * malloc/malloc.c (systrim): If extra is zero then return
30746         early.
30748 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30750         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
30752 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
30754         * sysdeps/aarch64/strchr.S: New file.
30756 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30758         [BZ #17022]
30759         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
30760         from arguments -2 or below.
30761         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30762         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
30764 2014-06-18  Andreas Schwab  <schwab@suse.de>
30766         [BZ #17062]
30767         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
30768         of a bracket expr not to run off the end of the string.
30769         * posix/Makefile (tests): Add tst-fnmatch3.
30770         * posix/tst-fnmatch3.c: New file.
30772 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30774         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
30775         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30776         [$(cross-compiling) = no]: Likewise.
30777         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30778         [$(cross-compiling) = no]: Likewise.
30780 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30782         [BZ #17031]
30783         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
30784         double, adjusted for any remainder from the high double.
30785         * math/libm-test.inc (nearbyint): Add tests.
30786         (rint): Likewise.
30788 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30790         * nptl/sysdeps/powerpc/Makefile: Moved ...
30791         * sysdeps/powerpc/nptl/Makefile: ... here.
30792         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
30793         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
30794         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
30795         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
30796         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
30797         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
30798         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
30799         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
30800         * nptl/sysdeps/powerpc/tls.h: Moved ...
30801         * sysdeps/powerpc/nptl/tls.h: ... here.
30803 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
30805         [BZ #16681]
30806         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
30807         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
30808         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
30809         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
30810         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
30811         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
30812         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
30813         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
30814         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
30816 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
30818         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30820 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
30822         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
30823         defined operator.
30825         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
30826         $TIMEOUTFACTOR.
30828 2014-06-16  Florian Weimer  <fweimer@redhat.com>
30830         [BZ #17058]
30831         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
30832         non-executed part of the test.
30834 2014-06-16  Andreas Schwab  <schwab@suse.de>
30836         * string/bits/string2.h (strdup, strndup): Update feature guard.
30838 2014-06-14  David S. Miller  <davem@davemloft.net>
30840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30842 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
30844         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
30845         that was previously under [RESET_PID].
30846         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
30848         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
30849         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
30850         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
30851         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30852         (__libc_vfork): New strong alias.
30853         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
30855 2014-06-14 Andi Kleen  <ak@linux.intel.com>
30857         * sysdeps/generic/elide.h: New file.
30859 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30861         * Makefile (installed-headers): Adjust path of pthread.h header.
30863 2014-06-13  Roland McGrath  <roland@hack.frob.com>
30865         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
30866         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
30867         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
30868         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
30870         * nptl/sysdeps/s390/Makefile: Moved ...
30871         * sysdeps/s390/nptl/Makefile: ... here.
30872         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
30873         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
30874         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
30875         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
30876         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
30877         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
30878         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
30879         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
30880         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
30881         * sysdeps/s390/nptl/pthreaddef.h: ... here.
30882         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
30883         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
30884         * nptl/sysdeps/s390/tls.h: Moved ...
30885         * sysdeps/s390/nptl/tls.h: ... here.
30887         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30888         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
30890 2014-06-13  David S. Miller  <davem@davemloft.net>
30892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
30893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
30894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
30895         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
30896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
30897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
30898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
30899         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
30900         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
30901         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
30902         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
30903         Remove RESET_PID cpp guards.
30904         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
30905         Remove RESET_PID cpp guards.
30906         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
30908 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
30910         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
30911         __sp to uintptr_t.
30913 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30915         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
30916         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
30917         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
30918         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
30919         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
30920         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
30921         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
30922         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
30923         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
30924         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
30925         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
30926         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
30927         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
30928         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
30929         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
30930         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
30931         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
30932         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
30933         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
30934         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
30936         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
30937         (pthread_rwlock_rdlock): Add elision.
30938         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
30939         (pthread_rwlock_wrlock): Add elision.
30940         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
30941         (pthread_rwlock_trywrlock): Add elision.
30942         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30943         (pthread_rwlock_tryrdlock): Add elision.
30944         * nptl/pthread_rwlock_unlock.c: Include elide.h.
30945         (pthread_rwlock_tryrdlock): Add elision unlock.
30946         * nptl/sysdeps/pthread/pthread.h:
30947         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30948         (PTHREAD_RWLOCK_INITIALIZER,
30949         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30950         Handle new elision field.
30951         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30952         * sysdeps/arm/nptl/bits/pthreadtypes.h
30953         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30954         * sysdeps/sh/nptl/bits/pthreadtypes.h
30955         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30956         * sysdeps/tile/nptl/bits/pthreadtypes.h
30957         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30958         * sysdeps/a/nptl/bits/pthreadtypes.h
30959         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30960         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30961         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30962         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30963         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30964         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30965         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30966         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30967         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30968         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30969         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30970         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30971         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30972         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30973         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30974         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30975         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30976         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30977         (elision_init): Set try_xbegin to zero when no RTM.
30978         * sysdeps/x86/nptl/bits/pthreadtypes.h
30979         (pthread_rwlock_t): Change __pad1 to __rwelision.
30980         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30982 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30984         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30985         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30986         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30987         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30989 2014-06-13  Meador Inge  <meadori@codesourcery.com>
30991         [BZ #16996]
30992         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30993         that the cached result has been set before returning it.
30995 2014-06-12  Roland McGrath  <roland@hack.frob.com>
30997         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30998         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30999         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31000         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31001         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31002         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31004         * nptl/sysdeps/sparc/Makefile: Moved ...
31005         * sysdeps/sparc/nptl/Makefile: ... here.
31006         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31007         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31008         * nptl/sysdeps/sparc/tls.h: Moved ...
31009         * sysdeps/sparc/nptl/tls.h: ... here.
31010         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31011         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31012         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31013         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31014         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31015         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31016         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31017         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31018         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31019         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31020         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31021         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31022         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31023         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31024         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31025         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31026         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31027         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31028         Update #include.
31029         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31030         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31031         Update #include.
31032         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31033         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31034         Update #include.
31035         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31036         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31037         Update #include.
31039         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31041         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31042         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31044         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31045         (struct list_links): Type removed.
31046         (struct thread_node, struct timer_node): Replace struct list_links
31047         with struct list_head.
31048         (list_unlink_ip): Likewise.
31049         * sysdeps/pthread/timer_routines.c
31050         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31051         (list_append, list_insbefore): Likewise.
31052         (list_init): Function removed.
31053         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31054         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31055         * sysdeps/pthread/Makefile: ... here, new file.
31057         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31058         * sysdeps/nptl/Implies: ... here.
31059         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31060         * nptl/sysdeps/pthread/list.h: Moved ...
31061         * include/list.h: ... here.
31062         * nptl/sysdeps/pthread/createthread.c: Moved ...
31063         * nptl/createthread.c: ... here.
31064         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31065         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31066         * nptl/pt-longjmp.c: ... here.
31067         * nptl/sysdeps/pthread/Makefile: Moved ...
31068         * sysdeps/nptl/Makefile: ... here.
31069         * nptl/sysdeps/pthread/Subdirs: Moved ...
31070         * sysdeps/nptl/Subdirs: ... here.
31071         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31072         * sysdeps/nptl/aio_misc.h: ... here.
31073         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31074         * sysdeps/nptl/bits/libc-lock.h: ... here.
31075         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31076         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31077         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31078         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31079         * nptl/sysdeps/pthread/configure: Moved ...
31080         * sysdeps/nptl/configure: ... here.
31081         * nptl/sysdeps/pthread/configure.ac: Moved ...
31082         * sysdeps/nptl/configure.ac: ... here.
31083         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31084         * sysdeps/nptl/gai_misc.h: ... here.
31085         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31086         * sysdeps/nptl/librt-cancellation.c: ... here.
31087         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31088         * sysdeps/nptl/malloc-machine.h: ... here.
31089         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31090         * sysdeps/nptl/pthread-functions.h: ... here.
31091         * nptl/sysdeps/pthread/pthread.h: Moved ...
31092         * sysdeps/nptl/pthread.h: ... here.
31093         * nptl/sysdeps/pthread/setxid.h: Moved ...
31094         * sysdeps/nptl/setxid.h: ... here.
31095         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31096         * sysdeps/nptl/sigfillset.c: ... here.
31097         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31098         * sysdeps/nptl/tcb-offsets.h: ... here.
31099         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31100         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31101         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31102         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31103         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31104         * sysdeps/pthread/allocalim.h: ... here.
31105         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31106         * sysdeps/pthread/bits/sigthread.h: ... here.
31107         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31108         * sysdeps/pthread/flockfile.c: ... here.
31109         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31110         * sysdeps/pthread/ftrylockfile.c: ... here.
31111         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31112         * sysdeps/pthread/funlockfile.c: ... here.
31113         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31114         * sysdeps/pthread/posix-timer.h: ... here.
31115         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31116         * sysdeps/pthread/timer_create.c: ... here.
31117         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31118         * sysdeps/pthread/timer_delete.c: ... here.
31119         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31120         * sysdeps/pthread/timer_getoverr.c: ... here.
31121         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31122         * sysdeps/pthread/timer_gettime.c: ... here.
31123         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31124         * sysdeps/pthread/timer_routines.c: ... here.
31125         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31126         * sysdeps/pthread/timer_settime.c: ... here.
31127         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31128         * sysdeps/pthread/tst-timer.c: ... here.
31129         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31130         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31132         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31133         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31135         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31136         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31137         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31138         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31139         Update #include target.
31140         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31141         * sysdeps/i386/i686/nptl/Makefile: ... here.
31142         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31143         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31144         Update #include target.
31145         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31146         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31147         * nptl/sysdeps/i386/Makefile: Moved ...
31148         * sysdeps/i386/nptl/Makefile: ... here.
31149         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31150         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31151         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31152         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31153         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31154         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31155         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31156         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31157         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31158         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31159         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31160         * nptl/sysdeps/i386/tls.h: Moved ...
31161         * sysdeps/i386/nptl/tls.h: ... here.
31163         * sysdeps/sh/Makefile [$(subdir) = csu]
31164         (gen-as-const-headers): Add tcb-offsets.sym.
31165         * nptl/sysdeps/sh/Makefile: File removed.
31166         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31167         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31168         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31169         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31170         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31171         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31172         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31173         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31174         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31175         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31176         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31177         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31178         * nptl/sysdeps/sh/tls.h: Moved ...
31179         * sysdeps/sh/nptl/tls.h: ... here.
31180         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31181         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31182         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31183         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31184         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31185         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31186         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31187         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31188         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31189         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31190         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31191         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31192         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31193         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31194         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31195         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31196         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31197         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31198         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31199         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31200         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31201         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31202         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31203         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31204         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31205         Moved ...
31206         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31207         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31208         Moved ...
31209         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31210         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31211         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31212         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31213         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31214         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31215         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31216         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31217         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31218         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31219         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31220         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31221         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31222         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31223         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31224         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31225         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31226         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31227         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31229 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31231         * posix/spawn_faction_addopen.c: Include string.h.
31233 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31235         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31236         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31237         * nptl/sysdeps/x86_64/Makefile: Moved ...
31238         * sysdeps/x86_64/nptl/Makefile: ... here.
31239         * nptl/sysdeps/x86_64/configure: Moved ...
31240         * sysdeps/x86_64/nptl/configure: ... here.
31241         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31242         * sysdeps/x86_64/nptl/configure.ac: ... here.
31243         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31244         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31245         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31246         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31247         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31248         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31249         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31250         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31251         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31252         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31253         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31254         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31255         * nptl/sysdeps/x86_64/tls.h: Moved ...
31256         * sysdeps/x86_64/nptl/tls.h: ... here.
31257         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31258         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31259         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31260         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31262         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31264 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31268 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31270         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31271         type.
31272         [POSIX] (off_t): Likewise.
31273         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31274         [POSIX] (S_ISBLK): Require macro.
31275         [POSIX] (S_ISCHR): Likewise.
31276         [POSIX] (S_ISDIR): Likewise.
31277         [POSIX] (S_ISFIFO): Likewise.
31278         [POSIX] (S_ISREG): Likewise.
31279         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31280         optional-macro.
31281         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31282         type.
31283         [POSIX] (time_t): Likewise.
31284         [POSIX] (timer_t): Likewise.
31286 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31288         [BZ #17048]
31289         * posix/spawn_int.h (struct __spawn_action): Make the path string
31290         non-const to support deallocation.
31291         * posix/spawn_faction_addopen.c
31292         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31293         * posix/spawn_faction_destroy.c
31294         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31295         path in all spawn_do_open actions.
31296         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31297         posix_spawn_file_actions_addopen.
31299 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31301         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31302         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31303         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31304         conditional code always true.
31305         (__libc_vfork): New alias.
31307 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31309         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31310         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31312         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31314         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31315         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31317         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31318         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31320         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31321         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31323 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31325         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31326         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31327         multiarch strcmp for PPC64.
31328         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31329         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31331         multiarch optimizations.
31332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31333         (__libc_ifunc_impl_list): Likewise.
31335 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31337         * benchtests/scripts/validate_benchout.py: New script.
31338         * benchtests/Makefile (bench-func): Call it.
31339         * benchtests/scripts/benchout.schema.json: New file.
31341 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
31343         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31344         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31345         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31346         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31347         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31348         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31349         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31350         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31351         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31352         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31353         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31354         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31355         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31356         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31357         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31358         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31360         Moved ...
31361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31362         ... here.
31363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31364         Moved ...
31365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31367         Moved ...
31368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31369         ... here.
31370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31371         Moved ...
31372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31373         ... here.
31374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31375         Moved ...
31376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31378         Moved ...
31379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31380         ... here.
31381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31382         Moved ...
31383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31384         ... here.
31385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31386         Moved ...
31387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31389         Moved ...
31390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31391         ... here.
31392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31393         Moved ...
31394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31395         ... here.
31396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31397         Moved ...
31398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31399         ... here.
31400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31401         Moved ...
31402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31404         Moved ...
31405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31406         ... here.
31407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31408         Moved ...
31409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31410         ... here.
31411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31412         Moved ...
31413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31414         ... here.
31415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31416         Moved ...
31417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31419         Moved ...
31420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31421         ... here.
31422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31423         Moved ...
31424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31425         ... here.
31426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31427         Moved ...
31428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31430         Moved ...
31431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31432         ... here.
31433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31434         Moved ...
31435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31437         Moved ...
31438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31440         Moved ...
31441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31442         ... here.
31443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31444         Moved ...
31445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31446         ... here.
31447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31448         Moved ...
31449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31450         ... here.
31451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31452         Moved ...
31453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31455         Moved ...
31456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31457         ... here.
31458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31459         Moved ...
31460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31461         ... here.
31462         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31463         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31464         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31465         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31466         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31467         Moved ...
31468         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31469         ... here.
31470         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31471         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31472         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31473         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31474         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31475         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31476         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31477         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31478         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31479         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31480         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31481         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31482         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31483         Moved ...
31484         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31485         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31486         Moved ...
31487         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31488         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31489         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31490         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31491         Moved ...
31492         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31493         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31494         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31495         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31496         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31497         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31498         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31500 2014-06-10  Wilco  <wdijkstr@arm.com>
31502         * math/test-fenv-return.c: New file.
31503         * math/Makefile: Add new test test-fenv-return.
31505 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
31507         [BZ #17042]
31508         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31509         when x - 1 is zero.
31510         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31511         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31512         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31513         0.0L for an argument of 1.0L.
31514         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31515         Likewise.
31516         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31517         value when x - 1 is zero.
31518         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31519         * sysdeps/i386/fpu/libm-test-ulps: Update.
31520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31522 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
31524         [BZ #15119]
31525         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31527 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31529         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31530         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31532 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31534         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31535         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31537         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31538         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31540         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31541         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31543         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31544         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31546         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31547         if not already defined.
31548         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31549         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31550         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31551         (TLS_INIT_TP): Use it.
31552         (TLS_DEFINE_INIT_TP): New macro.
31553         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31555 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
31557         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31558         constant.
31559         [POSIX] (IXANY): Likewise.
31560         [POSIX] (OLCUC): Likewise.
31561         [POSIX || POSIX2008] (CBAUD): Do not allow.
31562         [POSIX || POSIX2008] (DEFECHO): Likewise.
31563         [POSIX || POSIX2008] (ECHOCTL): Likewise.
31564         [POSIX || POSIX2008] (ECHOKE): Likewise.
31565         [POSIX || POSIX2008] (ECHOPRT): Likewise.
31566         [POSIX || POSIX2008] (EXTA): Likewise.
31567         [POSIX || POSIX2008] (EXTB): Likewise.
31568         [POSIX || POSIX2008] (FLUSHO): Likewise.
31569         [POSIX || POSIX2008] (LOBLK): Likewise.
31570         [POSIX || POSIX2008] (PENDIN): Likewise.
31571         [POSIX || POSIX2008] (SWTCH): Likewise.
31572         [POSIX || POSIX2008] (VDISCARD): Likewise.
31573         [POSIX || POSIX2008] (VDSUSP): Likewise.
31574         [POSIX || POSIX2008] (VLNEXT): Likewise.
31575         [POSIX || POSIX2008] (VREPRINT): Likewise.
31576         [POSIX || POSIX2008] (VSTATUS): Likewise.
31577         [POSIX || POSIX2008] (VWERASE): Likewise.
31578         (B*): Change to B[0123456789]*.
31579         * conform/data/time.h-data [POSIX || UNIX98]
31580         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31581         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31582         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31583         [POSIX] (tm_*): Do not allow.
31585 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
31587         * Makefile (install): Don't set LANGUAGE.
31588         * Makefile.in (install): Likewise.
31589         * assert/Makefile (test-assert-ENV): Remove variable.
31590         (test-assert-perr-ENV): Likewise.
31591         * elf/Makefile (neededtest4-ENV): Likewise.
31592         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31593         [$(cross-compiling) = no]: Don't set LANGUAGE.
31594         * io/ftwtest-sh (LANG): Remove variable.
31595         * libio/Makefile (tst-widetext-ENV): Likewise.
31596         * manual/install.texi (Running make install): Don't refer to
31597         environment settings for make install.
31598         * INSTALL: Regenerated.
31599         * nptl/tst-tls6.sh: Don't set LANG.
31600         * posix/globtest.sh (LANG): Remove variable.
31601         * string/Makefile (tester-ENV): Likewise.
31602         (inl-tester-ENV): Likewise.
31603         (noinl-tester-ENV): Likewise.
31604         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31605         [$(cross-compiling) = no]: Don't set LANGUAGE.
31606         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31607         without explicit environment settings.
31609 2014-06-06  Roland McGrath  <roland@hack.frob.com>
31611         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31612         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31613         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31614         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31616 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
31618         * crypt/crypt-private.h [DOS]: Add some includes taken from the
31619         other files in the crypt directory.
31620         * crypt/crypt.c: Remove duplicate includes.
31621         * crypt/crypt-entry.c: Likewise.
31622         * crypt/crypt_util.c: Likewise.
31624 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31626         * Makeconfig (run-program-env): New variable.
31627         (run-program-prefix-before-env): Likewise.
31628         (run-program-prefix-after-env): Likewise.
31629         (run-program-prefix): Define in terms of new variables.
31630         (built-program-cmd-before-env): New variable.
31631         (built-program-cmd-after-env): Likewise.
31632         (built-program-cmd): Define in terms of new variables.
31633         (test-program-prefix-before-env): New variable.
31634         (test-program-prefix-after-env): Likewise.
31635         (test-program-prefix): Define in terms of new variables.
31636         (test-program-cmd-before-env): New variable.
31637         (test-program-cmd-after-env): Likewise.
31638         (test-program-cmd): Define in terms of new variables.
31639         * Rules (make-test-out): Use $(run-program-env).
31640         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31641         (help): Do not mention environment variables.  Mention
31642         --timeoutfactor option.
31643         (timeoutfactor): New variable.
31644         (blacklist_exports): Remove function.
31645         (exports): Remove variable.
31646         (command): Do not include ${exports}.
31647         * manual/install.texi (Configuring and compiling): Do not mention
31648         test wrappers preserving environment variables.  Mention that last
31649         assignment to a variable must take precedence.
31650         * INSTALL: Regenerated.
31651         * benchtests/Makefile (run-bench): Use $(run-program-env).
31652         * catgets/Makefile ($(objpfx)test1.cat): Use
31653         $(built-program-cmd-before-env), $(run-program-env) and
31654         $(built-program-cmd-after-env).
31655         ($(objpfx)test2.cat): Do not specify environment variables
31656         explicitly.
31657         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31658         $(run-program-env) and $(built-program-cmd-after-env).
31659         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31660         $(run-program-env) and $(test-program-cmd-after-env).
31661         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31662         explicitly.
31663         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31664         run_program_env and test_program_cmd_after_env arguments.
31665         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31666         * elf/tst-pathopt.sh: Use run_program_env argument.
31667         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31668         $(test-wrapper-env) and $(run-program-env).
31669         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31670         run_program_env arguments.
31671         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31672         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31673         $(test-program-prefix-before-env), $(run-program-env) and
31674         $(test-program-prefix-after-env).
31675         ($(objpfx)tst-gettext2.out): Likewise.
31676         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31677         run_program_env and test_program_prefix_after_env arguments.
31678         * intl/tst-gettext2.sh: Likewise.
31679         * intl/tst-gettext4.sh: Do not set environment variables
31680         explicitly.
31681         * intl/tst-gettext6.sh: Likewise.
31682         * intl/tst-translit.sh: Likewise.
31683         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31684         $(test-program-prefix-before-env), $(run-program-env) and
31685         $(test-program-prefix-after-env).
31686         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31687         run_program_env and test_program_prefix_after_env arguments.
31688         * math/Makefile (run-regen-ulps): Use $(run-program-env).
31689         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31690         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
31691         explicitly with each use of ${test_wrapper_env}.
31692         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31693         $(test-program-prefix-before-env), $(run-program-env) and
31694         $(test-program-prefix-after-env).
31695         * posix/tst-getconf.sh: Do not set environment variables
31696         explicitly.
31697         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31698         run_program_env and test_program_prefix_after_env arguments.
31699         * stdio-common/tst-printf.sh: Do not set environment variables
31700         explicitly.
31701         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31702         $(test-program-prefix-before-env), $(run-program-env) and
31703         $(test-program-prefix-after-env).
31704         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31705         run_program_env and test_program_prefix_after_env arguments.
31706         Split $test calls into $test_pre and $test.
31707         * timezone/Makefile (build-testdata): Use
31708         $(built-program-cmd-before-env), $(run-program-env) and
31709         $(built-program-cmd-after-env).
31711 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31713         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31714         strlen for non SHARED builds.
31716 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31718         * nptl/allocatestack.c (check_list): Inlined function...
31719         (__reclaim_stacks): ... here.
31721 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31723         [BZ #15698]
31724         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31725         memory overrun.
31727 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
31729         * Rules (make-test-out): Include
31730         LOCPATH=$(common-objpfx)localedata in default environment.
31731         * debug/Makefile (tst-chk1-ENV): Remove variable.
31732         (tst-chk2-ENV): Likewise.
31733         (tst-chk3-ENV): Likewise.
31734         (tst-chk4-ENV): Likewise.
31735         (tst-chk5-ENV): Likewise.
31736         (tst-chk6-ENV): Likewise.
31737         (tst-lfschk1-ENV): Likewise.
31738         (tst-lfschk2-ENV): Likewise.
31739         (tst-lfschk3-ENV): Likewise.
31740         (tst-lfschk4-ENV): Likewise.
31741         (tst-lfschk5-ENV): Likewise.
31742         (tst-lfschk6-ENV): Likewise.
31743         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
31744         (tst-iconv7-ENV): Likewise.
31745         * intl/Makefile (LOCPATH-ENV): Likewise.
31746         (tst-codeset-ENV): Likewise.
31747         (tst-gettext3-ENV): Likewise.
31748         (tst-gettext5-ENV): Likewise.
31749         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
31750         (tst-fopenloc-ENV): Likewise.
31751         (tst-fgetws-ENV): Remove variable.
31752         (tst-ungetwc1-ENV): Likewise.
31753         (tst-ungetwc2-ENV): Likewise.
31754         (bug-ungetwc2-ENV): Likewise.
31755         (tst-swscanf-ENV): Likewise.
31756         (bug-ftell-ENV): Likewise.
31757         (tst-fgetwc-ENV): Likewise.
31758         (tst-fseek-ENV): Likewise.
31759         (tst-ftell-partial-wide-ENV): Likewise.
31760         (tst-ftell-active-handler-ENV): Likewise.
31761         (tst-ftell-append-ENV): Likewise.
31762         * posix/Makefile (tst-fnmatch-ENV): Likewise.
31763         (tst-regexloc-ENV): Likewise.
31764         (bug-regex1-ENV): Likewise.
31765         (tst-regex-ENV): Likewise.
31766         (tst-regex2-ENV): Likewise.
31767         (bug-regex5-ENV): Likewise.
31768         (bug-regex6-ENV): Likewise.
31769         (bug-regex17-ENV): Likewise.
31770         (bug-regex18-ENV): Likewise.
31771         (bug-regex19-ENV): Likewise.
31772         (bug-regex20-ENV): Likewise.
31773         (bug-regex22-ENV): Likewise.
31774         (bug-regex23-ENV): Likewise.
31775         (bug-regex25-ENV): Likewise.
31776         (bug-regex26-ENV): Likewise.
31777         (bug-regex30-ENV): Likewise.
31778         (bug-regex32-ENV): Likewise.
31779         (bug-regex33-ENV): Likewise.
31780         (bug-regex34-ENV): Likewise.
31781         (bug-regex35-ENV): Likewise.
31782         (tst-rxspencer-ENV): Likewise.
31783         (tst-rxspencer-no-utf8-ENV): Likewise.
31784         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
31785         (tst-sscanf-ENV): Likewise.
31786         (tst-swprintf-ENV): Likewise.
31787         (tst-swscanf-ENV): Likewise.
31788         (test-vfprintf-ENV): Likewise.
31789         (scanf13-ENV): Likewise.
31790         (bug14-ENV): Likewise.
31791         (tst-grouping-ENV): Likewise.
31792         * stdlib/Makefile (tst-strtod-ENV): Likewise.
31793         (tst-strtod3-ENV): Likewise.
31794         (tst-strtod4-ENV): Likewise.
31795         (tst-strtod5-ENV): Likewise.
31796         (testmb2-ENV): Likewise./
31797         * string/Makefile (tst-strxfrm-ENV): Likewise.
31798         (tst-strxfrm2-ENV): Likewise.
31799         (bug-strcoll1-ENV): Likewise.
31800         (test-strcasecmp-ENV): Likewise.
31801         (test-strncasecmp-ENV): Likewise.
31802         * time/Makefile (tst-strptime-ENV): Likewise.
31803         (tst-ftime_l-ENV): Likewise.
31804         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
31805         (tst-mbrtowc-ENV): Likewise.
31806         (tst-wcrtomb-ENV): Likewise.
31807         (tst-mbrtowc2-ENV): Likewise.
31808         (tst-c16c32-1-ENV): Likewise.
31809         (tst-mbsnrtowcs-ENV): Likewise.
31811 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31813         * manual/resource.texi (How to get information about the memory
31814         subsystem?): Fix typo.
31815         Reported by Peon de la Parra Ivan <peon@keba.com>
31817 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
31819         [BZ #16882]
31820         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
31821         (pthread_spin_lock): Branch out of spin loop to proper location.
31822         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
31823         (pthread_spin_lock): Likewise.
31825         * nptl/tst-spin4.c: New test.
31826         * nptl/Makefile (tests): Add tst-spin4.
31828 2014-06-03  Andreas Schwab  <schwab@suse.de>
31830         [BZ #15946]
31831         * resolv/res_send.c (send_dg): Reload file descriptor after
31832         calling reopen.
31834 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
31836         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31838 2014-06-03  Richard Henderson  <rth@redhat.com>
31840         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
31841         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
31842         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
31843         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
31844         in the SAVE_PID block.
31845         (__libc_vfork): New alias.
31846         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
31848         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
31849         child in registers, not on the stack.  Remove RESET_PID conditionals.
31850         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
31852 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31854         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31856 2014-06-03  Wilco  <wdijkstr@arm.com>
31858         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
31859         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
31860         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31861         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
31862         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
31863         Likewise.
31865 2014-06-03  Wilco  <wdijkstr@arm.com>
31867         * sysdeps/aarch64/fpu/math_private.h
31868         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
31869         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
31870         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
31871         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31872         Fix declarations.
31874 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31876         * crypt/crypt-private.h: Include ufc-crypt.h.
31877         (__b64_from_24bit): Declare extern.
31878         * crypt/crypt_util.c(__b64_from_24bit): New function.
31879         (b64t): New static const variable.
31880         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
31881         (b64t): Remove variable.
31882         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
31883         * crypt/sha256-crypt.c: Include crypt-private.h.
31884         (b64t): Remove variable.
31885         (__sha256_crypt_r): Remove b64_from_24bit and replace
31886         with __b64_from_24bit.
31887         * crypt/sha512-crypt.c: Likewise.
31889 2014-06-02  Roland McGrath  <roland@hack.frob.com>
31891         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
31892         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
31893         Label the code __libc_vfork rather than __vfork.
31894         [!NOT_IN_libc] (vfork): Define as weak alias.
31895         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
31896         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
31897         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
31899 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31901         * malloc/malloc.c (malloc_info): Fix format specifier for
31902         n_mmaps.
31904 2014-06-02  Wilco  <wdijkstr@arm.com>
31906         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
31907         FPCR write.
31909 2014-06-02  Wilco  <wdijkstr@arm.com>
31911         [BZ #17009]
31912         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
31913         Rewrite to reduce FPCR/FPSR accesses.
31915 2014-06-01  David S. Miller  <davem@davemloft.net>
31917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31919 2014-05-31  David S. Miller  <davem@davemloft.net>
31921         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
31922         to occur in round to nearest mode when |x| >= 2.0
31924 2014-05-30  Richard Henderson  <rth@twiddle.net>
31926         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
31927         (PSEUDO_RET_NOERRNO): Remove.
31928         (ret): Don't redefine.
31929         (ret_NOERRNO): Define in terms of ret.
31930         (ret_ERRVAL): Likewise.
31932         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
31933         use of PSEUDO_RET; perform the error check directly.
31935 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
31937         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
31938         with __int128_t.
31940 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31942         * malloc/malloc (malloc_info): Fix formatting.
31944 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31945             Roland McGrath  <roland@hack.frob.com>
31947         * malloc/malloc (malloc_info): Also print mmapped statistics.
31949 2014-05-30  Roland McGrath  <roland@hack.frob.com>
31951         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31952         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31954 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
31956         * malloc/malloc.c (malloc_info): Inline mi_arena.
31958 2014-05-29  Richard Henderson  <rth@twiddle.net>
31960         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31961         Remove comma before expanding ASM_ARGS_##nr.
31962         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31963         Make _x0 a strict output; make _x8 a strict input; adjust expansion
31964         of ASM_ARGS_##nr.
31965         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31966         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31967         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31968         (ASM_ARGS_1): Add leading comma.
31970         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31971         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31972         to __errno_location.
31973         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31974         Remove the expected plt for __errno_location.
31976         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31977         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31978         call to __read_tp.
31980         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31981         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
31982         it and break it down.
31983         (DOCARGS_0, DOCARGS_1): Do nothing.
31984         (DOCARGS_2): Update to store into the new stack frame.
31985         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31986         (UNDOCARGS_1): Update to restore from the new stack frame.
31987         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31988         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31990         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31991         (SINGLE_THREAD_P): New parameter for result regno.
31992         (PSEUDO): Update to match; use cbz instead of beq.
31994         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31995         Use ENTRY to define the _nocancel entry point.  Share the syscall
31996         and syscall error check paths with the cancel path.
31997         (PSEUDO_END): New.
31999         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32000         whitespace; tabs before and after asm mnemonics.
32002 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32004         [BZ #15132]
32005         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32006         Call fstat64 or stat64 internally, depending on arguments passed.
32007         Replace stat buffer argument with file descriptor argument.
32008         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32009         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32010         Pass fd to __internal_statvfs instead of calling fstat64.
32011         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32012         Pass fd to __internal_statvfs64 instead of calling fstat64.
32013         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32014         Pass -1 to __internal_statvfs instead of calling stat64.
32015         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32016         Pass -1 to __internal_statvfs64 instead of calling stat64.
32018 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32020         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32021         that was previously under [RESET_PID].
32022         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32024         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32025         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32027 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32029         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32031         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32032         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32034 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32036         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32038 2014-05-27  Andreas Schwab  <schwab@suse.de>
32040         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32041         TLS_INIT_TP macro.
32042         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32043         * elf/rtld.c (init_tls, dl_main): Likewise.
32044         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32045         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32046         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32047         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32048         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32049         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32050         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32051         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32052         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32053         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32054         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32055         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32056         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32057         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32058         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32059         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32060         * sysdeps/generic/tls.h: Update description.
32062 2014-05-27  Will Newton  <will.newton@linaro.org>
32064         [BZ #16990]
32065         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32066         and restore r2 rather than just restoring.
32068 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32070         [BZ #16724]
32071         * libio/tst-ftell-append.c: New test case.
32072         * libio/Makefile (tests): Add test case.
32073         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32074         append mode.
32075         * libio/wfileops.c (do_ftell_wide): Likewise.
32077 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32081         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32082         ...
32083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32085         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32086         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32087         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32088         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32089         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32090         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32092         Moved ...
32093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32094         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32095         Moved ...
32096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32097         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32098         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32099         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32100         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32101         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32102         ...
32103         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32104         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32105         Moved ...
32106         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32107         here.
32108         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32109         ...
32110         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32111         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32112         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32114         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32115         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32116         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32117         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32119         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32120         merge into ...
32121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32122         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32123         ...
32124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32125         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32126         ...
32127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32128         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32129         Moved ...
32130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32131         here.
32132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32133         Moved ...
32134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32135         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32136         Moved ...
32137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32140         conditional [RESET_PID].
32141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32143         removed.
32144         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32145         removed.
32147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32148         <tcb-offsets.h>.
32149         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32150         (__libc_vfork): New strong alias.
32151         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32152         removed.
32153         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32154         Removed.
32156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32157         <tcb-offsets.h>.
32158         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32159         (__libc_vfork): New strong alias.
32160         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32161         removed.
32162         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32163         removed.
32165 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32167         * malloc/malloc.c (mi_arena): New function.
32168         (malloc_info): Remove nested function mi_arena. Call non-nosted
32169         function mi_arena.
32171 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32173         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32174         by insrwi.
32175         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32176         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32177         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32178         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32179         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32180         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32181         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32183 2014-05-26  Andreas Schwab  <schwab@suse.de>
32185         [BZ #16984]
32186         * locale/programs/repertoire.c (repertoire_read): Add slash
32187         between I18NPATH element and file name.
32188         * locale/programs/locfile.c (locfile_read): Likewise.
32190 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32192         * nptl/pthread_mutexattr_settype.c
32193         (__pthread_mutexattr_settype):
32194         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32196 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32198         * nptl/tst-mutex5 (do_test):
32199         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32201 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32203         * benchtests/README: Document 'init' directive.
32204         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32205         BENCH_INIT.
32206         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32207         (parse_file): Recognize 'init' directive.
32209 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32211         [BZ #16796]
32212         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32213         alignment of struct pthread.
32215 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32217         [BZ #16878]
32218         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32219         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32220         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32221         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32223 2014-05-25  Richard Henderson  <rth@twiddle.net>
32225         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32226         (SINGLE_THREAD_P_PIC): Remove.
32227         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32228         (SINGLE_THREAD_P_PIC): Remove.
32230         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32231         branch to syscall error ...
32232         (PSEUDO): ... here.
32233         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32234         from __local_syscall_error to .Lsyscall_error.
32235         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32236         (SYSCALL_ERROR): Update label name.
32238         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32239         Do not use DOARGS/UNDOARGS.
32240         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32241         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32242         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32243         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32244         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32246         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32247         block comment.
32249         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32250         define if !NOT_IN_libc.
32251         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32252         define with non-default symbol versions.
32254 2014-05-23  Richard Henderson  <rth@twiddle.net>
32256         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32257         (vfork, __vfork): Define via compat_symbol.
32259         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32260         [!HAVE_IFUNC] (vfork_compat): Remove.
32261         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32263 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32265         [BZ #16978]
32266         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32267         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32268         variable.
32270 2014-05-23  Richard Henderson  <rth@twiddle.net>
32272         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32273         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32274         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32275         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32277         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32278         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32279         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32280         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32281         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32282         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32283         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32284         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32285         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32286         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32287         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32288         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32289         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32290         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32291         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32292         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32293         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32294         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32295         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32296         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32297         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32298         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32299         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32300         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32301         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32302         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32303         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32304         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32305         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32306         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32307         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32308         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32309         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32310         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32311         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32312         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32313         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32314         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32315         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32316         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32317         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32318         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32319         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32320         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32321         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32322         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32323         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32324         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32325         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32326         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32327         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32328         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32329         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32330         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32331         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32332         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32334         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32335         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32336         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
32337         before exiting on error.
32338         (__libc_vfork): New strong alias.
32339         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32340         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32342         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32343         that was previously under [RESET_PID].
32344         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32346         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32348 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32350         [BZ #16977]
32351         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32352         value when x - 1 is zero.
32353         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32354         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32355         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32356         0.0L for an argument of 1.0L.
32357         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32358         Likewise.
32359         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32360         value when x - 1 is zero.
32361         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32362         * sysdeps/i386/fpu/libm-test-ulps: Update.
32363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32365 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32367         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32368         alphasort and versionsort.
32370 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32372         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32373         macro.
32374         [copysignf]: Likewise.
32376 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32378         * crypt/md5-crypt.c: Fix formatting.
32380 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32382         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32383         (b64_from_24bit): New function.
32385 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32387         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32388         libc_hidden_builtin_def to ifunc.
32389         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32390         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32392 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32394         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32395         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32397 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32399         * nscd/Depend (linuxthreads): Remove.
32400         (nptl): Add.
32401         * resolv/Depend (linuxthreads): Remove.
32402         * rt/Depend (linuxthreads): Remove.
32404         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32405         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32406         $(common-objpfx)elf/.
32407         (link-libc-before-gnulib): Likewise.
32408         (elfobjdir): Remove variable.
32409         * Makefile (install): Use $(elf-objpfx) instead of
32410         $(common-objpfx)elf/.
32411         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32412         $(elfobjdir)/.
32413         (link-libc-deps): Likewise.
32414         ($(common-objpfx)libc.so): Likewise.
32415         ($(common-objpfx)linkobj/libc.so): Likewise.
32416         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32417         instead of $(common-objpfx)elf/.
32418         (symbolic-link-list): Likewise.
32419         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32420         [$(cross-compiling) = no]: Likewise.
32421         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32422         $(elfobjdir)/.
32423         (static-gnulib-arch): Likewise.
32424         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32425         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32426         $(common-objpfx)elf/.
32428 2014-05-21  Richard Henderson  <rth@redhat.com>
32430         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32431         (SINGLE_THREAD_P): Use the correct width load.  Fold
32432         into the ldr offset.
32434         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32435         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32437 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32439         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32440         (libgcc_s_resume): Use __attribute_used__.
32441         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32442         Likewise.
32444 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32446         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32447         optimization when used with float constants.
32449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32451 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32453         [BZ #16915]
32454         * locale/nl_langinfo_l.c: Make direct reference to every
32455         _nl_current_CATEGORY symbol.
32456         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32457         (tests-static): Add tst-langinfo-static.
32458         (tests-special): Add tst-langinfo-static.out.
32459         ($(objpfx)tst-langinfo.out): Redirect output.
32460         ($(objpfx)tst-langinfo-static.out): New.
32461         * localedata/tst-langinfo.sh: Send output to stdout.
32462         * localedata/tst-langinfo-static.c: New file.
32464         [BZ #16965]
32465         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32466         when the shift amount is modulo the limb size.
32468 2014-05-20  Richard Henderson  <rth@redhat.com>
32470         [BZ #16967]
32471         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32472         Change type of sa_flags from unsigned int to int.
32474         [BZ #16966]
32475         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32477         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32479 2014-05-20  Will Newton  <will.newton@linaro.org>
32481         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32482         Test the return value of the system call in the nocancel case.
32484 2014-05-20  Will Newton  <will.newton@linaro.org>
32485             Yvan Roux  <yvan.roux@linaro.org>
32487         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32488         #include of asm/ptrace.h.
32489         (PTRACE_GET_THREAD_AREA): Remove #undef.
32490         (PTRACE_GETHBPREGS): Likewise.
32491         (PTRACE_SETHBPREGS): Likewise.
32492         (struct user_regs_struct): New structure.
32493         (struct user_fpsimd_struct): New structure.
32494         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32495         #include of asm/ptrace.h and second #include of sys/user.h.
32496         (PTRACE_GET_THREAD_AREA): Remove #undef.
32497         (PTRACE_GETHBPREGS): Likewise.
32498         (PTRACE_SETHBPREGS): Likewise.
32499         (ELF_NGREG): Use new struct user_regs_struct.
32500         (elf_fpregset_t): Use new struct user_fpsimd_struct.
32502 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32504         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32505         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32507 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
32509         [BZ #16958]
32510         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32511         membar to avoid block loads/stores to overlap previous stores.
32513 2014-05-17  Richard Henderson  <rth@redhat.com>
32515         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32516         Create the __##syscall_name##_nocancel entry point.
32517         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32518         Remove; let the sysdep-cancel.h code create it.
32520 2014-05-17  David S. Miller  <davem@davemloft.net>
32522         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32523         Protect with __USE_GNU.
32524         (TIOCSET_TEMPT): Likewise.
32525         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32526         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32527         these are already provided in bits/ioctl-types.h
32529 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32531         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32532         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32534         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32535         Use wait4 regardless of [__NR_waitpid].
32537 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32539         PR libgcc/60166
32540         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32541         (_FP_NANSIGN_Q): Set the quiet bit.
32543 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
32545         * benchtests/Makefile
32546         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32547         not $(common-objpfx)math/libm.so.
32548         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32549         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32550         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32551         $(common-objpfx)dlfcn/libdl.so.
32552         ($(objpfx)tst-audit8): Depend on $(libm), not
32553         $(common-objpfx)math/libm.so.
32554         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32555         not $(common-objpfx)dlfcn/libdl.so.
32556         * math/Makefile
32557         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32558         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
32559         [$(build-shared) = yes].
32560         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32561         $(common-objpfx)nptl/libpthread.so.
32562         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32563         $(common-objpfx)math/libm.so$(libm.so-version) or
32564         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32565         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32566         $(common-objpfx)dlfcn/libdl.so.
32567         * setjmp/Makefile (link-libm): Remove variable.
32568         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32569         * stdio-common/Makefile (link-libm): Remove variable.
32570         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32571         * stdlib/Makefile (link-libm): Remove variable.
32572         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32573         ($(objpfx)tst-strtod-round): Likewise.
32574         ($(objpfx)tst-tininess): Likewise.
32575         ($(objpfx)tst-strtod-underflow): Likewise.
32576         ($(objpfx)tst-strtod6): Likewise.
32577         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32578         $(libdl), not $(common-objpfx)nptl/libpthread.so and
32579         $(common-objpfx)dlfcn/libdl.so.
32581 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32583         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32584         BSD terminal modes definitions.
32586 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32588         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32589         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32591         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32592         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32593         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32594         Don't do #include_next.
32595         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32596         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32597         Don't do #include_next.
32598         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32599         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32600         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32601         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32603 2014-05-16  Allan McRae  <allan@archlinux.org>
32605         * po/sv.po: Update Swedish translation from translation project.
32607         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32608         in sed expression.
32610 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
32612         [BZ #16917]
32613         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32614         errno if the TIOCGPTN ioctl fails with an error different than
32615         EINVAL.
32616         * login/tst-ptsname.c: New file.
32617         * login/Makefile (tests): Add tst-ptsname.
32619         [BZ #16943]
32620         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32621         and prlimit64.
32623 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32625         [BZ #16849]
32626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32627         herrno to return EAI_AGAIN.
32629 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32631         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32632         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32633         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32634         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32635         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32636         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32637         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32638         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32639         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32640         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32641         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32642         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32643         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32644         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32645         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32646         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32647         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32648         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32649         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32650         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32651         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32652         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32653         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32654         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32655         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32656         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32657         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32658         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32659         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32660         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32662         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32664         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32666         Moved ...
32667         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32669         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32671         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32673         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32675         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32677         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32679         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32681         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32683         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32685         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32687         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32689         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32691         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32693         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32695         Moved ...
32696         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32698         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32700         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32702         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32704         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32706         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32708         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32710         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32712         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32714         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32716         Moved ...
32717         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32719         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32721         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32722         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32723         (libpthread-sysdep_routines): Add elision-related stuff here instead.
32724         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32725         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32726         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32727         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32728         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32729         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32730         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32731         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32732         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32733         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32734         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32735         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32736         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
32737         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
32738         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
32739         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
32740         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
32741         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
32742         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
32743         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
32744         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
32745         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
32746         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
32747         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
32748         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
32749         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
32750         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
32751         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
32753         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
32754         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
32756         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
32757         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
32758         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
32759         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
32760         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
32761         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
32762         Moved ...
32763         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
32764         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
32765         Moved ...
32766         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
32767         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
32768         Moved ...
32769         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
32770         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
32771         Moved ...
32772         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
32773         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
32774         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
32775         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
32776         Moved ...
32777         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
32778         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
32779         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
32780         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
32781         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
32782         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
32783         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
32784         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
32785         Moved ...
32786         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
32787         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32788         Moved ...
32789         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32790         ... here.
32791         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
32792         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
32793         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
32794         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
32795         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32796         Moved ...
32797         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32798         ... here.
32799         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
32800         Moved ...
32801         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
32802         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
32803         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
32804         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
32805         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
32806         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
32807         Moved ...
32808         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
32809         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
32810         Moved ...
32811         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
32812         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
32813         Moved ...
32814         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
32815         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
32816         Moved ...
32817         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
32818         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
32819         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
32820         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
32821         Moved ...
32822         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
32823         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
32824         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
32825         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
32826         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
32827         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
32828         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
32829         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
32830         Moved ...
32831         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
32832         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32833         Moved ...
32834         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32835         ... here.
32836         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
32837         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
32838         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
32839         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
32840         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32841         Moved ...
32842         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32843         ... here.
32844         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
32845         Moved ...
32846         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
32847         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
32848         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
32849         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
32850         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
32851         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
32852         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
32853         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
32854         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
32855         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
32856         Moved ...
32857         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
32858         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
32859         Moved ...
32860         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
32861         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
32862         Moved ...
32863         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
32864         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
32865         Moved ...
32866         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
32867         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
32868         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
32869         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
32870         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
32871         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
32872         Moved ...
32873         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
32874         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
32875         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
32876         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
32877         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
32878         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
32879         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
32880         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
32881         Moved ...
32882         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
32883         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32884         Moved ...
32885         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32886         ... here.
32887         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
32888         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
32889         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
32890         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
32891         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32892         Moved ...
32893         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32894         ... here.
32895         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
32896         Moved ...
32897         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
32898         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
32899         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
32900         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
32901         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
32902         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
32903         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
32904         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
32905         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
32906         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
32907         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
32909         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
32910         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
32912         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
32913         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
32915         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
32916         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
32917         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
32918         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
32919         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
32920         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
32921         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
32922         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
32923         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
32924         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
32925         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
32926         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
32927         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
32928         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
32929         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
32930         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
32931         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
32932         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
32933         Moved ...
32934         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
32935         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
32936         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
32937         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
32938         Moved ...
32939         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
32940         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32941         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
32942         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32943         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32944         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32945         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32946         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32947         Moved ...
32948         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32949         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32950         Moved ...
32951         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32952         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32953         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32954         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32955         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32956         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32957         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32958         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32959         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32960         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32961         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32962         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32963         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32964         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32965         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32966         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32967         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32969         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32970         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32971         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32972         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32973         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32975         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32976         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32977         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32978         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32979         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32980         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32981         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32982         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32983         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32984         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32986         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32987         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32989         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32990         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32991         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32992         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32993         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32994         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32995         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32996         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32997         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32998         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32999         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33000         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33001         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33002         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33003         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33004         Update #include.
33005         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33006         Likewise.
33007         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33008         Likewise.
33009         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33010         Likewise.
33011         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33012         Likewise.
33013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33014         Likewise.
33015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33016         Likewise.
33017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33018         Likewise.
33019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33020         Likewise.
33021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33022         Likewise.
33023         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33024         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33025         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33026         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33027         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33028         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33029         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33030         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33031         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33032         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33033         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33034         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33035         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33036         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33037         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33039         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33040         that was previously under [RESET_PID].
33041         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33042         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33043         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33045         * sysdeps/i386/nptl/Implies: New file.
33046         * sysdeps/x86_64/nptl/Implies: New file.
33047         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33048         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33049         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33050         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33052         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33053         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33054         (__libc_vfork): New strong alias.
33055         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33056         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33058         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33059         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33060         (__libc_vfork): New strong alias.
33061         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33062         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33064         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33065         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33066         (__libc_vfork): New strong alias.
33067         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33068         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33069         * nptl/pt-vfork.c: New file.
33070         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33071         (libpthread: GLIBC_2.20): New version set (empty).
33073 2014-05-14  Will Newton  <will.newton@linaro.org>
33075         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33076         rather than #if.
33078 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33080         [BZ #16564]
33081         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33082         arguments with exponent 65 or above.
33083         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33084         arguments 0x1p113L or above.
33085         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33086         to arguments 0x1p107L or above.
33087         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33088         positive arguments with exponent 65 or above.
33089         * math/auto-libm-test-in: Add more tests of log1p.
33090         * math/auto-libm-test-out: Regenerated.
33092         [BZ #16928]
33093         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33094         non-finite arguments is +0.
33095         * math/s_cacosf.c (__cacosf): Likewise.
33096         * math/s_cacosl.c (__cacosl): Likewise.
33097         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33098         * sysdeps/i386/fpu/libm-test-ulps: Update.
33099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33101         [BZ #16927]
33102         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33103         value.
33104         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33105         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33106         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33107         for explicit high bit of mantissa when testing for argument equal
33108         to 1.
33109         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33110         * sysdeps/i386/fpu/libm-test-ulps: Update.
33111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33113         [BZ #16516]
33114         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33115         (__erf): Scale by 16 instead of 8 in potentially underflowing
33116         case.  Ensure exception if result actually underflows.
33117         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33118         (__erff): Scale by 16 instead of 8 in potentially underflowing
33119         case.  Ensure exception if result actually underflows.
33120         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33121         (efx8): Remove variable.
33122         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33123         case.  Ensure exception if result actually underflows.
33124         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33125         (efx8): Remove variable.
33126         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33127         case.  Ensure exception if result actually underflows.
33128         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33129         (efx8): Remove variable.
33130         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33131         case.  Ensure exception if result actually underflows.
33132         * math/auto-libm-test-in: Add more tests of erf.
33133         * math/auto-libm-test-out: Regenerated.
33135 2014-05-14  Andreas Schwab  <schwab@suse.de>
33137         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33138         Remove code conditionalized on USE___THREAD.
33140         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33141         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33142         not definedness.
33144 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33146         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33147         Define unconditionally.
33148         (__ASSUME_O_CLOEXEC): Likewise.
33149         (__ASSUME_SOCK_CLOEXEC): Likewise.
33150         (__ASSUME_IN_NONBLOCK): Likewise.
33151         (__ASSUME_PIPE2): Likewise.
33152         (__ASSUME_EVENTFD2): Likewise.
33153         (__ASSUME_SIGNALFD4): Likewise.
33154         (__ASSUME_DUP3): Likewise.
33155         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33156         (__ASSUME_DUP3): Do not define.
33157         (__ASSUME_EVENTFD2): Likewise.
33158         (__ASSUME_IN_NONBLOCK): Likewise.
33159         (__ASSUME_O_CLOEXEC): Likewise.
33160         (__ASSUME_PIPE2): Likewise.
33161         (__ASSUME_SIGNALFD4): Likewise.
33162         (__ASSUME_SOCK_CLOEXEC): Likewise.
33163         (__ASSUME_UTIMES): Undefine.
33164         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33165         (__ASSUME_UTIMES): Do not define.
33166         (__ASSUME_O_CLOEXEC): Likewise.
33167         (__ASSUME_SOCK_CLOEXEC): Likewise.
33168         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33169         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33170         0x020621].
33171         (__ASSUME_PIPE2): Likewise.
33172         (__ASSUME_EVENTFD2): Likewise.
33173         (__ASSUME_SIGNALFD4): Likewise.
33174         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33175         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33176         Do not define.
33177         (__ASSUME_EVENTFD2): Likewise.
33178         (__ASSUME_SIGNALFD4): Likewise.
33179         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33180         (__ASSUME_32BITUIDS): Likewise.
33181         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33182         (__ASSUME_IPC64): Likewise.
33183         (__ASSUME_ST_INO_64_BIT): Likewise.
33184         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33185         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33186         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33187         (__ASSUME_UTIMES): Do not define.
33188         (__ASSUME_PSELECT): Likewise.
33189         (__ASSUME_PPOLL): Likewise.
33190         (__ASSUME_O_CLOEXEC): Likewise.
33191         (__ASSUME_SOCK_CLOEXEC): Likewise.
33192         (__ASSUME_IN_NONBLOCK): Likewise.
33193         (__ASSUME_PIPE2): Likewise.
33194         (__ASSUME_EVENTFD2): Likewise.
33195         (__ASSUME_SIGNALFD4): Likewise.
33196         (__ASSUME_DUP3): Likewise.
33197         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33198         (__ASSUME_UTIMES): Likewise.
33199         (__ASSUME_O_CLOEXEC): Likewise.
33200         (__ASSUME_SOCK_CLOEXEC): Likewise.
33201         (__ASSUME_IN_NONBLOCK): Likewise.
33202         (__ASSUME_PIPE2): Likewise.
33203         (__ASSUME_EVENTFD2): Likewise.
33204         (__ASSUME_SIGNALFD4): Likewise.
33205         (__ASSUME_DUP3): Likewise.
33206         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33207         (__ASSUME_UTIMES): Likewise.
33208         (__ASSUME_O_CLOEXEC): Likewise.
33209         (__ASSUME_SOCK_CLOEXEC): Likewise.
33210         (__ASSUME_IN_NONBLOCK): Likewise.
33211         (__ASSUME_PIPE2): Likewise.
33212         (__ASSUME_EVENTFD2): Likewise.
33213         (__ASSUME_SIGNALFD4): Likewise.
33214         (__ASSUME_DUP3): Likewise.
33215         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33216         Likewise.
33217         (__ASSUME_UTIMES): Likewise.
33218         (__ASSUME_EVENTFD2): Likewise.
33219         (__ASSUME_SIGNALFD4): Likewise.
33220         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33221         (__ASSUME_O_CLOEXEC): Likewise.
33222         (__ASSUME_SOCK_CLOEXEC): Likewise.
33223         (__ASSUME_IN_NONBLOCK): Likewise.
33224         (__ASSUME_PIPE2): Likewise.
33225         (__ASSUME_EVENTFD2): Likewise.
33226         (__ASSUME_SIGNALFD4): Likewise.
33227         (__ASSUME_DUP3): Likewise.
33228         (__ASSUME_UTIMES): Undefine.
33230         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33231         feclearexcept.  Remove symbol versioning code.
33232         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33233         symbol versioning code.
33234         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33235         symbol versioning code.
33236         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33237         feupdateenv.  Remove symbol versioning code.
33238         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33239         fegetexceptflag.  Remove symbol versioning code.
33240         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33241         fesetexceptflag.  Remove symbol versioning code.
33242         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33243         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33244         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33245         (__posix_fadvise64_l32): Remove prototype.
33246         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33247         code.
33249 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33251         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33252         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33253         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33254         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33256 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33258         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33259         current working directory
33261 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33263         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33264         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33265         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33266         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33267         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33268         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33269         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33270         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33271         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33272         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33273         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33274         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33275         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33276         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33277         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33278         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33279         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33280         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33281         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33282         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33283         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33284         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33285         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33286         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33287         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33288         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33289         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33290         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33291         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33292         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33293         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33294         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33295         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33296         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33297         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33298         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33299         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33300         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33301         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33302         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33303         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33304         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33306         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33307         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33309         * sysdeps/unix/sysv/linux/arm/Makefile
33310         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33311         Add rt-aeabi_unwind_cpp_pr1.
33312         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33313         Add nptl-aeabi_unwind_cpp_pr1.
33314         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33315         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33316         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33317         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33318         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33319         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33321         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33322         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33323         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33324         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33326         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33327         Deconditionalize the code that was previously under [RESET_PID].
33328         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33330         * sysdeps/generic/exit-thread.h: New file.
33331         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33332         * include/unistd.h (__exit_thread): Remove declaration.
33333         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33334         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33335         * csu/libc-start.c: Include <exit-thread.h>.
33336         (LIBC_START_MAIN): Pass no argument to __exit_thread.
33337         * nptl/pthread_create.c: Include <exit-thread.h>.
33338         (start_thread): Call __exit_thread in place of __exit_thread_inline.
33339         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33340         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33341         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33342         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33343         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33344         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33345         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33346         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33347         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33348         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33349         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33350         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33351         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33352         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33353         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33354         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33356 2014-05-13  Andreas Schwab  <schwab@suse.de>
33358         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33360 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
33362         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33363         (__ASSUME_UTIMES): Do not condition on kernel version.
33364         (__ASSUME_PSELECT): Define unconditionally.
33365         (__ASSUME_PPOLL): Likewise.
33366         (__ASSUME_ATFCTS): Likewise.
33367         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33368         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33369         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33370         (__ASSUME_UTIMENSAT): Define unconditionally.
33371         (__ASSUME_PRIVATE_FUTEX): Likewise.
33372         (__ASSUME_FALLOCATE): Likewise.
33373         (__ASSUME_O_CLOEXEC): Likewise.
33374         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33375         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33376         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33377         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33378         (__ASSUME_IN_NONBLOCK): Likewise.
33379         (__ASSUME_PIPE2): Likewise.
33380         (__ASSUME_EVENTFD2): Likewise.
33381         (__ASSUME_SIGNALFD4): Likewise.
33382         (__ASSUME_DUP3): Likewise.
33383         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33384         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33385         (__ASSUME_AT_RANDOM): Likewise.
33386         (__ASSUME_PREADV): Likewise.
33387         (__ASSUME_PWRITEV): Likewise.
33388         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33389         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33390         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33391         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33392         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33393         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33394         (__ASSUME_O_CLOEXEC): Define unconditionally.
33395         (__ASSUME_PSELECT): Do not undefine conditionally.
33396         (__ASSUME_PPOLL): Likewise.
33397         (__ASSUME_ATFCTS): Likewise.
33398         (__ASSUME_SET_ROBUST_LIST): Likewise.
33399         (__ASSUME_UTIMENSAT): Likewise.
33400         (__ASSUME_FDATASYNC): Define unconditionally.
33401         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33402         (__ASSUME_SIGFRAME_V2): Likewise.
33403         )__ASSUME_EVENTFD2): Likewise.
33404         (__ASSUME_SIGNALFD4): Likewise.
33405         (__ASSUME_PSELECT): Do not undefine conditionally.
33406         (__ASSUME_PPOLL): Likewise.
33407         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33408         (__ASSUME_PSELECT): Define unconditionally.
33409         (__ASSUME_PPOLL): Likewise.
33410         (__ASSUME_O_CLOEXEC): Likewise.
33411         (__ASSUME_SOCK_CLOEXEC): Likewise.
33412         (__ASSUME_IN_NONBLOCK): Likewise.
33413         (__ASSUME_PIPE2): Likewise.
33414         (__ASSUME_EVENTFD2): Likewise.
33415         (__ASSUME_SIGNALFD4): Likewise.
33416         (__ASSUME_DUP3): Likewise.
33417         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33418         (__ASSUME_O_CLOEXEC): Likewise.
33419         (__ASSUME_SOCK_CLOEXEC): Likewise.
33420         (__ASSUME_IN_NONBLOCK): Likewise.
33421         (__ASSUME_PIPE2): Likewise.
33422         (__ASSUME_EVENTFD2): Likewise.
33423         (__ASSUME_SIGNALFD4): Likewise.
33424         (__ASSUME_DUP3): Likewise.
33425         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33426         (__ASSUME_EVENTFD2): Likewise.
33427         (__ASSUME_SIGNALFD4): Likewise.
33428         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33430 2014-05-12  Andreas Schwab  <schwab@suse.de>
33432         [BZ #16932]
33433         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33434         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33435         than maximum RPC packet size.
33436         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33437         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33438         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33439         (_nss_nis_getservbyport_r): Likewise.
33441 2014-05-12  Will Newton  <will.newton@linaro.org>
33443         * malloc/Makefile (tests): Add tst-mallopt.
33444         * malloc/tst-mallopt.c: New file.
33446 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33448         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33449         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33451 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33453         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33454         (tst-tlsmod6.so): Likewise.
33456 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33458         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33460 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33462         [BZ #16064]
33463         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33464         and <dl-procinfo.h>.
33465         (__fegetenv): Save SSE state in envp->__eip if supported.
33466         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33467         envp->__eip if supported.
33468         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33469         and <dl-procinfo.h>.
33470         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33471         __data_offset and __data_selector in environment to 0.  Set SSE
33472         state if supported.
33473         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33474         test-fenv-sse.
33475         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33476         -mfpmath=sse.
33477         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33479 2014-05-09  Will Newton  <will.newton@linaro.org>
33481         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33482         and libc_relro_required for ARM.
33483         * sysdeps/arm/preconfigure: Regenerate.
33485 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
33486             Stefan Liebler  <stli@linux.vnet.ibm.com>
33488         * config.make.in (enable-lock-elision): New Makefile variable.
33489         * configure.ac: Likewise.
33490         * configure: Regenerate.
33491         * sysdeps/s390/configure.ac:
33492         Add check for gcc transactions support.
33493         * sysdeps/s390/configure: Regenerate.
33494         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33495         Build elision files if enabled.
33496         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33497         Add lock elision support for s390.
33498         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33499         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33500         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33501         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33502         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33503         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33504         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33505         Likewise.
33506         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33507         Likewise.
33508         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33509         Likewise.
33510         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33511         Likewise.
33512         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33513         (__lll_timedlock_elision, __lll_lock_elision)
33514         (__lll_unlock_elision, __lll_trylock_elision)
33515         (lll_timedlock_elision, lll_lock_elision)
33516         (lll_unlock_elision, lll_trylock_elision): Add.
33517         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33518         (pthread_mutex_t): Add lock elision support for s390.
33520 2014-05-14  Wilco  <wdijkstr@arm.com>
33522         * sysdeps/arm/fclrexcpt.c: Cleanup.
33523         * sysdeps/arm/fedisblxcpt.c: Cleanup.
33524         * sysdeps/arm/feenablxcpt.c: Cleanup.
33525         * sysdeps/arm/fegetenv.c: Cleanup.
33526         * sysdeps/arm/fegetexcept.c: Cleanup.
33527         * sysdeps/arm/fegetround.c: Cleanup.
33528         * sysdeps/arm/feholdexcpt.c: Cleanup.
33529         * sysdeps/arm/fesetenv.c: Cleanup.
33530         * sysdeps/arm/fesetround.c: Cleanup.
33531         * sysdeps/arm/feupdateenv.c: Cleanup.
33532         * sysdeps/arm/fgetexcptflg.c: Cleanup.
33533         * sysdeps/arm/fraiseexcpt.c: Cleanup.
33534         * sysdeps/arm/fsetexcptflg.c: Cleanup.
33535         * sysdeps/arm/ftestexcept.c: Cleanup.
33536         * sysdeps/arm/get-rounding-mode.h: Cleanup.
33537         * sysdeps/arm/setfpucw.c: Cleanup.
33539 2014-05-09  Will Newton  <will.newton@linaro.org>
33541         * sysdeps/arm/armv7/strcmp.S: New file.
33542         * NEWS: Mention addition of ARMv7 optimized strcmp.
33544 2014-05-08  Roland McGrath  <roland@hack.frob.com>
33546         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33547         look for %.ac rather than %.in.
33549         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33550         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33551         * sysdeps/mach/hurd/configure: Regenerated.
33552         * sysdeps/unix/sysv/linux/configure: Regenerated.
33554         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33556 2014-05-07  Steve Ellcey  <sellcey@mips.com>
33558         [BZ# 16922]
33559         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33560         (LONG_SUB): Ditto.
33561         (PTR_SUB): Ditto.
33563 2014-05-07  Andreas Schwab  <schwab@suse.de>
33565         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33566         when skipping over non-matching result from nscd.
33568 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
33570         [BZ #16876]
33571         * nptl/sockperf.c (client): Check socket return value.
33573         [BZ #16877]
33574         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33575         nscd security class.
33577 2014-05-06  Roland McGrath  <roland@hack.frob.com>
33579         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33580         * sysdeps/arm/unwind.h: ... here.
33582 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33584         [BZ# 16916]
33585         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33586         Define.
33588 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33590         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33591         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33592         multiarch strncpy for PPC64.
33593         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33594         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33596         multiarch optimizations.
33597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33598         (__libc_ifunc_impl_list): Likewise.
33599         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33600         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33601         multiarch stpncpy for PPC64.
33602         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33603         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33605 2014-05-06  Andreas Schwab  <schwab@suse.de>
33607         [BZ #16912]
33608         * gmon/mcount.c (_MCOUNT_DECL): Use
33609         atomic_compare_and_exchange_bool_acq instead of
33610         catomic_compare_and_exchange_bool_acq.
33612 2014-05-05  Roland McGrath  <roland@hack.frob.com>
33614         * elf/Makefile (others, install-bin): Remove pldd.
33615         (pldd-modules): Variable removed.
33616         ($(objpfx)pldd): Target removed.
33617         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33618         (others, install-bin): Append pldd here.
33619         ($(objpfx)pldd): New target.
33621         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33622         to 0, so the first #if test emitted later doesn't see it undefined.
33623         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33624         * sysdeps/gnu/errlist.c: Regenerated.
33626 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33628         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33629         [libc_hidden_builtin_def]: Define to empty value.
33630         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33631         [libc_hidden_builtin_def]: Likewise.
33632         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33633         [libc_hidden_builtin_def]: Likewise.
33634         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33635         [libc_hidden_builtin_def]: Likewise.
33636         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33637         __redirect_memcpy and define ifunc as default hidden symbol.
33638         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33639         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33641 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33643         * locale/iso-4217.def: Reintroduce XDR currency.
33645 2014-05-04  Allan McRae  <allan@archlinux.org>
33647         * po/eo.po: Update Esperanto translation from translation project.
33649 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33651         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33652         and FEATURE_INDEX_MAX to 1.
33653         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33655 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33657         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33658         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33659         * iconvdata/big5.c (ONE_DIRECTION): Define.
33660         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33661         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33662         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33663         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33664         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33665         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33666         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33667         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33668         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33669         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33670         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33671         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33672         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33673         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33674         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33675         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33676         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33677         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33678         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33679         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33680         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33681         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33682         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33683         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33684         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33685         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33686         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33687         * iconvdata/iso646.c (ONE_DIRECTION): Define.
33688         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33689         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33690         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33691         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33692         * iconvdata/johab.c (ONE_DIRECTION): Define.
33693         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33694         * iconvdata/sjis.c (ONE_DIRECTION): Define.
33695         * iconvdata/t.61.c (ONE_DIRECTION): Define.
33696         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33697         * iconvdata/tscii.c (ONE_DIRECTION): Define.
33698         * iconvdata/uhc.c (ONE_DIRECTION): Define.
33699         * iconvdata/unicode.c (ONE_DIRECTION): Define.
33700         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33701         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33702         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33704 2014-05-01  Roland McGrath  <roland@hack.frob.com>
33706         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33707         (_IO_JUMPS_OFFSET): Define to 0.
33709         * nptl/sysdeps/pthread/bits/libc-lock.h
33710         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33711         (__libc_lock_define_initialized_recursive): Always define using
33712         initializer.  Modern compilers treat uninitialized (implicit zero) and
33713         explicit zero initializers the same (i.e. put the datum in bss).
33715 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33717         * nscd/nscd-client.h: Include <string.h>.
33719 2014-05-01  David S. Miller  <davem@davemloft.net>
33721         [BZ #16885]
33722         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33723         multiple zero bytes exist at the end of a string.
33724         Reported by Aurelien Jarno <aurelien@aurel32.net>
33726         * string/test-strcmp.c (check): Add explicit test for situations where
33727         there are multiple zero bytes after the first.
33729 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33731         [BZ #16890]
33732         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33733         when compiling wprintf.
33734         * stdio-common/tstdiomisc.c (t3): New function.
33735         (main): Call it.
33737 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33739         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
33740         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
33741         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
33742         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
33744 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33746         * stdlib/longlong.h: Updated from GCC.
33748 2014-05-01  Will Newton  <will.newton@linaro.org>
33749             Bernard Ogden  <bernie.ogden@linaro.org>
33751         * NEWS: Update fixed bug list.
33753         [BZ #15119]
33754         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
33756 2014-04-30  David S. Miller  <davem@davemloft.net>
33758         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
33759         (libc_feholdexcept_setround_sparc_ctx): New function.
33760         (libc_fesetenv_sparc_ctx): Likewise.
33761         (libc_feupdateenv_sparc_ctx): Likewise.
33762         (libc_feholdsetround_sparc_ctx): Likewise.
33763         (libc_feholdexcept_setround_ctx): Define.
33764         (libc_feholdexcept_setroundf_ctx): Likewise.
33765         (libc_feholdexcept_setroundl_ctx): Likewise.
33766         (libc_fesetenv_ctx): Likewise.
33767         (libc_fesetenvf_ctx): Likewise.
33768         (libc_fesetenvl_ctx): Likewise.
33769         (libc_feupdateenv_ctx): Likewise.
33770         (libc_feupdateenvf_ctx): Likewise.
33771         (libc_feupdateenvl_ctx): Likewise.
33772         (libc_feresetround_ctx): Likewise.
33773         (libc_feresetroundf_ctx): Likewise.
33774         (libc_feresetroundl_ctx): Likewise.
33775         (libc_feholdsetround_ctx): Likewise.
33776         (libc_feholdsetroundf_ctx): Likewise.
33777         (libc_feholdsetroundl_ctx): Likewise.
33779         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33780         with __USE_GNU instead of XOPEN cpp guards.
33782         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
33783         0.
33785         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33786         with XOPEN cpp guards.
33788 2014-04-30  Julian Brown  <julian@codesourcery.com>
33790         [BZ #16888]
33791         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
33792         handling.
33794 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
33796         [BZ #9894]
33797         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
33798         Change to 2.6.32.
33799         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
33800         * sysdeps/unix/sysv/linux/configure: Regenerated.
33801         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
33802         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
33803         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
33804         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
33805         * README: Update reference to required Linux kernel version.
33806         * manual/install.texi (Linux): Update reference to required Linux
33807         kernel headers version.
33808         * INSTALL: Regenerated.
33810         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
33811         header inclusion.
33812         [POSIX] (limits.h): Likewise.
33813         [POSIX] (math.h): Likewise.
33814         [POSIX] (sys/wait.h): Likewise.
33815         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
33816         function.
33817         [POSIX] (stddef.h): Do not allow header inclusion.
33819 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33821         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
33823 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
33825         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
33826         Return immediately after lll_futex_wake.
33828 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33830         [BZ #16791]
33831         * nscd/nscd-client.h (datahead_init_common): Initialize entire
33832         structure.
33833         (datahead_init_pos): Call datahead_init_common early.
33834         (datahead_init_neg): Likewise.
33836         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
33837         datahead_init_neg): New functions.
33838         * nscd/aicache.c (addhstaiX): Use them.
33839         * nscd/grpcache.c (cache_addgr): Likewise.
33840         * nscd/hstcache.c (cache_addhst): Likewise.
33841         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33842         * nscd/netgroupcache.c (do_notfound): Likewise.
33843         (addgetnetgrentX): Likewise.
33844         (addinnetgrX): Likewise.
33845         * nscd/pwdcache.c (cache_addpw): Likewise.
33846         * nscd/servicescache.c (cache_addserv): Likewise.
33848 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33849             Atsushi Onoe  <atsushi@onoe.org>
33851         [BZ #14308]
33852         [BZ #12994]
33853         [BZ #13651]
33854         * resolv/res_query.c (__libc_res_nsearch): Return if at least
33855         one response is valid.
33856         * resolv/res_send.c (send_dg): Check for validity of other
33857         response if the current response is a referral.
33859 2014-04-29  Steve Ellcey  <sellcey@mips.com>
33861         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
33863 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
33865         [BZ #16823]
33866         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
33867         Always divide by positive zero when computing -Inf result.
33868         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33869         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
33871 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33873         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
33874         FPSCR if value do not change.
33875         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33876         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
33877         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33878         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33879         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
33880         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
33881         function.
33883 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
33885         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
33886         * sysdeps/unix/sysv/linux/hppa: Move directory from
33887         ports/systeps/unix/sysv/linux/hppa.
33888         * README: Update listing for hppa-*-linux-gnu.
33890 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
33892         [BZ #16754]
33893         * manual/stdio.texi (Hook functions): Fix types of stream hook
33894         functions.
33895         [BZ #16854]
33896         * socket/sys/socket.h: Fix typo in comment.
33898 2014-04-28  Wilco  <wdijkstr@arm.com>
33900         * sysdeps/arm/fenv_private.h: New file.
33901         * sysdeps/arm/math_private.h: New file.
33902         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
33904 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
33906         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
33907         with __int128_t.
33908         (La_x86_64_retval): Likewise.
33910 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
33912         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
33913         fpsr if value didn't change.
33914         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
33915         to fpcr if value didn't change.
33916         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
33917         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
33918         fpsr or fpcr if value didn't change.
33919         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33920         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
33921         fpcr if value didn't change.
33922         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
33923         to fpsr if value didn't change.
33925 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33927         * nptl/tst-sem3.c: Use test-skeleton.c
33928         (main): Rename to do_test.  Use return instead of
33929         exit.
33930         * nptl/tst-sem4.c: Use test-skeleton.c
33931         (main): Rename to do_test.
33933 2014-04-22  David S. Miller  <davem@davemloft.net>
33935         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33936         (struct sigaction): New struct member __glibc_reserved0, change
33937         type of sa_flags to int.
33939 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
33941         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
33942         (COUNT_LEADING_ZEROS_0): Define for AArch64.
33944 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33946         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33947         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33949 2014-04-22  Will Newton  <will.newton@linaro.org>
33950             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
33952         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33953         (__longjmp): Add longjmp and longjmp_target SystemTap
33954         probes.
33955         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33956         (__sigsetjmp): Add setjmp SystemTap probe.
33958 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
33960         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33961         match manual order.
33963 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33965         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33967         * sysdeps/powerpc/fpu/fenv_private.h
33968         (libc_feholdexcept_setroundl_ctx): Define to
33969         libc_feholdexcept_setround_ppc_ctx.
33970         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33971         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33972         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33973         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33975 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33977         * sysdeps/aarch64/math-tests.h: New file.
33979 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
33981         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33982         New.
33983         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33984         Check and set bit_AVX2_Usable.
33985         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33986         macro.
33987         (bit_AVX2): Likewise.
33988         (index_AVX2_Usable): Likewise.
33989         (CPUID_AVX2): Likewise.
33990         (HAS_AVX2): Likewise.
33992 2014-04-17  Will Newton  <will.newton@linaro.org>
33994         * manual/setjmp.texi (System V contexts): Add note that
33995         calling setcontext on a context created by a call to a
33996         signal handler is undefined.  Update text to note that
33997         setcontext from a signal handler is possible but not
33998         recommended.
34000         [BZ #16629]
34001         * stdlib/tst-setcontext.c: Include signal.h.
34002         (main): Check that the signal stack before and
34003         after swapcontext is the same.
34005         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34006         Re-implement to restore registers in user code and avoid
34007         rt_sigreturn system call.
34009 2014-04-17  Wilco  <wdijkstr@arm.com>
34011         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34012         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34013         * math/test-fenv.c: Skip exception trap tests on targets which only
34014         support non-stop mode.
34016 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34017             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34019         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34020         (libc_feholdsetround_aarch64_ctx)
34021         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34022         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34023         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34024         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34025         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34026         (libc_feresetround_noexl_ctx): Define.
34028 2014-04-16  Richard Henderson  <rth@redhat.com>
34030         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34032         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34033         unwind tables.
34035         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34036         const from the non-libc, non-ldso copy.
34038         * sysdeps/alpha/libm-test-ulps: Regenerate.
34040 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34041             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34043         * sysdeps/aarch64/fpu/math_private.h: New file.
34045 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34047         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34049 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34051         [BZ #16275]
34052         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34053         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34054         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34055         Intel MPX bound registers before _dl_profile_fixup.
34056         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34057         registers after _dl_profile_fixup.  Save and restore bound
34058         registers bnd0/bnd1 when calling _dl_call_pltexit.
34059         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34060         (LR_BND_OFFSET): Likewise.
34061         (LRV_BND0_OFFSET): Likewise.
34062         (LRV_BND1_OFFSET): Likewise.
34064 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34066         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34067         to...
34068         * sysdeps/mach/hurd/i386/tls.h: ... here.
34069         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34070         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34071         fields.
34073 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34075         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34077 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34079         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34081 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34083         [BZ #14770]
34084         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34085         * sysdeps/s390/configure: Regenerate.
34087         [BZ #16824]
34088         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34089         Set round-to-nearest internally to reduce error accumulation.
34091 2014-04-16  Alan Modra  <amodra@gmail.com>
34093         [BZ #16740]
34094         [BZ #16619]
34095         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34096         * math/libm-test.inc (frexp_test_data): Add tests.
34097         * NEWS: Update fixed bug list.
34099 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34101         * benchtests/Makefile: Depend on libraries in build directory.
34102         (bench-math): Separate out math tests.
34103         (bench-pthread): Separate out pthread tests.
34104         (bench): Include math and pthread tests.
34106 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34108         [BZ #16831]
34109         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34110         _dl_debug_initialize.
34112         * configure.ac: Remove SELinux header check.
34113         * configure: Regenerate.
34114         * nscd/selinux.c (perms): Array of const char* to permission names.
34115         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34116         default policy. Call string_to_security_class and string_to_av_perm to
34117         translate strings. Enforce default policy and call avs_has_perm with
34118         results of translated strings.
34120 2014-04-13  David S. Miller  <davem@davemloft.net>
34122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34124 2014-04-12  Allan McRae  <allan@archlinux.org>
34126         [BZ #16838]
34127         * manual/string.texi (Collation Functions): Fix qsort argument
34128         order in example.
34129         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34131 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34133         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34134         Make the test a no-op if there are no exceptions defined.
34136 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34138         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34139         enable-hardcoded-path-in-tests
34141 2014-04-11  Will Newton  <will.newton@linaro.org>
34143         * benchtests/Makefile (extra-objs): Add json-lib.o.
34144         (bench-func): Tidy up JSON output.
34145         * benchtests/bench-skeleton.c: Include json-lib.h.
34146         (main): Use JSON library functions to do output of
34147         benchmark results.
34148         * benchtests/bench-timing-type.c (main): Output the
34149         timing type simply, leaving formatting to the user.
34150         * benchtests/json-lib.c: New file.
34151         * benchtests/json-lib.h: Likewise.
34153 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34155         [BZ #15215]
34156         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34157         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34158         memory barriers.  Add comments.
34159         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34160         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34161         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34162         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34163         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34164         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34166 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34168         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34169         * sysdeps/s390/s390-64/configure.ac: ... this ...
34170         * sysdeps/s390/configure.ac: ... to here.
34171         * sysdeps/s390/s390-32/configure: Delete file.
34172         * sysdeps/s390/s390-64/configure: Delete file.
34173         * sysdeps/s390/configure: Regenerate.
34175 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34177         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34179 2014-04-11  Will Newton  <will.newton@linaro.org>
34181         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34182         to zero if it is not defined elsewhere.  (mtrim): Test
34183         the value of MALLOC_DEBUG with #if rather than #ifdef.
34185 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34187         * benchtests/pthread_once-inputs: New file.
34188         * benchtests/pthread_once-source.c: New file.
34189         * benchtests/README: Update documentation.
34191 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34192             H.J. Lu  <hongjiu.lu@intel.com>
34194         [BZ #16275]
34195         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34196         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34197         * sysdeps/x86_64/configure: Regenerated.
34198         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34199         macro.
34200         (REGISTER_SAVE_RAX): Likewise.
34201         (REGISTER_SAVE_RCX): Likewise.
34202         (REGISTER_SAVE_RDX): Likewise.
34203         (REGISTER_SAVE_RSI): Likewise.
34204         (REGISTER_SAVE_RDI): Likewise.
34205         (REGISTER_SAVE_R8): Likewise.
34206         (REGISTER_SAVE_R9): Likewise.
34207         (REGISTER_SAVE_BND0): Likewise.
34208         (REGISTER_SAVE_BND1): Likewise.
34209         (REGISTER_SAVE_BND2): Likewise.
34210         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34211         bound registers when calling _dl_fixup.
34213 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34215         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34216         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34217         of its definition.
34218         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34219         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34220         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34221         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34222         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34223         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34224         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34226 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34228         [BZ #15514]
34229         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34230         pathconf(_PC_NAME_MAX).
34232 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34234         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34235         Remove macro usage.
34236         (__PTHREAD_SPINS): Move definition to ...
34237         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34238         (__PTHREAD_SPINS): ... here.
34239         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34240         (__PTHREAD_SPIN): Likewise.
34241         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34242         (__PTHREAD_SPIN): Likewise.
34243         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34244         (__PTHREAD_SPIN): Likewise.
34245         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34246         (__PTHREAD_SPIN): Likewise.
34247         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34248         (__PTHREAD_SPIN): Likewise.
34249         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34250         (__PTHREAD_SPIN): Likewise.
34251         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34252         (__PTHREAD_SPIN): Likewise.
34253         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34254         (__PTHREAD_SPIN): Likewise.
34255         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34256         (__PTHREAD_SPIN): Likewise.
34257         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34258         (__PTHREAD_SPIN): Likewise.
34259         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34260         (__PTHREAD_SPIN): Likewise.
34261         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34262         (__PTHREAD_SPIN): Likewise.
34264         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34265         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34266         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34267         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34268         imply folder.
34269         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34270         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34271         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34272         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34273         correct imply path.
34274         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34275         strlen symbol for non multi-arch builds.
34276         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34277         missing hidden_def and weak_alias.
34279 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34281         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34283 2014-04-07  Will Newton  <will.newton@linaro.org>
34285         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34286         and contents.  [!_LIBC] Remove #ifndef and contents.
34287         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34288         * string/memccpy.c (__memccpy): Use ANSI prototype.
34289         * string/memfrob.c (memfrob): Likewise.
34290         * string/strcoll.c (STRCOLL): Likewise.
34291         * string/strlen.c (strlen): Likewise.
34292         * string/strtok.c (STRTOK): Likewise.
34293         * string/strcat.c: Remove unused #include of memcopy.h.
34294         (strcat): Use ANSI prototype.
34295         * string/strchr.c: Remove unused #include of memcopy.h.
34296         (strchr): Use ANSI prototype.
34297         * string/strcmp.c: Remove unused #include of memcopy.h.
34298         (strcmp): Use ANSI prototype.
34299         * string/strcpy.c: Remove unused #include of memcopy.h.
34300         (strcpy): Use ANSI prototype.
34302 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34304         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34305         * config.make.in (config-extra-cppflags): Set it from
34306         libc_extra_cppflags.
34307         * configure.ac (libc_extra_cflags): Make it accumulate over
34308         configure fragments.
34309         (libc_extra_cppflags): New flag.
34310         * configure. Regenerate.
34311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34312         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34313         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34316         [BZ #16815]
34317         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34318         result for FE_DOWNWARD rounding mode.
34319         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34320         Likewise.
34321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34323 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
34325         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34326         in function argument name.
34328 2014-04-03  David Svoboda  <svoboda@cert.org>
34330         [BZ #5666]
34331         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34332         explicitly.
34334 2014-04-03  Roland McGrath  <roland@hack.frob.com>
34336         * elf/dl-unmap-segments.h: New file.
34337         * sysdeps/generic/ldsodefs.h
34338         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34339         * elf/dl-close.c: Include <dl-unmap-segments.h>.
34340         * elf/dl-fptr.c: Likewise.
34341         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34342         * sysdeps/aarch64/tlsdesc.c: Likewise.
34343         * sysdeps/arm/tlsdesc.c: Likewise.
34344         * sysdeps/i386/tlsdesc.c: Likewise.
34345         * sysdeps/tile/dl-runtime.c: Likewise.
34346         * sysdeps/x86_64/tlsdesc.c: Likewise.
34347         * elf/dl-load.h: New file.
34348         * elf/dl-load.c: Include it.
34349         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34350         Macros moved to dl-load.h.
34351         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34352         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34353         Use _dl_unmap_segments in place of __munmap.
34354         Break out segment-mapping loop into ...
34355         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34357 2014-04-03  Will Newton  <will.newton@linaro.org>
34359         * elf/dl-lookup.c (do_lookup_x): Remove comment
34360         referring to nested function and move variable
34361         declarations down to before first use.
34363 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
34365         [BZ #16799]
34366         [BZ #16800]
34367         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34368         with 0 numerator.
34369         * math/s_catanf.c (__catanf): Likewise.
34370         * math/s_catanh.c (__catanh): Likewise.
34371         * math/s_catanhf.c (__catanhf): Likewise.
34372         * math/s_catanhl.c (__catanhl): Likewise.
34373         * math/s_catanl.c (__catanl): Likewise.
34374         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34375         by positive zero when computing -Inf result.
34376         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34377         (catanh_test): Likewise.
34378         * sysdeps/i386/fpu/libm-test-ulps: Update.
34379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34381         [BZ #16789]
34382         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34383         instead of using underflowing value in computing result.
34384         * math/s_clog10.c (__clog10): Likewise.
34385         * math/s_clog10f.c (__clog10f): Likewise.
34386         * math/s_clog10l.c (__clog10l): Likewise.
34387         * math/s_clogf.c (__clogf): Likewise.
34388         * math/s_clogl.c (__clogl): Likewise.
34389         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34390         (clog10_test): Likewise.
34391         * sysdeps/i386/fpu/libm-test-ulps: Update.
34392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34394 2014-04-02  Alan Modra  <amodra@gmail.com>
34396         [BZ #16739]
34397         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34398         output when value is near a power of two.  Use int64_t for lx and
34399         remove casts.  Use decimal rather than hex exponent constants.
34400         Don't use long double multiplication when double will suffice.
34401         * math/libm-test.inc (nextafter_test_data): Add tests.
34402         * NEWS: Add 16739 and 16786 to bug list.
34404         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34406         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34408 2014-04-01  Will Newton  <will.newton@linaro.org>
34410         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34411         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34413 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34415         [BZ #13347]
34416         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34417         * nptl/tst-setuid2.c: New file.
34418         * nptl/Makefile (xtests): Add tst-setuid2.
34420 2014-04-01  Alan Modra  <amodra@gmail.com>
34422         [BZ #16786]
34423         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34425 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34427         [BZ #6803]
34428         [BZ #6804]
34429         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34430         set errno as appropriate.
34431         * math/w_scalbf.c (__scalbf): Likewise.
34432         * math/w_scalbl.c (__scalbl): Likewise.
34433         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34434         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34435         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34436         Add more NaN tests.
34438         [BZ #16349]
34439         * math/w_atan2.c: Include <errno.h>.
34440         (__atan2): Set errno for result underflowing to zero.
34441         * math/w_atan2f.c: Include <errno.h>.
34442         (__atan2f): Set errno for result underflowing to zero.
34443         * math/w_atan2l.c: Include <errno.h>.
34444         (__atan2l): Set errno for result underflowing to zero.
34445         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34446         tests.
34447         * math/auto-libm-test-out: Regenerated.
34449 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34451         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34452         Encode instruction correctly in little endian.
34453         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34454         Likewise.
34455         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34456         Likewise.
34457         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34458         Likewise.
34459         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34460         Likewise.
34462 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34464         [BZ #9894]
34465         * sysdeps/unix/sysv/linux/kernel-features.h
34466         [__sparc__ && !__arch64__ && !__sparc_v9__]
34467         (__ASSUME_SET_ROBUST_LIST): Do not define.
34468         [__sparc__ && !__arch64__ && !__sparc_v9__]
34469         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34470         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34471         Likewise.
34472         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34473         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34474         (__ASSUME_REQUEUE_PI): Likewise.
34475         (__ASSUME_SET_ROBUST_LIST): Likewise.
34476         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34477         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34478         Undefine.
34479         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34480         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34481         Likewise.
34482         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34483         Likewise.
34484         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34485         Likewise.
34486         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34487         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34488         Undefine.
34489         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34490         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34491         Likewise.
34493         [BZ #16648]
34494         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34495         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34496         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34498 2014-03-31  Will Newton  <will.newton@linaro.org>
34500         * benchtests/Makefile (bench): Add ffs and ffsll to list
34501         of tests.
34502         * benchtests/ffs-inputs: New file.
34503         * benchtests/ffsll-inputs: Likewise.
34505 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
34507         [BZ #16770]
34508         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34509         too large before casting to int.
34510         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34511         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34512         * math/libm-test.inc (scalb_test_data): Add more tests.
34514 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34516         * benchtests/Makefile (DETAILED_OPT): New make option.
34517         (bench-func): Run benchmark program with -d if DETAILED_OPT is
34518         set.
34519         * benchtests/bench-skeleton.c: Include stdbool.h.
34520         (main): Store and print timings per input.
34521         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34522         member to each argument value.
34523         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34524         (_print_arg_data): Initialize per-input timing to 0.
34526         * benchtests/Makefile (timing-type): New binary.
34527         (bench-clean): Also remove bench-timing-type.
34528         (bench): New target for timing-type.
34529         (bench-func): Print output in JSON format.
34530         * benchtests/bench-skeleton.c (main): Print output in JSON
34531         format.
34532         * benchtests/bench-timing-type.c: New file.
34533         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34534         (TIMING_PRINT_STATS): Remove.
34535         * benchtests/scripts/bench.py (_print_arg_data): Store variant
34536         name separately.
34538         * benchtests/bench-modf.c: Remove.
34539         * benchtests/modf-inputs: New inputs file.
34541 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
34543         [BZ #16362]
34544         * math/s_clog10.c (M_PI_LOG10E): New macro.
34545         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34546         imaginary parts are 0.
34547         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34548         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34549         imaginary parts are 0.
34550         * math/s_clog10l.c (M_PI_LOG10El): New macro.
34551         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34552         imaginary parts are 0.
34553         * math/libm-test.inc (clog10_test_data): Update expected results
34554         for when real and imaginary parts are 0.
34556 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
34558         * elf/dl-load.c: Finish conversion of __builtin_expect into
34559         __glibc_{un}likely.
34561 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
34563         [BZ #16348]
34564         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34565         1+x for argument with exponent below -67.
34566         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34567         Likewise.
34568         * math/auto-libm-test-in: Add more tests of exp.
34569         * math/auto-libm-test-out: Regenerated.
34571 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34573         [BZ #16759]
34574         * inet/getnetgrent_r.c (get_nonempty_val): New function.
34575         (nscd_getnetgrent): Use it.
34577         [BZ #16760]
34578         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34579         of stpcpy.
34581 2014-03-27  Andi Kleen  <ak@linux.intel.com>
34583         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34584         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34585         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34586         (lll_robust_unlock): Remove out of line section. Use cfi
34587         intrinsics.
34588         (LLL_STUB_UNWIND_INFO*): Remove.
34589         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34590         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34591         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34592         (lll_robust_unlock): Remove out of line section. Use cfi
34593         intrinsics.
34594         (LLL_STUB_UNWIND_INFO*): Remove.
34596 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34598         [BZ #16758]
34599         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34600         blank values.
34602 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
34604         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34606 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
34608         [BZ #16198]
34609         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34610         fnstenv.
34611         * math/test-fenv-preserve.c: New file.
34612         * math/Makefile (tests): Add test-fenv-preserve.
34614 2014-03-26  Will Newton <will.newton@linaro.org>
34616         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34618 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34620         * scripts/versionlist.awk: Partition the version sets and emit all
34621         GLIBC_* (sorted) before all others (sorted).
34623 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34625         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34626         GLIBC_2.2.5 version.
34628 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34630         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34631         calls.
34633         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34634         previous change.
34636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34638 2014-03-25  Andreas Schwab  <schwab@suse.de>
34640         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34641         label to be used after in6ailist is initialized.
34643 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34645         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34646         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34648 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34650         [BZ #16357]
34651         [BZ #16599]
34652         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34653         min_plus_half.
34654         (fp_formats): Update initializers.
34655         (init_fp_formats): Initialize new field.
34656         (output_for_one_input_case): Allow underflow for results up to
34657         min_plus_half.
34658         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34659         * math/auto-libm-test-in: Don't mark some underflows from asin and
34660         atanh as spurious.
34661         * math/auto-libm-test-out: Regenerated.
34662         * sysdeps/i386/fpu/libm-test-ulps: Update.
34663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34665 2014-03-25  Andreas Schwab  <schwab@suse.de>
34667         * libio/Makefile (tst-ftell-partial-wide-ENV)
34668         (tst-ftell-active-handler-ENV): Define.
34670 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34672         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34674 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34676         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34678 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34680         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34681         * sysdeps/x86_64/fpu/multiarch/e_exp.c
34682         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34684 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34686         [BZ #16634]
34687         * elf/dl-load.c (open_verify): Add mode parameter.
34688         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34689         (open_path): Change from boolean 'secure' to complete flag 'mode'
34690         (_dl_map_object): Adjust.
34691         * elf/Makefile (tests): Add tst-dlopen-aout.
34692         * elf/tst-dlopen-aout.c: New test.
34694 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
34696         [BZ #16714]
34697         * sysdeps/unix/sysv/linux/s390/bits/stat.h
34698         (struct stat): Rename member pad0 to __glibc_reserved0.
34700         [BZ #16712]
34701         * sysdeps/s390/s390-32/bits/wordsize.h
34702         (__WORDSIZE32_SIZE_ULONG): New define.
34703         * sysdeps/s390/s390-64/bits/wordsize.h
34704         (__WORDSIZE32_SIZE_ULONG): Likewise.
34705         * sysdeps/generic/stdint.h (SIZE_MAX):
34706         Define as UL if __WORDSIZE32_SIZE_ULONG.
34708         [BZ #16713]
34709         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34710         (__glibc_reserved0): New variable.
34711         (sa_flags): Change type to int.
34713         * posix/Makefile (before-compile): Use += before-compile instead
34714         of a :=.
34716         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34717         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34719 2014-03-20  Andreas Schwab  <schwab@suse.de>
34721         [BZ #16743]
34722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34723         non-matching result from nscd.
34725 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34727         * scripts/bench.py: Moved to ...
34728         * benchtests/scripts/bench.py: ... here.
34729         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34731 2014-03-24  Andreas Schwab  <schwab@suse.de>
34733         [BZ #16002]
34734         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34735         alloca_account and account alloca use for struct in6ailist.
34737 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34739         [BZ #16284]
34740         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
34741         rounding mode to recompute results that overflow to infinity or
34742         underflow to zero.
34743         * math/auto-libm-test-in: Don't mark tests as expected to fail for
34744         bug 16284.
34745         * math/auto-libm-test-out: Regenerated.
34746         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
34747         (ccosh_test): Likewise.
34748         (csin_test_data): Use plus_oflow.
34749         (csin_test): Use ALL_RM_TEST.
34750         (csinh_test_data): Use plus_oflow.
34751         (csinh_test): Use ALL_RM_TEST.
34752         * sysdeps/i386/fpu/libm-test-ulps: Update.
34753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34755 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
34757         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
34758         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
34759         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
34761         [BZ #16731]
34762         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
34763         when x - 1 is zero.
34764         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
34765         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
34766         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34767         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
34768         argument is 1.
34769         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
34770         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
34771         zero.
34772         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
34773         * sysdeps/i386/fpu/libm-test-ulps: Update.
34774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34776 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34778         * scripts/bench.pl: Remove file.
34779         * scripts/bench.py: New benchmark script.
34780         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
34781         * benchtests/README: Mention python dependency.
34782         * scripts/pylintrc: New file.
34783         * scripts/pylint: New file.
34785         * bits/mathdef.h: Use #ifdef instead of #if.
34786         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
34787         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34788         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
34789         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34790         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
34791         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34793 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34794             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34796         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
34797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
34798         and strpbrk-ppc64 objects.
34799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34800         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
34801         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
34802         multiarch strpbrk for POWER7.
34803         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
34804         multiarch strpbrk for PPC64.
34805         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
34806         ifunc selector.
34807         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
34808         strpbrk for POWER7.
34810 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34812         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
34813         (atan_test): Likewise.
34814         (atanh_test_data): Use NO_TEST_INLINE for two tests.
34815         (atanh_test): Use ALL_RM_TEST.
34816         (atan2_test_data): Likewise.
34817         (cabs_test): Likewise.
34818         (cacosh_test): Likewise.
34819         (carg_test): Likewise.
34820         (casin_test): Likewise.
34821         (casinh_test): Likewise.
34822         (cbrt_test): Likewise.
34823         (csqrt_test): Likewise.
34824         (erf_test): Likewise.
34825         (erfc_test): Likewise.
34826         (pow10_test): Likewise.
34827         (exp2_test): Likewise.
34828         (hypot_test): Likewise.
34829         (j0_test): Likewise.
34830         (j1_test): Likewise.
34831         (lgamma_test): Likewise.
34832         (gamma_test): Likewise.
34833         (sincos_test): Likewise.
34834         (tanh_test): Likewise.
34835         (y0_test): Likewise.
34836         (y1_test): Likewise.
34837         * sysdeps/i386/fpu/libm-test-ulps: Update.
34838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34840 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34842         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
34843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
34844         and strcspn-ppc64 objects.
34845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34846         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
34847         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
34848         multiarch strcspn for POWER7.
34849         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
34850         multiarch strcspn for PPC64.
34851         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
34852         ifunc selector.
34853         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
34854         strcspn for POWER7.
34856 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34858         * math/gen-libm-test.pl (generate_testfile): Expect only function
34859         name as argument to AUTO_TESTS_* and pass results for all rounding
34860         modes to parse_args.
34861         (parse_auto_input): Separate inputs of automatic tests from
34862         outputs before storing in %auto_tests.
34863         * math/libm-test.inc (acos_test_data): Update call to
34864         AUTO_TESTS_f_f.
34865         (acos_test): Use ALL_RM_TEST.
34866         (acos_tonearest_test_data): Remove.
34867         (acos_test_tonearest): Likewise.
34868         (acos_towardzero_test_data): Likewise.
34869         (acos_test_towardzero): Likewise.
34870         (acos_downward_test_data): Likewise.
34871         (acos_test_downward): Likewise.
34872         (acos_upward_test_data): Likewise.
34873         (acos_test_upward): Likewise.
34874         (acosh_test_data): Update call to AUTO_TESTS_f_f.
34875         (asin_test_data): Likewise.
34876         (asin_test): Use ALL_RM_TEST.
34877         (asin_tonearest_test_data): Remove.
34878         (asin_test_tonearest): Likewise.
34879         (asin_towardzero_test_data): Likewise.
34880         (asin_test_towardzero): Likewise.
34881         (asin_downward_test_data): Likewise.
34882         (asin_test_downward): Likewise.
34883         (asin_upward_test_data): Likewise.
34884         (asin_test_upward): Likewise.
34885         (asinh_test_data): Update call to AUTO_TESTS_f_f.
34886         (atan_test_data): Likewise.
34887         (atanh_test_data): Likewise.
34888         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
34889         (cabs_test_data): Update call to AUTO_TESTS_c_f.
34890         (carg_test_data): Likewise.
34891         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
34892         (ccos_test_data): Update call to AUTO_TESTS_c_c.
34893         (ccosh_test_data): Likewise.
34894         (cexp_test_data): Likewise.
34895         (clog_test_data): Likewise.
34896         (clog10_test_data): Likewise.
34897         (cos_test_data): Update call to AUTO_TESTS_f_f.
34898         (cos_test): Use ALL_RM_TEST.
34899         (cos_tonearest_test_data): Remove.
34900         (cos_test_tonearest): Likewise.
34901         (cos_towardzero_test_data): Likewise.
34902         (cos_test_towardzero): Likewise.
34903         (cos_downward_test_data): Likewise.
34904         (cos_test_downward): Likewise.
34905         (cos_upward_test_data): Likewise.
34906         (cos_test_upward): Likewise.
34907         (cosh_test_data): Update call to AUTO_TESTS_f_f.
34908         (cosh_test): Use ALL_RM_TEST.
34909         (cosh_tonearest_test_data): Remove.
34910         (cosh_test_tonearest): Likewise.
34911         (cosh_towardzero_test_data): Likewise.
34912         (cosh_test_towardzero): Likewise.
34913         (cosh_downward_test_data): Likewise.
34914         (cosh_test_downward): Likewise.
34915         (cosh_upward_test_data): Likewise.
34916         (cosh_test_upward): Likewise.
34917         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
34918         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
34919         (ctan_test_data): Likewise.
34920         (ctan_test): Use ALL_RM_TEST.
34921         (ctan_tonearest_test_data): Remove.
34922         (ctan_test_tonearest): Likewise.
34923         (ctan_towardzero_test_data): Likewise.
34924         (ctan_test_towardzero): Likewise.
34925         (ctan_downward_test_data): Likewise.
34926         (ctan_test_downward): Likewise.
34927         (ctan_upward_test_data): Likewise.
34928         (ctan_test_upward): Likewise.
34929         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
34930         (ctanh_test): Use ALL_RM_TEST.
34931         (ctanh_tonearest_test_data): Remove.
34932         (ctanh_test_tonearest): Likewise.
34933         (ctanh_towardzero_test_data): Likewise.
34934         (ctanh_test_towardzero): Likewise.
34935         (ctanh_downward_test_data): Likewise.
34936         (ctanh_test_downward): Likewise.
34937         (ctanh_upward_test_data): Likewise.
34938         (ctanh_test_upward): Likewise.
34939         (erf_test_data): Update call to AUTO_TESTS_f_f.
34940         (erfc_test_data): Likewise.
34941         (exp_test_data): Likewise.
34942         (exp_test): Use ALL_RM_TEST.
34943         (exp_tonearest_test_data): Remove.
34944         (exp_test_tonearest): Likewise.
34945         (exp_towardzero_test_data): Likewise.
34946         (exp_test_towardzero): Likewise.
34947         (exp_downward_test_data): Likewise.
34948         (exp_test_downward): Likewise.
34949         (exp_upward_test_data): Likewise.
34950         (exp_test_upward): Likewise.
34951         (exp10_test_data): Update call to AUTO_TESTS_f_f.
34952         (exp10_test): Use ALL_RM_TEST.
34953         (exp10_tonearest_test_data): Remove.
34954         (exp10_test_tonearest): Likewise.
34955         (exp10_towardzero_test_data): Likewise.
34956         (exp10_test_towardzero): Likewise.
34957         (exp10_downward_test_data): Likewise.
34958         (exp10_test_downward): Likewise.
34959         (exp10_upward_test_data): Likewise.
34960         (exp10_test_upward): Likewise.
34961         (exp2_test_data): Update call to AUTO_TESTS_f_f.
34962         (expm1_test_data): Likewise.
34963         (expm1_test): Use ALL_RM_TEST.
34964         (expm1_tonearest_test_data): Remove.
34965         (expm1_test_tonearest): Likewise.
34966         (expm1_towardzero_test_data): Likewise.
34967         (expm1_test_towardzero): Likewise.
34968         (expm1_downward_test_data): Likewise.
34969         (expm1_test_downward): Likewise.
34970         (expm1_upward_test_data): Likewise.
34971         (expm1_test_upward): Likewise.
34972         (fma_test_data): Update call to AUTO_TESTS_fff_f.
34973         (fma_test): Use ALL_RM_TEST.
34974         (fma_towardzero_test_data): Remove.
34975         (fma_test_towardzero): Likewise.
34976         (fma_downward_test_data): Likewise.
34977         (fma_test_downward): Likewise.
34978         (fma_upward_test_data): Likewise.
34979         (fma_test_upward): Likewise.
34980         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34981         (j0_test_data): Update call to AUTO_TESTS_f_f.
34982         (j1_test_data): Likewise.
34983         (jn_test_data): Update call to AUTO_TESTS_if_f.
34984         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34985         (log_test_data): Update call to AUTO_TESTS_f_f.
34986         (log10_test_data): Likewise.
34987         (log1p_test_data): Likewise.
34988         (log2_test_data): Likewise.
34989         (pow_test_data): Update call to AUTO_TESTS_ff_f.
34990         (pow_tonearest_test_data): Likewise.
34991         (sin_test_data): Update call to AUTO_TESTS_f_f.
34992         (sin_test): Use ALL_RM_TEST.
34993         (sin_tonearest_test_data): Remove.
34994         (sin_test_tonearest): Likewise.
34995         (sin_towardzero_test_data): Likewise.
34996         (sin_test_towardzero): Likewise.
34997         (sin_downward_test_data): Likewise.
34998         (sin_test_downward): Likewise.
34999         (sin_upward_test_data): Likewise.
35000         (sin_test_upward): Likewise.
35001         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35002         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35003         (sinh_test): Use ALL_RM_TEST.
35004         (sinh_tonearest_test_data): Remove.
35005         (sinh_test_tonearest): Likewise.
35006         (sinh_towardzero_test_data): Likewise.
35007         (sinh_test_towardzero): Likewise.
35008         (sinh_downward_test_data): Likewise.
35009         (sinh_test_downward): Likewise.
35010         (sinh_upward_test_data): Likewise.
35011         (sinh_test_upward): Likewise.
35012         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35013         (sqrt_test): Use ALL_RM_TEST.
35014         (sqrt_tonearest_test_data): Remove.
35015         (sqrt_test_tonearest): Likewise.
35016         (sqrt_towardzero_test_data): Likewise.
35017         (sqrt_test_towardzero): Likewise.
35018         (sqrt_downward_test_data): Likewise.
35019         (sqrt_test_downward): Likewise.
35020         (sqrt_upward_test_data): Likewise.
35021         (sqrt_test_upward): Likewise.
35022         (tan_test_data): Update call to AUTO_TESTS_f_f.
35023         (tan_test): Use ALL_RM_TEST.
35024         (tan_tonearest_test_data): Remove.
35025         (tan_test_tonearest): Likewise.
35026         (tan_towardzero_test_data): Likewise.
35027         (tan_test_towardzero): Likewise.
35028         (tan_downward_test_data): Likewise.
35029         (tan_test_downward): Likewise.
35030         (tan_upward_test_data): Likewise.
35031         (tan_test_upward): Likewise.
35032         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35033         (tgamma_test_data): Likewise.
35034         (y0_test_data): Likewise.
35035         (y1_test_data): Likewise.
35036         (yn_test_data): Update call to AUTO_TESTS_if_f.
35037         (main): Do not call removed functions.
35039 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35041         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35042         (ldexp_test_data): Remove.
35043         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35044         scalbn_test_data.
35045         (scalb_test): Use ALL_RM_TEST.
35047 2014-03-19  Andreas Schwab  <schwab@suse.de>
35049         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35051 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35053         [BZ #16649]
35054         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35055         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35056         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35057         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35058         (__ASSUME_PREADV): Undefine.
35059         (__ASSUME_PWRITEV): Likewise.
35061 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35063         * bits/mman-linux.h: Add comment about non-Linux use.
35064         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35065         bits/mman-linux.h resting place.
35067         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35068         * bits/mman-linux.h: ... here.
35070 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35072         * conform/conformtest.pl: Add standard definition when calling C
35073         preprocessor on data files.
35074         (checknamespace): Remove unused variable.
35076 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35078         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35079         minus_oflow, plus_uflow and minus_uflow in expected results.
35080         * math/libm-test.inc (scalbn_test_data): Add more tests of
35081         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35082         minus_uflow.
35083         (scalbn_test): Use ALL_RM_TEST.
35084         (scalbln_test_data): Add more tests of negative arguments.  Use
35085         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35086         (scalbln_test): Use ALL_RM_TEST.
35088 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35090         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35092 2014-03-18  Will Newton  <will.newton@linaro.org>
35094         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35095         inaccurate comment.
35097 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35099         * Makerules [!subdir] (check-abi): Exit with error status if a
35100         test failed.
35102 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35104         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35105         for rint.  Include results for all rounding modes.
35106         (nearbyint_test): Use ALL_RM_TEST.
35107         (rint_test_data): Include all tests used for nearbyint.
35109 2014-03-17  Will Newton  <will.newton@linaro.org>
35111         * nptl/sysdeps/pthread/pthread.h: Revert previous
35112         change.
35114         * sysdeps/generic/ldsodefs.h: Revert previous
35115         change.
35117         * libio/genops.c: Revert previous change.
35118         * libio/libioP.h: Likewise.
35119         * stdio-common/vfprintf.c: Likewise.
35121         * sysdeps/generic/math_private.h: Revert previous
35122         change.
35124         * sysdeps/generic/math_private.h: Check whether
35125         HAVE_RM_CTX is defined with #ifdef rather
35126         than #if.
35128         * argp/argp-fmtstream.h: Check whether
35129         __STRICT_ANSI__ is defined with #ifdef rather
35130         than #if.
35131         * argp/argp.h: Likewise.
35133         * libio/genops.c: Check whether
35134         _IO_JUMPS_OFFSET is defined with #ifdef rather
35135         than #if.
35136         * libio/libioP.h: Likewise.
35137         * stdio-common/vfprintf.c: Likewise.
35139         * sysdeps/generic/ldsodefs.h: Check whether
35140         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35141         than #if.
35143         * nptl/sysdeps/pthread/pthread.h: Check
35144         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35145         its value.
35147 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35149         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35150         setting O_APPEND.
35151         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35152         test case.
35154         [BZ #16680]
35155         * libio/fileops.c (_IO_file_open): Seek to end of file but
35156         don't cache the offset.
35157         (get_file_offset): Remove function.
35158         (do_ftell): Use cached offset when available.
35159         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35160         don't cache the offset.
35161         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35162         case.
35163         (do_one_test): Call it.
35164         (do_ftell_test): Fix up expected old offset for a+ mode.
35165         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35166         available.
35168         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35169         up test status with function return status.
35170         (do_write_test): Likewise.
35171         (do_append_test): Likewise.
35173         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35174         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35175         Remove.
35177 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35179         * math/gen-libm-test.pl (parse_args): Handle results specified for
35180         each rounding mode separately.
35181         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35182         tests and results from lrint_tonearest_test_data,
35183         lrint_towardzero_test_data, lrint_downward_test_data and
35184         lrint_upward_test_data.
35185         (lrint_test): Use ALL_RM_TEST.
35186         (lrint_tonearest_test_data): Remove.
35187         (lrint_test_tonearest): Likewise.
35188         (lrint_towardzero_test_data): Likewise.
35189         (lrint_test_towardzero): Likewise.
35190         (lrint_downward_test_data): Likewise.
35191         (lrint_test_downward): Likewise.
35192         (lrint_upward_test_data): Likewise.
35193         (lrint_test_upward): Likewise.
35194         (llrint_test_data): Merge in per-rounding-mode tests and results
35195         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35196         llrint_downward_test_data and llrint_upward_test_data.
35197         (llrint_test): Use ALL_RM_TEST.
35198         (llrint_tonearest_test_data): Remove.
35199         (llrint_test_tonearest): Likewise.
35200         (llrint_towardzero_test_data): Likewise.
35201         (llrint_test_towardzero): Likewise.
35202         (llrint_downward_test_data): Likewise.
35203         (llrint_test_downward): Likewise.
35204         (llrint_upward_test_data): Likewise.
35205         (llrint_test_upward): Likewise.
35206         (rint_test_data): Merge in per-rounding-mode tests and results
35207         from rint_tonearest_test_data, rint_towardzero_test_data,
35208         rint_downward_test_data and rint_upward_test_data.  Add
35209         per-rounding-mode results for tests not in those arrays.
35210         (rint_test): Use ALL_RM_TEST.
35211         (rint_tonearest_test_data): Remove.
35212         (rint_test_tonearest): Likewise.
35213         (rint_towardzero_test_data): Likewise.
35214         (rint_test_towardzero): Likewise.
35215         (rint_downward_test_data): Likewise.
35216         (rint_test_downward): Likewise.
35217         (rint_upward_test_data): Likewise.
35218         (rint_test_upward): Likewise.
35219         (main): Don't call removed functions.
35221 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35223         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35224         "Compiled on ..." crapola.  It is anti-useful.
35226 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35228         * scripts/evaluate-test.sh: Handle fourth argument to determine
35229         whether test run should stop on failure.
35230         * Makeconfig (stop-on-test-failure): New variable.
35231         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35232         $(stop-on-test-failure).
35233         * Makefile (tests): Give a summary of results from testing and
35234         exit with failure status if they include an ERROR or FAIL.
35235         (xtests): Likewise.
35236         * manual/install.texi (Configuring and compiling): Mention
35237         stop-on-test-failure=y.
35238         * INSTALL: Regenerated.
35240 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35242         * scripts/versionlist.awk: New file.
35243         * Makerules [$(build-shared) = yes]
35244         (postclean-generated): Add Versions.def, not Versions.def.v and
35245         Versions.def.v.i.
35246         ($(common-objpfx)Versions.def.v.i): Target removed.
35247         ($(common-objpfx)Versions.def): New target.
35248         ($(common-objpfx)Versions.all): Depend on that rather that
35249         $(common-objpfx)Versions.def.v.
35250         * Versions.def: File removed.
35252         * Makeconfig (+gccwarn): Add -Wundef.
35253         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35254         a dl-sysdep.h breaking its contract.
35255         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35256         * include/stackinfo.h: New file.
35257         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35258         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35259         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35260         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35261         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35262         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35263         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35264         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35265         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35266         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35267         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35268         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35269         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35270         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35271         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35273 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35275         [BZ #16707]
35276         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35277         implementation.
35278         * math/libm-test.inc (round_test_data): Add more tests.
35280         [BZ #16706]
35281         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35282         implementation.
35283         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35285         [BZ #16701]
35286         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35287         implementation.
35288         * math/libm-test.inc (ceil_test_data): Add more tests.
35290         * math/libm-test.inc (trunc_test_data): Add more tests related to
35291         BZ#16414.
35293 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35295         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35296         with #if rather than #ifdef.
35297         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35299 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35301         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35302         first.  Disable AVX-512 GCC support if assembler doesn't support
35303         it.
35304         * sysdeps/x86_64/configure: Regenerated.
35306 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35308         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35309         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35310         (__old_pthread_attr_setstack): Likewise.
35311         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35312         [!_STACK_GROWS_DOWN]: Likewise.
35314 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35316         * config.make.in (have-bash2): Delete.
35317         * configure.ac (libc_cv_have_bash2): Delete.
35318         * configure: Regenerate.
35319         * elf/Makefile (common-ldd-rewrite): Rename to ...
35320         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
35321         (sh-ldd-rewrite): Delete.
35322         (bash-ldd-rewrite): Delete.
35323         (have-bash2): Delete checks.
35324         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35325         ldd-rewrite.
35327         * config.make.in (have-ksh): Delete.
35328         (KSH): Delete.
35329         * configure.ac (libc_cv_have_ksh): Delete.
35330         * configure: Regenerate.
35332         * elf/Makefile: Delete $(have-ksh) check.
35333         ($(objpfx)sotruss): Change KSH to BASH.
35334         * elf/sotruss.ksh: Rename to ...
35335         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
35336         function style to match POSIX.  Drop ksh vim mode setting.
35338         * manual/time.texi (Specifying the Time Zone with TZ): Change
35339         Tuesday to Thursday.
35341         * debug/tst-longjmp_chk2.c: Update header comment.
35342         (stackoverflow_handler): Add comment.  Call assert on pass value.
35344 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
35346         [BZ #16194]
35347         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35348         (HAVE_AVX512_ASM_SUPPORT): Likewise.
35349         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35350         (La_x86_64_vector): Add zmm.
35351         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35352         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35353         ($(objpfx)tst-audit10): New target.
35354         ($(objpfx)tst-audit10.out): Likewise.
35355         (tst-audit10-ENV): New.
35356         (AVX512-CFLAGS): Likewise.
35357         (CFLAGS-tst-audit10.c): Likewise.
35358         (CFLAGS-tst-auditmod10a.c): Likewise.
35359         (CFLAGS-tst-auditmod10b.c): Likewise.
35360         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35361         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35362         * sysdeps/x86_64/configure: Regenerated.
35363         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35364         AVX-512 zmm register support.
35365         (_dl_x86_64_save_sse): Likewise.
35366         (_dl_x86_64_restore_sse): Likewise.
35367         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35368         size vector registers.
35369         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35370         (ZMM_SIZE): Likewise.
35371         * sysdeps/x86_64/tst-audit10.c: New file.
35372         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35373         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35375 2014-03-13  Roland McGrath  <roland@hack.frob.com>
35377         * configure.ac (HAVE_EHDR_START): New check.
35378         * configure: Regenerated.
35379         * config.h.in (HAVE_EHDR_START): New #undef.
35380         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35381         assuming the lowest-addressed segment maps the start of the file.
35383 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35385         * INSTALL: Regenerated.
35387 2014-03-13  Will Newton  <will.newton@linaro.org>
35389         * manual/setjmp.texi (System V contexts): Improve
35390         clarity and grammar of documentation.
35392 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35394         [BZ #16381]
35395         * elf/Makefile (tests): Add tst-pie2.
35396         (tests-pie): Add tst-pie2.
35397         * elf/tst-pie2.c: New file.
35398         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35399         for ET_EXEC.
35400         * elf/rtld.c (map_doit): Load executable as lt_executable.
35401         (dl_main): Likewise.
35403 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35405         [BZ #16642]
35406         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35407         (__ASSUME_PSELECT): Undefine.
35409 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35411         [BZ #16689]
35412         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35413         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35414         static build.
35415         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35416         selector for static builds.
35418 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35420         [BZ #16695]
35421         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35422         key in the buffer.
35424 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35426         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35427         IFUNC selector for static builds.
35429 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35431         * sysdeps/mips/math_private.h [__mips_hard_float]
35432         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35433         libc_feresetround_mips_ctx.
35434         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35435         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35436         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35438         [BZ #16677]
35439         * math/s_nextafter.c (__nextafter): Do not return value from
35440         overflowing computation.
35441         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35442         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35443         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35444         Likewise.
35445         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35446         Likewise.
35447         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35448         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35450 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35452         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35453         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35454         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35455         the new mov targetting sp.
35457 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35459         [BZ #16683]
35460         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35461         Define it for static builds as well.
35462         (NO_BZERO_IMPL): Likewise.
35464 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35466         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35467         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35468         multiarch strspn for PPC64.
35469         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35470         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35472         (__libc_ifunc_impl_list): Likewise.
35473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35474         multiarch optimizations
35475         * string/strspn.c (strspn): Using macro to redefine symbol name.
35477 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35478             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35480         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35481         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35482         multiarch strncat for PPC64.
35483         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35484         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
35485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35486         (__libc_ifunc_impl_list): Likewise.
35487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
35488         multiarch optimizations
35490 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35492         [BZ #16639]
35493         * nscd/nscd.service: Make service type forking.
35495 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35497         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35498         sign in non default rounding modes.
35499         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35501 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
35503         * math/libm-test.inc (ALL_RM_TEST): New macro.
35504         (ceil_test): Use ALL_RM_TEST.
35505         (cimag_test): Likewise.
35506         (conj_test): Likewise.
35507         (copysign_test): Likewise.
35508         (cproj_test): Likewise.
35509         (creal_test): Likewise.
35510         (fabs_test): Likewise.
35511         (floor_test): Likewise.
35512         (fmax_test): Likewise.
35513         (fmin_test): Likewise.
35514         (fmod_test): Likewise.
35515         (fpclassify_test): Likewise.
35516         (frexp_test): Likewise.
35517         (ilogb_test): Likewise.
35518         (isfinite_test): Likewise.
35519         (finite_test): Likewise.
35520         (isgreater_test): Likewise.
35521         (isgreaterequal_test): Likewise.
35522         (isinf_test): Likewise.
35523         (isless_test): Likewise.
35524         (islessequal_test): Likewise.
35525         (islessgreater_test): Likewise.
35526         (isnan_test): Likewise.
35527         (isnormal_test): Likewise.
35528         (issignaling_test): Likewise.
35529         (isunordered_test): Likewise.
35530         (logb_test): Likewise.
35531         (logb_downward_test_data): Remove.
35532         (logb_test_downward): Likewise.
35533         (lround_test): Use ALL_RM_TEST.
35534         (llround_test): Likewise.
35535         (modf_test): Likewise.
35536         (nexttoward_test): Likewise.
35537         (remainder_test): Likewise.
35538         (drem_test): Likewise.
35539         (remainder_tonearest_test_data): Likewise.
35540         (remainder_test_tonearest): Likewise.
35541         (drem_test_tonearest): Likewise.
35542         (remainder_towardzero_test_data): Likewise.
35543         (remainder_test_towardzero): Likewise.
35544         (drem_test_towardzero): Likewise.
35545         (remainder_downward_test_data): Likewise.
35546         (remainder_test_downward): Likewise.
35547         (drem_test_downward): Likewise.
35548         (remainder_upward_test_data): Likewise.
35549         (remainder_test_upward): Likewise.
35550         (drem_test_upward): Likewise.
35551         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
35552         (round_test): Use ALL_RM_TEST.
35553         (signbit_test): Likewise.
35554         (trunc_test): Likewise.
35555         (significand_test): Likewise.
35556         (main): Don't call removed functions.
35558 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35560         [BZ #16674]
35561         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35562         || __USE_XOPEN2K8].
35563         (ILL_ILLOPN): Likewise.
35564         (ILL_ILLADR): Likewise.
35565         (ILL_ILLTRP): Likewise.
35566         (ILL_PRVOPC): Likewise.
35567         (ILL_PRVREG): Likewise.
35568         (ILL_COPROC): Likewise.
35569         (ILL_BADSTK): Likewise.
35570         (FPE_INTDIV): Likewise.
35571         (FPE_INTOVF): Likewise.
35572         (FPE_FLTDIV): Likewise.
35573         (FPE_FLTOVF): Likewise.
35574         (FPE_FLTUND): Likewise.
35575         (FPE_FLTRES): Likewise.
35576         (FPE_FLTINV): Likewise.
35577         (FPE_FLTSUB): Likewise.
35578         (SEGV_MAPERR): Likewise.
35579         (SEGV_ACCERR): Likewise.
35580         (BUS_ADRALN): Likewise.
35581         (BUS_ADRERR): Likewise.
35582         (BUS_OBJERR): Likewise.
35583         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35584         (TRAP_TRACE): Likewise.
35585         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35586         __USE_XOPEN2K8].
35587         (CLD_KILLED): Likewise.
35588         (CLD_DUMPED): Likewise.
35589         (CLD_TRAPPED): Likewise.
35590         (CLD_STOPPED): Likewise.
35591         (CLD_CONTINUED): Likewise.
35592         (POLL_IN): Likewise.
35593         (POLL_OUT): Likewise.
35594         (POLL_MSG): Likewise.
35595         (POLL_ERR): Likewise.
35596         (POLL_PRI): Likewise.
35597         (POLL_HUP): Likewise.
35598         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35599         Likewise.
35600         (ILL_ILLOPN): Likewise.
35601         (ILL_ILLADR): Likewise.
35602         (ILL_ILLTRP): Likewise.
35603         (ILL_PRVOPC): Likewise.
35604         (ILL_PRVREG): Likewise.
35605         (ILL_COPROC): Likewise.
35606         (ILL_BADSTK): Likewise.
35607         (FPE_INTDIV): Likewise.
35608         (FPE_INTOVF): Likewise.
35609         (FPE_FLTDIV): Likewise.
35610         (FPE_FLTOVF): Likewise.
35611         (FPE_FLTUND): Likewise.
35612         (FPE_FLTRES): Likewise.
35613         (FPE_FLTINV): Likewise.
35614         (FPE_FLTSUB): Likewise.
35615         (SEGV_MAPERR): Likewise.
35616         (SEGV_ACCERR): Likewise.
35617         (BUS_ADRALN): Likewise.
35618         (BUS_ADRERR): Likewise.
35619         (BUS_OBJERR): Likewise.
35620         (BUS_MCEERR_AR): Likewise.
35621         (BUS_MCEERR_AO): Likewise.
35622         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35623         (TRAP_TRACE): Likewise.
35624         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35625         __USE_XOPEN2K8].
35626         (CLD_KILLED): Likewise.
35627         (CLD_DUMPED): Likewise.
35628         (CLD_TRAPPED): Likewise.
35629         (CLD_STOPPED): Likewise.
35630         (CLD_CONTINUED): Likewise.
35631         (POLL_IN): Likewise.
35632         (POLL_OUT): Likewise.
35633         (POLL_MSG): Likewise.
35634         (POLL_ERR): Likewise.
35635         (POLL_PRI): Likewise.
35636         (POLL_HUP): Likewise.
35637         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35638         (ILL_ILLOPN): Likewise.
35639         (ILL_ILLADR): Likewise.
35640         (ILL_ILLTRP): Likewise.
35641         (ILL_PRVOPC): Likewise.
35642         (ILL_PRVREG): Likewise.
35643         (ILL_COPROC): Likewise.
35644         (ILL_BADSTK): Likewise.
35645         (FPE_INTDIV): Likewise.
35646         (FPE_INTOVF): Likewise.
35647         (FPE_FLTDIV): Likewise.
35648         (FPE_FLTOVF): Likewise.
35649         (FPE_FLTUND): Likewise.
35650         (FPE_FLTRES): Likewise.
35651         (FPE_FLTINV): Likewise.
35652         (FPE_FLTSUB): Likewise.
35653         (SEGV_MAPERR): Likewise.
35654         (SEGV_ACCERR): Likewise.
35655         (BUS_ADRALN): Likewise.
35656         (BUS_ADRERR): Likewise.
35657         (BUS_OBJERR): Likewise.
35658         (BUS_MCEERR_AR): Likewise.
35659         (BUS_MCEERR_AO): Likewise.
35660         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35661         (TRAP_TRACE): Likewise.
35662         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35663         __USE_XOPEN2K8].
35664         (CLD_KILLED): Likewise.
35665         (CLD_DUMPED): Likewise.
35666         (CLD_TRAPPED): Likewise.
35667         (CLD_STOPPED): Likewise.
35668         (CLD_CONTINUED): Likewise.
35669         (POLL_IN): Likewise.
35670         (POLL_OUT): Likewise.
35671         (POLL_MSG): Likewise.
35672         (POLL_ERR): Likewise.
35673         (POLL_PRI): Likewise.
35674         (POLL_HUP): Likewise.
35675         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35676         Likewise.
35677         (ILL_ILLOPN): Likewise.
35678         (ILL_ILLADR): Likewise.
35679         (ILL_ILLTRP): Likewise.
35680         (ILL_PRVOPC): Likewise.
35681         (ILL_PRVREG): Likewise.
35682         (ILL_COPROC): Likewise.
35683         (ILL_BADSTK): Likewise.
35684         (ILL_BADIADDR): Likewise.
35685         (ILL_BREAK): Likewise.
35686         (FPE_INTDIV): Likewise.
35687         (FPE_INTOVF): Likewise.
35688         (FPE_FLTDIV): Likewise.
35689         (FPE_FLTOVF): Likewise.
35690         (FPE_FLTUND): Likewise.
35691         (FPE_FLTRES): Likewise.
35692         (FPE_FLTINV): Likewise.
35693         (FPE_FLTSUB): Likewise.
35694         (FPE_DECOVF): Likewise.
35695         (FPE_DECDIV): Likewise.
35696         (FPE_DECERR): Likewise.
35697         (FPE_INVASC): Likewise.
35698         (FPE_INVDEC): Likewise.
35699         (SEGV_MAPERR): Likewise.
35700         (SEGV_ACCERR): Likewise.
35701         (SEGV_PSTKOVF): Likewise.
35702         (BUS_ADRALN): Likewise.
35703         (BUS_ADRERR): Likewise.
35704         (BUS_OBJERR): Likewise.
35705         (BUS_MCEERR_AR): Likewise.
35706         (BUS_MCEERR_AO): Likewise.
35707         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35708         (TRAP_TRACE): Likewise.
35709         (TRAP_BRANCH): Likewise.
35710         (TRAP_HWBKPT): Likewise.
35711         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35712         __USE_XOPEN2K8].
35713         (CLD_KILLED): Likewise.
35714         (CLD_DUMPED): Likewise.
35715         (CLD_TRAPPED): Likewise.
35716         (CLD_STOPPED): Likewise.
35717         (CLD_CONTINUED): Likewise.
35718         (POLL_IN): Likewise.
35719         (POLL_OUT): Likewise.
35720         (POLL_MSG): Likewise.
35721         (POLL_ERR): Likewise.
35722         (POLL_PRI): Likewise.
35723         (POLL_HUP): Likewise.
35724         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35725         (ILL_ILLOPN): Likewise.
35726         (ILL_ILLADR): Likewise.
35727         (ILL_ILLTRP): Likewise.
35728         (ILL_PRVOPC): Likewise.
35729         (ILL_PRVREG): Likewise.
35730         (ILL_COPROC): Likewise.
35731         (ILL_BADSTK): Likewise.
35732         (FPE_INTDIV): Likewise.
35733         (FPE_INTOVF): Likewise.
35734         (FPE_FLTDIV): Likewise.
35735         (FPE_FLTOVF): Likewise.
35736         (FPE_FLTUND): Likewise.
35737         (FPE_FLTRES): Likewise.
35738         (FPE_FLTINV): Likewise.
35739         (FPE_FLTSUB): Likewise.
35740         (SEGV_MAPERR): Likewise.
35741         (SEGV_ACCERR): Likewise.
35742         (BUS_ADRALN): Likewise.
35743         (BUS_ADRERR): Likewise.
35744         (BUS_OBJERR): Likewise.
35745         (BUS_MCEERR_AR): Likewise.
35746         (BUS_MCEERR_AO): Likewise.
35747         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35748         (TRAP_TRACE): Likewise.
35749         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35750         __USE_XOPEN2K8].
35751         (CLD_KILLED): Likewise.
35752         (CLD_DUMPED): Likewise.
35753         (CLD_TRAPPED): Likewise.
35754         (CLD_STOPPED): Likewise.
35755         (CLD_CONTINUED): Likewise.
35756         (POLL_IN): Likewise.
35757         (POLL_OUT): Likewise.
35758         (POLL_MSG): Likewise.
35759         (POLL_ERR): Likewise.
35760         (POLL_PRI): Likewise.
35761         (POLL_HUP): Likewise.
35762         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
35763         (ILL_ILLOPN): Likewise.
35764         (ILL_ILLADR): Likewise.
35765         (ILL_ILLTRP): Likewise.
35766         (ILL_PRVOPC): Likewise.
35767         (ILL_PRVREG): Likewise.
35768         (ILL_COPROC): Likewise.
35769         (ILL_BADSTK): Likewise.
35770         (FPE_INTDIV): Likewise.
35771         (FPE_INTOVF): Likewise.
35772         (FPE_FLTDIV): Likewise.
35773         (FPE_FLTOVF): Likewise.
35774         (FPE_FLTUND): Likewise.
35775         (FPE_FLTRES): Likewise.
35776         (FPE_FLTINV): Likewise.
35777         (FPE_FLTSUB): Likewise.
35778         (SEGV_MAPERR): Likewise.
35779         (SEGV_ACCERR): Likewise.
35780         (BUS_ADRALN): Likewise.
35781         (BUS_ADRERR): Likewise.
35782         (BUS_OBJERR): Likewise.
35783         (BUS_MCEERR_AR): Likewise.
35784         (BUS_MCEERR_AO): Likewise.
35785         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35786         (TRAP_TRACE): Likewise.
35787         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35788         __USE_XOPEN2K8].
35789         (CLD_KILLED): Likewise.
35790         (CLD_DUMPED): Likewise.
35791         (CLD_TRAPPED): Likewise.
35792         (CLD_STOPPED): Likewise.
35793         (CLD_CONTINUED): Likewise.
35794         (POLL_IN): Likewise.
35795         (POLL_OUT): Likewise.
35796         (POLL_MSG): Likewise.
35797         (POLL_ERR): Likewise.
35798         (POLL_PRI): Likewise.
35799         (POLL_HUP): Likewise.
35800         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
35801         (ILL_ILLOPN): Likewise.
35802         (ILL_ILLADR): Likewise.
35803         (ILL_ILLTRP): Likewise.
35804         (ILL_PRVOPC): Likewise.
35805         (ILL_PRVREG): Likewise.
35806         (ILL_COPROC): Likewise.
35807         (ILL_BADSTK): Likewise.
35808         (FPE_INTDIV): Likewise.
35809         (FPE_INTOVF): Likewise.
35810         (FPE_FLTDIV): Likewise.
35811         (FPE_FLTOVF): Likewise.
35812         (FPE_FLTUND): Likewise.
35813         (FPE_FLTRES): Likewise.
35814         (FPE_FLTINV): Likewise.
35815         (FPE_FLTSUB): Likewise.
35816         (SEGV_MAPERR): Likewise.
35817         (SEGV_ACCERR): Likewise.
35818         (BUS_ADRALN): Likewise.
35819         (BUS_ADRERR): Likewise.
35820         (BUS_OBJERR): Likewise.
35821         (BUS_MCEERR_AR): Likewise.
35822         (BUS_MCEERR_AO): Likewise.
35823         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35824         (TRAP_TRACE): Likewise.
35825         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35826         __USE_XOPEN2K8].
35827         (CLD_KILLED): Likewise.
35828         (CLD_DUMPED): Likewise.
35829         (CLD_TRAPPED): Likewise.
35830         (CLD_STOPPED): Likewise.
35831         (CLD_CONTINUED): Likewise.
35832         (POLL_IN): Likewise.
35833         (POLL_OUT): Likewise.
35834         (POLL_MSG): Likewise.
35835         (POLL_ERR): Likewise.
35836         (POLL_PRI): Likewise.
35837         (POLL_HUP): Likewise.
35838         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
35839         (ILL_ILLOPN): Likewise.
35840         (ILL_ILLADR): Likewise.
35841         (ILL_ILLTRP): Likewise.
35842         (ILL_PRVOPC): Likewise.
35843         (ILL_PRVREG): Likewise.
35844         (ILL_COPROC): Likewise.
35845         (ILL_BADSTK): Likewise.
35846         (ILL_DBLFLT): Likewise.
35847         (ILL_HARDWALL): Likewise.
35848         (FPE_INTDIV): Likewise.
35849         (FPE_INTOVF): Likewise.
35850         (FPE_FLTDIV): Likewise.
35851         (FPE_FLTOVF): Likewise.
35852         (FPE_FLTUND): Likewise.
35853         (FPE_FLTRES): Likewise.
35854         (FPE_FLTINV): Likewise.
35855         (FPE_FLTSUB): Likewise.
35856         (SEGV_MAPERR): Likewise.
35857         (SEGV_ACCERR): Likewise.
35858         (BUS_ADRALN): Likewise.
35859         (BUS_ADRERR): Likewise.
35860         (BUS_OBJERR): Likewise.
35861         (BUS_MCEERR_AR): Likewise.
35862         (BUS_MCEERR_AO): Likewise.
35863         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35864         (TRAP_TRACE): Likewise.
35865         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35866         __USE_XOPEN2K8].
35867         (CLD_KILLED): Likewise.
35868         (CLD_DUMPED): Likewise.
35869         (CLD_TRAPPED): Likewise.
35870         (CLD_STOPPED): Likewise.
35871         (CLD_CONTINUED): Likewise.
35872         (POLL_IN): Likewise.
35873         (POLL_OUT): Likewise.
35874         (POLL_MSG): Likewise.
35875         (POLL_ERR): Likewise.
35876         (POLL_PRI): Likewise.
35877         (POLL_HUP): Likewise.
35878         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
35879         (ILL_ILLOPN): Likewise.
35880         (ILL_ILLADR): Likewise.
35881         (ILL_ILLTRP): Likewise.
35882         (ILL_PRVOPC): Likewise.
35883         (ILL_PRVREG): Likewise.
35884         (ILL_COPROC): Likewise.
35885         (ILL_BADSTK): Likewise.
35886         (FPE_INTDIV): Likewise.
35887         (FPE_INTOVF): Likewise.
35888         (FPE_FLTDIV): Likewise.
35889         (FPE_FLTOVF): Likewise.
35890         (FPE_FLTUND): Likewise.
35891         (FPE_FLTRES): Likewise.
35892         (FPE_FLTINV): Likewise.
35893         (FPE_FLTSUB): Likewise.
35894         (SEGV_MAPERR): Likewise.
35895         (SEGV_ACCERR): Likewise.
35896         (BUS_ADRALN): Likewise.
35897         (BUS_ADRERR): Likewise.
35898         (BUS_OBJERR): Likewise.
35899         (BUS_MCEERR_AR): Likewise.
35900         (BUS_MCEERR_AO): Likewise.
35901         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35902         (TRAP_TRACE): Likewise.
35903         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35904         __USE_XOPEN2K8].
35905         (CLD_KILLED): Likewise.
35906         (CLD_DUMPED): Likewise.
35907         (CLD_TRAPPED): Likewise.
35908         (CLD_STOPPED): Likewise.
35909         (CLD_CONTINUED): Likewise.
35910         (POLL_IN): Likewise.
35911         (POLL_OUT): Likewise.
35912         (POLL_MSG): Likewise.
35913         (POLL_ERR): Likewise.
35914         (POLL_PRI): Likewise.
35915         (POLL_HUP): Likewise.
35916         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
35917         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35919         [BZ #16670]
35920         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
35921         before #include of <time.h>.
35922         [!__USE_XOPEN2K] (__need_timespec): Likewise.
35923         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
35924         (test-xfail-UNIX98/sched.h/conform): Likewise.
35926 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35928         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
35929         error absence of trapping exception support.
35930         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35932 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35934         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
35935         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
35936         * timezone/Makefile (testdata): Move definition above include of
35937         Rules.
35938         (test-zones): New variable.
35939         (tests-special): Add zone files.
35940         (build-testdata): Use $(evaluate-test).
35942         * elf/Makefile (tests-special): Rename tests to end with .out.
35943         ($(objpfx)noload-mem): Likewise.
35944         ($(objpfx)tst-leaks1-mem): Likewise.
35945         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35946         * iconv/Makefile (xtests-special): Change test-iconvconfig to
35947         $(objpfx)test-iconvconfig.out.
35948         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
35949         set -e inside subshell and redirect output to file.
35950         * iconvdata/Makefile (generated): Rename tests to end with .out.
35951         Correct type.
35952         (tests-special): Rename tests to end with .out.
35953         ($(objpfx)mtrace-tst-loading): Likewise.
35954         * intl/Makefile (generated): Likewise.
35955         (tests-special): Likewise.
35956         ($(objpfx)mtrace-tst-gettext): Likewise.
35957         * misc/Makefile (generated): Likewise.
35958         (tests-special): Likewise.
35959         ($(objpfx)tst-error1-mem): Likewise.
35960         * nptl/Makefile (tests-special): Likewise.
35961         ($(objpfx)tst-stack3-mem): Likewise.
35962         (generated): Likewise.
35963         * posix/Makefile (generated): Likewise.
35964         (tests-special): Likewise.
35965         (xtests-special): Likewise.
35966         ($(objpfx)tst-fnmatch-mem): Likewise.
35967         ($(objpfx)bug-regex2-mem): Likewise.
35968         ($(objpfx)bug-regex14-mem): Likewise.
35969         ($(objpfx)bug-regex21-mem): Likewise.
35970         ($(objpfx)bug-regex31-mem): Likewise.
35971         ($(objpfx)tst-vfork3-mem): Likewise.
35972         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35973         ($(objpfx)tst-pcre-mem): Likewise.
35974         ($(objpfx)tst-boost-mem): Likewise.
35975         ($(objpfx)bug-ga2-mem): Likewise.
35976         ($(objpfx)bug-glob2-mem): Likewise.
35977         * resolv/Makefile (generate): Likewise.
35978         (tests-special): Likewise.
35979         (xtests-special): Likewise.
35980         (generated): Likewise.
35981         ($(objpfx)mtrace-tst-leaks): Likewise.
35982         ($(objpfx)mtrace-tst-leaks2): Likewise.
35984         * scripts/merge-test-results.sh: New file.
35985         * Makefile (tests-special-notdir): New variable.
35986         (tests): Run merge-test-results.sh.
35987         (xtests): Likewise.
35988         * Rules (tests-special-notdir): New variable.
35989         (xtests-special-notdir): Likewise.
35990         (tests): Run merge-test-results.sh
35991         (xtests): Likewise.
35993         * Makeconfig (test-xfail-name): New variable.
35994         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35995         compute variable name for expected failures.
35996         * conform/Makefile (conformtest-headers-data): New variable.
35997         (conformtest-standards): Likewise.
35998         (conformtest-headers-ISO): Likewise.
35999         (conformtest-headers-ISO99): Likewise.
36000         (conformtest-headers-ISO11): Likewise.
36001         (conformtest-headers-POSIX): Likewise.
36002         (conformtest-headers-XPG3): Likewise.
36003         (conformtest-headers-XPG4): Likewise.
36004         (conformtest-headers-UNIX98): Likewise.
36005         (conformtest-headers-XOPEN2K): Likewise.
36006         (conformtest-headers-POSIX2008): Likewise.
36007         (conformtest-headers-XOPEN2K8): Likewise.
36008         (conformtest-header-list-base): Likewise.
36009         (conformtest-header-list-tests): Likewise.
36010         (conformtest-header-base): Likewise.
36011         (conformtest-header-tests): Likewise.
36012         (tests-special): Add $(conformtest-header-list-tests).  If
36013         [$(fast-check) && !$(cross-compiling)], add
36014         $(conformtest-header-tests) instead of
36015         $(objpfx)run-conformtest.out.
36016         (generated): Add $(conformtest-header-list-base).  If
36017         [$(fast-check) && !$(cross-compiling)], add
36018         $(conformtest-header-base).  Remove previous setting.
36019         ($(conformtest-header-list-tests)): New target.
36020         (test-xfail-run-conformtest): Remove variable.
36021         ($(objpfx)run-conformtest.out): Remove target.
36022         (test-xfail-ISO11/complex.h/conform): New variable.
36023         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36024         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36025         (test-xfail-XPG3/varargs.h/conform): Likewise.
36026         (test-xfail-XPG4/varargs.h/conform): Likewise.
36027         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36028         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36029         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36030         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36031         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36032         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36033         (test-xfail-XPG3/ftw.h/conform): Likewise.
36034         (test-xfail-XPG3/grp.h/conform): Likewise.
36035         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36036         (test-xfail-XPG3/limits.h/conform): Likewise.
36037         (test-xfail-XPG3/pwd.h/conform): Likewise.
36038         (test-xfail-XPG3/search.h/conform): Likewise.
36039         (test-xfail-XPG3/signal.h/conform): Likewise.
36040         (test-xfail-XPG3/stdio.h/conform): Likewise.
36041         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36042         (test-xfail-XPG3/string.h/conform): Likewise.
36043         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36044         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36045         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36046         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36047         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36048         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36049         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36050         (test-xfail-XPG3/termios.h/conform): Likewise.
36051         (test-xfail-XPG3/time.h/conform): Likewise.
36052         (test-xfail-XPG3/unistd.h/conform): Likewise.
36053         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36054         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36055         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36056         (test-xfail-XPG4/netdb.h/conform): Likewise.
36057         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36058         (test-xfail-XPG4/signal.h/conform): Likewise.
36059         (test-xfail-XPG4/stdio.h/conform): Likewise.
36060         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36061         (test-xfail-XPG4/stropts.h/conform): Likewise.
36062         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36063         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36064         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36065         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36066         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36067         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36068         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36069         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36070         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36071         (test-xfail-XPG4/termios.h/conform): Likewise.
36072         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36073         (test-xfail-XPG4/unistd.h/conform): Likewise.
36074         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36075         (test-xfail-POSIX/sched.h/conform): Likewise.
36076         (test-xfail-POSIX/signal.h/conform): Likewise.
36077         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36078         (test-xfail-POSIX/tar.h/conform): Likewise.
36079         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36080         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36081         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36082         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36083         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36084         (test-xfail-UNIX98/sched.h/conform): Likewise.
36085         (test-xfail-UNIX98/signal.h/conform): Likewise.
36086         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36087         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36088         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36089         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36090         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36091         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36092         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36093         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36094         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36095         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36096         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36097         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36098         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36099         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36100         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36101         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36102         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36103         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36104         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36105         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36106         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36107         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36108         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36109         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36110         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36111         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36112         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36113         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36114         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36115         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36116         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36117         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36118         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36119         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36120         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36121         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36122         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36123         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36124         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36125         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36126         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36127         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36128         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36129         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36130         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36131         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36132         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36133         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36134         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36135         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36136         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36137         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36138         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36139         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36140         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36141         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36142         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36143         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36144         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36145         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36146         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36147         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36148         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36149         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36150         (conformtest-cc-flags): Likewise.
36151         ($(conformtest-header-tests): New target.
36152         * conform/check-header-lists.sh: New file.
36153         * conform/run-conformtest.sh: Remove.
36155         * conform/conformtest.pl: Allow ' and \ in values given for
36156         constants.
36157         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36158         inclusion.
36159         [POSIX] (sys/types.h): Likewise.
36160         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36161         inclusion.
36162         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36163         inclusion.
36164         * conform/data/signal.h-data (SIGIO): Remove expectation.
36165         [XPG3] (SIGBUS): Do not expect.
36166         [POSIX || XPG3] (SIGPOLL): Likewise.
36167         [POSIX || XPG3] (SIGPROF): Likewise.
36168         [POSIX || XPG3] (SIGSYS): Likewise.
36169         [XPG3] (SIGTRAP): Likewise.
36170         [POSIX || XPG3] (SIGURG): Likewise.
36171         [POSIX || XPG3] (SIGVTALRM): Likewise.
36172         [POSIX || XPG3] (SIGXCPU): Likewise.
36173         [POSIX || XPG3] (SIGXFSZ): Likewise.
36174         [POSIX] (SA_SIGINFO): Expect.
36175         [XPG3] (siginfo_t): Do not expect type or contents.
36176         [POSIX] (si_pid): Do not expect element.
36177         [POSIX] (si_uid): Likewise.
36178         [POSIX] (si_addr): Likewise.
36179         [POSIX] (si_status): Likewise.
36180         [POSIX] (si_band): Likewise.
36181         [XPG4] (si_value): Likewise.
36182         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36183         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36184         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36185         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36186         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36187         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36188         [POSIX || XPG3] (ILL_COPROC): Likewise.
36189         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36190         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36191         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36192         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36193         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36194         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36195         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36196         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36197         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36198         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36199         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36200         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36201         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36202         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36203         [POSIX || XPG3] (CLD_EXITED): Likewise.
36204         [POSIX || XPG3] (CLD_KILLED): Likewise.
36205         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36206         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36207         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36208         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36209         [POSIX || XPG3] (POLL_IN): Likewise.
36210         [POSIX || XPG3] (POLL_OUT): Likewise.
36211         [POSIX || XPG3] (POLL_MSG): Likewise.
36212         [POSIX || XPG3] (POLL_ERR): Likewise.
36213         [POSIX || XPG3] (POLL_PRI): Likewise.
36214         [POSIX || XPG3] (POLL_HUP): Likewise.
36215         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36216         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36217         (SIG*): Do not allow.
36218         [XPG3] (si_*): Likewise.
36219         [XPG3] (SI_*): Likewise.
36220         [XPG3 || XPG4] (sigev_*): Likewise.
36221         [XPG3 || XPG4] (SIGEV_*): Likewise.
36222         [XPG3 || XPG4] (sival_*): Likewise.
36223         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36224         [POSIX || XPG3] (BUS_*): Likewise.
36225         [POSIX || XPG3] (CLD_*): Likewise.
36226         [POSIX || XPG3] (FPE_*): Likewise.
36227         [POSIX || XPG3] (ILL_*): Likewise.
36228         [POSIX || XPG3] (POLL_*): Likewise.
36229         [POSIX || XPG3] (SEGV_*): Likewise.
36230         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36231         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36232         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36233         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36234         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36235         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36236         Specify type and value.
36237         (TVERSLEN): Likewise.
36238         (REGTYPE): Likewise.
36239         (AREGTYPE): Likewise.
36240         (LNKTYPE): Likewise.
36241         (SYMTYPE): Likewise.
36242         (CHRTYPE): Likewise.
36243         (BLKTYPE): Likewise.
36244         (DIRTYPE): Likewise.
36245         (FIFOTYPE): Likewise.
36246         (CONTTYPE): Likewise.
36247         (TSUID): Likewise.
36248         (TSGID): Likewise.
36249         (TSVTX): Likewise.
36250         (TUREAD): Likewise.
36251         (TUWRITE): Likewise.
36252         (TUEXEC): Likewise.
36253         (TGREAD): Likewise.
36254         (TGWRITE): Likewise.
36255         (TGEXEC): Likewise.
36256         (TOREAD): Likewise.
36257         (TOWRITE): Likewise.
36258         (TOEXEC): Likewise.
36259         [POSIX] (TSVTX): Expect constant.
36261 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36263         * Makefile (tests): Change dependencies to ....
36264         (tests-special): ... additions to this variable.
36265         (tests): Depend on $(tests-special).
36266         * Makerules (check-abi-list): New variable.
36267         (check-abi): Depend on $(check-abi-list).
36268         [$(subdir) = elf] (tests-special): Add
36269         $(objpfx)check-abi-libc.out.
36270         [$(build-shared) = yes && subdir] (tests-special): Add
36271         $(check-abi-list).
36272         [$(build-shared) = yes && subdir] (tests): Do not depend on
36273         check-abi.
36274         * Rules (tests): Depend on $(tests-special).
36275         (xtests): Depend on $(xtests-special).
36276         * catgets/Makefile (tests): Change dependencies to ....
36277         (tests-special): ... additions to this variable.
36278         * conform/Makefile (tests): Change dependencies to ....
36279         (tests-special): ... additions to this variable.
36280         * elf/Makefile (tests): Change dependencies to ....
36281         (tests-special): ... additions to this variable.
36282         * grp/Makefile (tests): Change dependencies to ....
36283         (tests-special): ... additions to this variable.
36284         * iconv/Makefile (xtests): Change dependencies to ....
36285         (xtests-special): ... additions to this variable.
36286         * iconvdata/Makefile (tests): Change dependencies to ....
36287         (tests-special): ... additions to this variable.
36288         * intl/Makefile (tests): Change dependencies to ....
36289         (tests-special): ... additions to this variable.  Also add
36290         $(objpfx)tst-gettext.out.
36291         * io/Makefile (tests): Change dependencies to ....
36292         (tests-special): ... additions to this variable.
36293         * libio/Makefile (tests): Change dependencies to ....
36294         (tests-special): ... additions to this variable.
36295         * malloc/Makefile (tests): Change dependencies to ....
36296         (tests-special): ... additions to this variable.
36297         * misc/Makefile (tests): Change dependencies to ....
36298         (tests-special): ... additions to this variable.
36299         * nptl/Makefile (tests): Change dependencies to ....
36300         (tests-special): ... additions to this variable.
36301         * nptl_db/Makefile (tests): Change dependencies to ....
36302         (tests-special): ... additions to this variable.
36303         * posix/Makefile (tests): Change dependencies to ....
36304         (tests-special): ... additions to this variable.
36305         (xtests): Change dependencies to ....
36306         (xtests-special): ... additions to this variable.
36307         * resolv/Makefile (tests): Change dependencies to ....
36308         (tests-special): ... additions to this variable.
36309         (xtests): Change dependencies to ....
36310         (xtests-special): ... additions to this variable.
36311         * stdio-common/Makefile (tests): Change dependencies to ....
36312         (tests-special): ... additions to this variable.
36313         (do-tst-unbputc): Remove target.
36314         (do-tst-printf): Likewise.
36315         * stdlib/Makefile (tests): Change dependencies to ....
36316         (tests-special): ... additions to this variable.
36317         * string/Makefile (tests): Change dependencies to ....
36318         (tests-special): ... additions to this variable.
36319         * sysdeps/x86/Makefile (tests): Change dependencies to ....
36320         (tests-special): ... additions to this variable.
36322         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36323         whole file.
36324         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36325         whole file.
36326         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36327         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36329         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36330         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36331         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36332         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36333         * conform/data/libgen.h-data [XPG3]: Likewise.
36334         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36335         * conform/data/ndbm.h-data [XPG3]: Likewise.
36336         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36337         * conform/data/netdb.h-data [XPG3]: Likewise.
36338         * conform/data/netinet/in.h-data [XPG3]: Likewise.
36339         * conform/data/poll.h-data [XPG3]: Likewise.
36340         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36341         * conform/data/strings.h-data [XPG3]: Likewise.
36342         * conform/data/stropts.h-data [XPG3]: Likewise.
36343         * conform/data/sys/mman.h-data [XPG3]: Likewise.
36344         * conform/data/sys/resource.h-data [XPG3]: Likewise.
36345         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36346         Likewise.
36347         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36348         * conform/data/sys/time.h-data [XPG3]: Likewise.
36349         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36350         * conform/data/sys/uio.h-data [XPG3]: Likewise.
36351         * conform/data/sys/un.h-data [XPG3]: Likewise.
36352         * conform/data/syslog.h-data [XPG3]: Likewise.
36353         * conform/data/ucontext.h-data [XPG3]: Likewise.
36354         * conform/data/utmpx.h-data [XPG3]: Likewise.
36355         * conform/data/varargs.h-data [UNIX98]: Enable file.
36357         * manual/Makefile (INSTALL_INFO): Remove variable setting.
36359         * math/libm-test.inc (struct test_f_f_data): Move expected results
36360         into structure for each rounding mode.
36361         (struct test_ff_f_data): Likewise.
36362         (struct test_ff_f_data_nexttoward): Likewise.
36363         (struct test_fi_f_data): Likewise.
36364         (struct test_fl_f_data): Likewise.
36365         (struct test_if_f_data): Likewise.
36366         (struct test_fff_f_data): Likewise.
36367         (struct test_c_f_data): Likewise.
36368         (struct test_f_f1_data): Likewise.
36369         (struct test_fF_f1_data): Likewise.
36370         (struct test_ffI_f1_data): Likewise.
36371         (struct test_c_c_data): Likewise.
36372         (struct test_cc_c_data): Likewise.
36373         (struct test_f_i_data): Likewise.
36374         (struct test_ff_i_data): Likewise.
36375         (struct test_f_l_data): Likewise.
36376         (struct test_f_L_data): Likewise.
36377         (struct test_fFF_11_data): Likewise.
36378         (RM_): New macro.
36379         (RM_FE_DOWNWARD): Likewise.
36380         (RM_FE_TONEAREST): Likewise.
36381         (RM_FE_TOWARDZERO): Likewise.
36382         (RM_FE_UPWARD): Likewise.
36383         (RUN_TEST_LOOP_f_f): Update references to expected results.
36384         (RUN_TEST_LOOP_2_f): Likewise.
36385         (RUN_TEST_LOOP_fff_f): Likewise.
36386         (RUN_TEST_LOOP_c_f): Likewise.
36387         (RUN_TEST_LOOP_f_f1): Likewise.
36388         (RUN_TEST_LOOP_fF_f1): Likewise.
36389         (RUN_TEST_LOOP_fI_f1): Likewise.
36390         (RUN_TEST_LOOP_ffI_f1): Likewise.
36391         (RUN_TEST_LOOP_c_c): Likewise.
36392         (RUN_TEST_LOOP_cc_c): Likewise.
36393         (RUN_TEST_LOOP_f_i): Likewise.
36394         (RUN_TEST_LOOP_f_i_tg): Likewise.
36395         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36396         (RUN_TEST_LOOP_f_b): Likewise.
36397         (RUN_TEST_LOOP_f_b_tg): Likewise.
36398         (RUN_TEST_LOOP_f_l): Likewise.
36399         (RUN_TEST_LOOP_f_L): Likewise.
36400         (RUN_TEST_LOOP_fFF_11): Likewise.
36401         * math/gen-libm-test.pl (parse_args): Output four copies of
36402         expected results for each test.
36404         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36405         (__ASSUME_UTIMES): Remove.
36406         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36407         (__ASSUME_UTIMES): Likewise.
36409         * math/gen-auto-libm-tests.c: Update comment on output format.
36410         (output_for_one_input_case): Generate before-rounding and
36411         after-rounding information as conditions on output flags not
36412         floating-point format.
36413         * math/auto-libm-test-out: Regenerated.
36414         * math/gen-libm-test.pl (cond_value): New function.
36415         (or_cond_value): Use cond_value.
36416         (generate_testfile): Handle conditional exceptions.
36418 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36420         * math/libm-test.inc (max_valid_error): New variable.
36421         (init_max_error): Take new argument specifying whether function
36422         results are exactly determined.  Set max_valid_error and bound
36423         other variables for errors based on this argument.
36424         (set_max_error): Do not record results above max_valid_error.
36425         (check_float_internal): Only accept errors of up to 0.5ulps if
36426         also at most max_valid_error.
36427         (START): Take new argument EXACT and pass it to init_max_error.
36428         (acos_test): Update call to START.
36429         (acos_test_tonearest): Likewise.
36430         (acos_test_towardzero): Likewise.
36431         (acos_test_downward): Likewise.
36432         (acos_test_upward): Likewise.
36433         (acosh_test): Likewise.
36434         (asin_test): Likewise.
36435         (asin_test_tonearest): Likewise.
36436         (asin_test_towardzero): Likewise.
36437         (asin_test_downward): Likewise.
36438         (asin_test_upward): Likewise.
36439         (asinh_test): Likewise.
36440         (atan_test): Likewise.
36441         (atanh_test): Likewise.
36442         (atan2_test): Likewise.
36443         (cabs_test): Likewise.
36444         (cacos_test): Likewise.
36445         (cacosh_test): Likewise.
36446         (carg_test): Likewise.
36447         (casin_test): Likewise.
36448         (casinh_test): Likewise.
36449         (catan_test): Likewise.
36450         (catanh_test): Likewise.
36451         (cbrt_test): Likewise.
36452         (ccos_test): Likewise.
36453         (ccosh_test): Likewise.
36454         (ceil_test): Likewise.
36455         (cexp_test): Likewise.
36456         (cimag_test): Likewise.
36457         (clog_test): Likewise.
36458         (clog10_test): Likewise.
36459         (conj_test): Likewise.
36460         (copysign_test): Likewise.
36461         (cos_test): Likewise.
36462         (cos_test_tonearest): Likewise.
36463         (cos_test_towardzero): Likewise.
36464         (cos_test_downward): Likewise.
36465         (cos_test_upward): Likewise.
36466         (cosh_test): Likewise.
36467         (cosh_test_tonearest): Likewise.
36468         (cosh_test_towardzero): Likewise.
36469         (cosh_test_downward): Likewise.
36470         (cosh_test_upward): Likewise.
36471         (cpow_test): Likewise.
36472         (cproj_test): Likewise.
36473         (creal_test): Likewise.
36474         (csin_test): Likewise.
36475         (csinh_test): Likewise.
36476         (csqrt_test): Likewise.
36477         (ctan_test): Likewise.
36478         (ctan_test_tonearest): Likewise.
36479         (ctan_test_towardzero): Likewise.
36480         (ctan_test_downward): Likewise.
36481         (ctan_test_upward): Likewise.
36482         (ctanh_test): Likewise.
36483         (ctanh_test_tonearest): Likewise.
36484         (ctanh_test_towardzero): Likewise.
36485         (ctanh_test_downward): Likewise.
36486         (ctanh_test_upward): Likewise.
36487         (erf_test): Likewise.
36488         (erfc_test): Likewise.
36489         (exp_test): Likewise.
36490         (exp_test_tonearest): Likewise.
36491         (exp_test_towardzero): Likewise.
36492         (exp_test_downward): Likewise.
36493         (exp_test_upward): Likewise.
36494         (exp10_test): Likewise.
36495         (exp10_test_tonearest): Likewise.
36496         (exp10_test_towardzero): Likewise.
36497         (exp10_test_downward): Likewise.
36498         (exp10_test_upward): Likewise.
36499         (pow10_test): Likewise.
36500         (exp2_test): Likewise.
36501         (expm1_test): Likewise.
36502         (expm1_test_tonearest): Likewise.
36503         (expm1_test_towardzero): Likewise.
36504         (expm1_test_downward): Likewise.
36505         (expm1_test_upward): Likewise.
36506         (fabs_test): Likewise.
36507         (fdim_test): Likewise.
36508         (floor_test): Likewise.
36509         (fma_test): Likewise.
36510         (fma_test_towardzero): Likewise.
36511         (fma_test_downward): Likewise.
36512         (fma_test_upward): Likewise.
36513         (fmax_test): Likewise.
36514         (fmin_test): Likewise.
36515         (fmod_test): Likewise.
36516         (fpclassify_test): Likewise.
36517         (frexp_test): Likewise.
36518         (hypot_test): Likewise.
36519         (ilogb_test): Likewise.
36520         (isfinite_test): Likewise.
36521         (finite_test): Likewise.
36522         (isgreater_test): Likewise.
36523         (isgreaterequal_test): Likewise.
36524         (isinf_test): Likewise.
36525         (isless_test): Likewise.
36526         (islessequal_test): Likewise.
36527         (islessgreater_test): Likewise.
36528         (isnan_test): Likewise.
36529         (isnormal_test): Likewise.
36530         (issignaling_test): Likewise.
36531         (isunordered_test): Likewise.
36532         (j0_test): Likewise.
36533         (j1_test): Likewise.
36534         (jn_test): Likewise.
36535         (ldexp_test): Likewise.
36536         (lgamma_test): Likewise.
36537         (gamma_test): Likewise.
36538         (lrint_test): Likewise.
36539         (lrint_test_tonearest): Likewise.
36540         (lrint_test_towardzero): Likewise.
36541         (lrint_test_downward): Likewise.
36542         (lrint_test_upward): Likewise.
36543         (llrint_test): Likewise.
36544         (llrint_test_tonearest): Likewise.
36545         (llrint_test_towardzero): Likewise.
36546         (llrint_test_downward): Likewise.
36547         (llrint_test_upward): Likewise.
36548         (log_test): Likewise.
36549         (log10_test): Likewise.
36550         (log1p_test): Likewise.
36551         (log2_test): Likewise.
36552         (logb_test): Likewise.
36553         (logb_test_downward): Likewise.
36554         (lround_test): Likewise.
36555         (llround_test): Likewise.
36556         (modf_test): Likewise.
36557         (nearbyint_test): Likewise.
36558         (nextafter_test): Likewise.
36559         (nexttoward_test): Likewise.
36560         (pow_test): Likewise.
36561         (pow_test_tonearest): Likewise.
36562         (pow_test_towardzero): Likewise.
36563         (pow_test_downward): Likewise.
36564         (pow_test_upward): Likewise.
36565         (remainder_test): Likewise.
36566         (drem_test): Likewise.
36567         (remainder_test_tonearest): Likewise.
36568         (drem_test_tonearest): Likewise.
36569         (remainder_test_towardzero): Likewise.
36570         (drem_test_towardzero): Likewise.
36571         (remainder_test_downward): Likewise.
36572         (drem_test_downward): Likewise.
36573         (remainder_test_upward): Likewise.
36574         (drem_test_upward): Likewise.
36575         (remquo_test): Likewise.
36576         (rint_test): Likewise.
36577         (rint_test_tonearest): Likewise.
36578         (rint_test_towardzero): Likewise.
36579         (rint_test_downward): Likewise.
36580         (rint_test_upward): Likewise.
36581         (round_test): Likewise.
36582         (scalb_test): Likewise.
36583         (scalbn_test): Likewise.
36584         (scalbln_test): Likewise.
36585         (signbit_test): Likewise.
36586         (sin_test): Likewise.
36587         (sin_test_tonearest): Likewise.
36588         (sin_test_towardzero): Likewise.
36589         (sin_test_downward): Likewise.
36590         (sin_test_upward): Likewise.
36591         (sincos_test): Likewise.
36592         (sinh_test): Likewise.
36593         (sinh_test_tonearest): Likewise.
36594         (sinh_test_towardzero): Likewise.
36595         (sinh_test_downward): Likewise.
36596         (sinh_test_upward): Likewise.
36597         (sqrt_test): Likewise.
36598         (sqrt_test_tonearest): Likewise.
36599         (sqrt_test_towardzero): Likewise.
36600         (sqrt_test_downward): Likewise.
36601         (sqrt_test_upward): Likewise.
36602         (tan_test): Likewise.
36603         (tan_test_tonearest): Likewise.
36604         (tan_test_towardzero): Likewise.
36605         (tan_test_downward): Likewise.
36606         (tan_test_upward): Likewise.
36607         (tanh_test): Likewise.
36608         (tgamma_test): Likewise.
36609         (trunc_test): Likewise.
36610         (y0_test): Likewise.
36611         (y1_test): Likewise.
36612         (yn_test): Likewise.
36613         (significand_test): Likewise.
36615         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36616         individual tests in comment.
36617         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36618         (prev_max_error): New variable.
36619         (prev_real_max_error): Likewise.
36620         (prev_imag_max_error): Likewise.
36621         (compare_ulp_data): Don't refer to test names in comment.
36622         (find_test_ulps): Remove function.
36623         (find_function_ulps): Likewise.
36624         (find_complex_function_ulps): Likewise.
36625         (init_max_error): Take function name as argument.  Look up ulps
36626         for that function.
36627         (print_ulps): Remove function.
36628         (print_max_error): Use prev_max_error instead of calling
36629         find_function_ulps.
36630         (print_complex_max_error): Use prev_real_max_error and
36631         prev_imag_max_error instead of calling find_complex_function_ulps.
36632         (check_float_internal): Take max_ulp parameter instead of calling
36633         find_test_ulps.  Don't call print_ulps.
36634         (check_float): Update call to check_float_internal.
36635         (check_complex): Update calls to check_float_internal.
36636         (START): Pass argument to init_max_error.
36637         * math/gen-libm-test.pl (%results): Don't include "kind"
36638         information.
36639         (parse_ulps): Don't handle ulps of individual tests.
36640         (print_ulps_file): Likewise.
36641         (output_ulps): Likewise.
36642         * math/README.libm-test: Update.
36643         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36644         individual tests.
36645         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36646         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36647         * sysdeps/arm/libm-test-ulps: Likewise.
36648         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36649         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36650         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36651         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36652         * sysdeps/microblaze/libm-test-ulps: Likewise.
36653         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36654         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36655         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36656         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36657         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36658         * sysdeps/sh/libm-test-ulps: Likewise.
36659         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36660         * sysdeps/tile/libm-test-ulps: Likewise.
36661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36663 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36665         * math/libm-test.inc (print_complex_max_error): Check separately
36666         whether real and imaginary errors are within allowed range and
36667         pass 0 to print_complex_function_ulps instead of value within
36668         allowed range.
36670 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36672         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36673         formatting.
36674         (get_handles_fopen): Likewise.
36675         (do_write_test): Likewise.
36677         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36679         * libio/fileops.c (do_ftell): Use cached offset when
36680         available.
36681         * libio/iofwide.c (do_ftell_wide): Likewise.
36682         * libio/iofdopen.c (_IO_new_fdopen): Don't use
36683         _IO_file_attach.
36684         * libio/wfileops.c (_IO_fwide): Don't cache offset.
36686         [BZ #16532]
36687         * libio/libioP.h (get_file_offset): New function.
36688         * libio/fileops.c (get_file_offset): Likewise.
36689         (do_ftell): Likewise.
36690         (_IO_new_file_seekoff): Split out ftell logic.
36691         * libio/wfileops.c (do_ftell_wide): Likewise.
36692         (_IO_wfile_seekoff): Split out ftell logic.
36693         * libio/tst-ftell-active-handler.c: New test case.
36694         * libio/Makefile (tests): Add it.
36696 2014-03-03  Roland McGrath  <roland@hack.frob.com>
36698         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36699         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36701 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36703         [BZ #16639]
36704         * nscd/connections.c (nscd_init): Call do_exit.
36705         (start_threads): Call do_exit and notify_parent.
36706         (begin_drop_privileges): Call do_exit.
36707         (finish_drop_privileges): Likewise.
36708         * nscd/selinux.c (preserve_capabilities): Likewise.
36709         (install_real_capabilities): Likewise.
36710         (nscd_selinux_enabled): Likewise.
36711         (avc_create_thread): Likewise.
36712         (avc_alloc_lock): Likewise.
36713         (nscd_avc_init): Likewise.
36714         * nscd/nscd.c (parent_fd): New static variable.
36715         (main): Create a pipe between parent and child processes.
36716         Skip closing parent_fd.
36717         (monitor_child): New function.
36718         (do_exit): Likewise.
36719         (notify_parent): Likewise.
36720         * nscd/nscd.h (notify_parent): Likewise.
36721         (do_exit): Likewise.
36723 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
36725         * malloc/malloc.c (__libc_calloc): Revert last change.
36727 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36731 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36733         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36735         implementation.
36736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36737         (__libc_ifunc_impl_list): Likewise.
36738         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
36739         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
36740         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
36741         * string/strrchr.c: Define STRRCHR.
36743 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
36745         * benchtest/bench-strtok.c (simple_strtok): Delete.
36746         (strtok_string): Use as benchmark.
36747         * string/strtok (STRTOK): New macro.
36749 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
36751         * manual/threads.texi: Add header and standard comments to all
36752         functions.
36754         * elf/dl-lookup.c (check_match): New function.
36755         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
36756         (do_lookup_x): Remove nested function check_match. Use non-nested
36757         function check_match.
36759 2014-02-28  Roland McGrath  <roland@hack.frob.com>
36761         * csu/Makefile (generated, before-compile): Use += rather than =.
36762         * catgets/Makefile (generated, generated-dirs): Likewise.
36763         * debug/Makefile (generated): Likewise.
36764         * dlfcn/Makefile (generated): Likewise.
36765         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
36766         * iconvdata/Makefile (before-compile, generated): Likewise.
36767         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
36768         * libio/Makefile (generated): Likewise.
36769         * malloc/Makefile (generated): Likewise.
36770         * manual/Makefile (generated, generated-dirs): Likewise.
36771         * misc/Makefile (generated): Likewise.
36772         * posix/Makefile (generated): Likewise.
36773         * resolv/Makefile (generated): Likewise.
36774         * sunrpc/Makefile (generated, generated-dirs): Likewise.
36775         * timezone/Makefile (generated, generated-dirs): Likewise.
36777         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
36779 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36782         power8 implementation.
36783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
36784         file: POWER8 llround ifunc implementation.
36785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
36786         (__lllround): Add POWER8 implementation.
36787         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
36788         POWER8 llround implementation.
36790         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
36791         power8 implementation.
36792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
36793         file: POWER8 llrint ifunc implementation.
36794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
36795         Add POWER8 implementation.
36796         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
36797         POWER8 llrint implementation.
36799         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
36800         power8 implementation.
36801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
36802         file: POWER8 finite ifunc implementation.
36803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
36804         Add POWER8 implementation.
36805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
36806         Likewise.
36807         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
36808         POWER8 finite implementation.
36809         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
36811         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
36812         power8 implementation.
36813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
36814         file: POWER8 isinf ifunc implementation.
36815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
36816         POWER8 implementation.
36817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
36818         Likewise.
36819         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
36820         isinf implementation.
36821         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
36823         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
36824         (INIT_ARCH): Add hwcap2 initialization.
36825         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36826         power8 implementation.
36827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
36828         file: POWER8 isnan ifunc implementation.
36829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
36830         POWER8 implementation.
36831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
36832         Likewise.
36833         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
36834         isnan implementation.
36835         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
36837 2014-02-27  Joey Ye  <joey.ye@arm.com>
36839         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36840         (_FP_NANFRAC_Q): Set to zero.
36842 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36844         [BZ #16623]
36845         * math/auto-libm-test-in: New test inputs.
36846         * math/auto-libm-test-out: Regenerate.
36847         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
36848         and DA.
36849         (__cos): Likewise.
36850         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36852 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
36854         * scripts/evaluate-test.sh: Take new argument indicating whether
36855         failure is expected.
36856         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
36857         indicating whether failure is expected.
36858         * conform/Makefile (test-xfail-run-conformtest): New variable.
36859         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
36860         level.
36861         * posix/Makefile (test-xfail-annexc): New variable.
36862         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
36864 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
36866         * argp/Makefile: Include Makeconfig immediately after defining
36867         subdir.
36868         * assert/Makefile: Likewise.
36869         * benchtests/Makefile: Likewise.
36870         * catgets/Makefile: Likewise.
36871         * conform/Makefile: Likewise.
36872         * crypt/Makefile: Likewise.
36873         * csu/Makefile: Likewise.
36874         (all): Remove target.
36875         * ctype/Makefile: Include Makeconfig immediately after defining
36876         subdir.
36877         * debug/Makefile: Likewise.
36878         * dirent/Makefile: Likewise.
36879         * dlfcn/Makefile: Likewise.
36880         * gmon/Makefile: Likewise.
36881         * gnulib/Makefile: Likewise.
36882         * grp/Makefile: Likewise.
36883         * gshadow/Makefile: Likewise.
36884         * hesiod/Makefile: Likewise.
36885         * hurd/Makefile: Likewise.
36886         (all): Remove target.
36887         * iconvdata/Makefile: Include Makeconfig immediately after
36888         defining subdir.
36889         * inet/Makefile: Likewise.
36890         * intl/Makefile: Likewise.
36891         * io/Makefile: Likewise.
36892         * libio/Makefile: Likewise.
36893         (all): Remove target.
36894         * locale/Makefile: Include Makeconfig immediately after defining
36895         subdir.
36896         * login/Makefile: Likewise.
36897         * mach/Makefile: Likewise.
36898         (all): Remove target.
36899         * malloc/Makefile: Include Makeconfig immediately after defining
36900         subdir.
36901         (all): Remove target.
36902         * manual/Makefile: Include Makeconfig immediately after defining
36903         subdir.
36904         * math/Makefile: Likewise.
36905         * misc/Makefile: Likewise.
36906         * nis/Makefile: Likewise.
36907         * nss/Makefile: Likewise.
36908         * po/Makefile: Likewise.
36909         (all): Remove target.
36910         * posix/Makefile: Include Makeconfig immediately after defining
36911         subdir.
36912         * pwd/Makefile: Likewise.
36913         * resolv/Makefile: Likewise.
36914         * resource/Makefile: Likewise.
36915         * rt/Makefile: Likewise.
36916         * setjmp/Makefile: Likewise.
36917         * shadow/Makefile: Likewise.
36918         * signal/Makefile: Likewise.
36919         * socket/Makefile: Likewise.
36920         * soft-fp/Makefile: Likewise.
36921         * stdio-common/Makefile: Likewise.
36922         * stdlib/Makefile: Likewise.
36923         * streams/Makefile: Likewise.
36924         * string/Makefile: Likewise.
36925         * sunrpc/Makefile: Likewise.
36926         (all): Remove target.
36927         * sysvipc/Makefile: Include Makeconfig immediately after defining
36928         subdir.
36929         * termios/Makefile: Likewise.
36930         * time/Makefile: Likewise.
36931         * timezone/Makefile: Likewise.
36932         (all): Remove target.
36933         * wcsmbs/Makefile: Include Makeconfig immediately after defining
36934         subdir.
36935         * wctype/Makefile: Likewise.
36937 2014-02-26  Steve Ellcey  <sellcey@mips.com>
36939         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
36940         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
36941         (libc_feholdexcept_setround_mips): Ditto.
36942         (libc_feholdsetround): New.
36943         (libc_feholdsetroundf): New.
36944         (libc_feholdsetroundl): New.
36945         (libc_feupdateenv_test_mips): New.
36946         (libc_feupdateenv_test): New.
36947         (libc_feupdateenv_testf): New.
36948         (libc_feupdateenv_testl): New.
36949         (libc_feresetround): New.
36950         (libc_feresetroundf): New.
36951         (libc_feresetroundl): New.
36952         (libc_fetestexcept_mips): New.
36953         (libc_fetestexcept): New.
36954         (libc_fetestexceptf): New.
36955         (libc_fetestexceptl): New.
36956         (HAVE_RM_CTX): New.
36957         (libc_feholdexcept_setround_mips_ctx): New.
36958         (libc_feholdexcept_setround_ctx): New.
36959         (libc_feholdexcept_setroundf_ctx): New.
36960         (libc_feholdexcept_setroundl_ctx): New.
36961         (libc_fesetenv_mips_ctx): New.
36962         (libc_fesetenv_ctx): New.
36963         (libc_fesetenv_ctxf): New.
36964         (libc_fesetenv_ctxl): New.
36965         (libc_feupdateenv_mips_ctx): New.
36966         (libc_feupdateenv_ctx): New.
36967         (libc_feupdateenvf_ctx): New.
36968         (libc_feupdateenvl_ctx): New.
36969         (libc_feholdsetround_mips_ctx): New.
36970         (libc_feholdsetround_ctx): New.
36971         (libc_feholdsetroundf_ctx): New.
36972         (libc_feholdsetroundl_ctx): New.
36973         (libc_feresetround_mips_ctx): New.
36974         (libc_feresetround_ctx): New.
36975         (libc_feresetroundf_ctx): New.
36976         (libc_feresetroundl_ctx): New.
36978 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
36980         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36982         * manual/ipc.texi: New file.
36983         * manual/Makefile (chapters): Add ipc.
36984         * manual/job.texi: Add "Inter-Process Communication" to next.
36985         * manual/process.texi: Add "Inter-Process Communication" to prev.
36987 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36991 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
36993         * malloc/malloc.c (__libc_calloc): Simplify implementation.
36995         * manual/arith.texi: Fix spaces after sentences.
36996         * manual/charset.texi: Likewise.
36997         * manual/errno.texi: Likewise.
36998         * manual/install.texi: Likewise.
36999         * manual/llio.texi: Likewise.
37000         * manual/locale.texi: Likewise.
37001         * manual/maint.texi: Likewise.
37002         * manual/math.texi: Likewise.
37003         * manual/memory.texi: Likewise.
37004         * manual/message.texi: Likewise.
37005         * manual/probes.texi: Likewise.
37006         * manual/resource.texi: Likewise.
37007         * manual/signal.texi: Likewise.
37008         * manual/socket.texi: Likewise.
37009         * manual/stdio.texi: Likewise.
37010         * manual/string.texi: Likewise.
37011         * manual/time.texi: Likewise.
37012         * manual/users.texi: Likewise.
37014 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37016         [BZ #16632]
37017         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37018         _DEFAULT_SOURCE is defined.
37020 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37021             Carlos O'Donell  <carlos@redhat.com>
37023         [BZ #16613]
37024         * elf/dl-tls.c (_dl_count_modids): New function.
37025         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37026         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37027         audit library and increment generation counter.
37028         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37029         * elf/tst-audit9.c: New file.
37030         * elf/tst-auditmod9a.c: New file.
37031         * elf/tst-auditmod9b.c: New file.
37032         * elf/Makefile: Add rules to build and run tst-audit9.
37034 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37036         [BZ #15347]
37037         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37039 2014-02-25  Will Newton  <will.newton@linaro.org>
37041         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37042         (__longjmp): Restore sp and lr before restoring callee
37043         saved registers.  Add longjmp and longjmp_target
37044         SystemTap probe point.
37045         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37046         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37047         Define to zero to match jmpbuf layout.
37048         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37049         (__sigsetjmp): Save sp and lr before saving callee
37050         saved registers.  Add setjmp SystemTap probe point.
37052 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37054         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37056 2014-02-24  Andreas Schwab  <schwab@suse.de>
37058         [BZ #15804]
37059         * elf/pldd.c (wait_for_ptrace_stop): New function.
37060         (main): Call it after attaching.
37062 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37064         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37065         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37066         Versions files is now verboten.
37067         * hurd/Versions (libc: GLIBC_2.0):
37068         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37069         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37070         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37071         * mach/Versions: Likewise.
37073         * csu/Versions: Remove unused %include.
37074         * resolv/Versions: Likewise.
37076 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37078         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37079         ($(objpfx)check-local-headers.out): Likewise.
37080         ($(objpfx)begin-end-check.out): Likewise.
37081         * Makerules (check-abi-%.out): Likewise.
37082         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37083         ($(objpfx)test2.cat): Likewise.
37084         ($(objpfx)de/libc.cat): Likewise.
37085         ($(objpfx)test-gencat.out): Likewise.
37086         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37087         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37088         ($(objpfx)noload-mem): Likewise.
37089         ($(objpfx)tst-pathopt.out): Likewise.
37090         ($(objpfx)tst-rtld-load-self.out): Likewise.
37091         ($(objpfx)tst-array1-cmp.out): Likewise.
37092         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37093         ($(objpfx)tst-array2-cmp.out): Likewise.
37094         ($(objpfx)tst-array3-cmp.out): Likewise.
37095         ($(objpfx)tst-array4-cmp.out): Likewise.
37096         ($(objpfx)tst-array5-cmp.out): Likewise.
37097         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37098         ($(objpfx)check-textrel.out): Likewise.
37099         ($(objpfx)check-execstack.out): Likewise.
37100         ($(objpfx)check-localplt.out): Likewise.
37101         ($(objpfx)order2-cmp.out): Likewise.
37102         ($(objpfx)tst-leaks1-mem): Likewise.
37103         ($(objpfx)tst-leaks1-static-mem): Likewise.
37104         ($(objpfx)tst-initorder-cmp.out): Likewise.
37105         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37106         ($(objpfx)tst-unused-dep.out): Likewise.
37107         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37108         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37109         * iconv/Makefile (test-iconvconfig): Likewise.
37110         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37111         ($(objpfx)iconv-test.out): Likewise.
37112         ($(objpfx)tst-tables.out): Likewise.
37113         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37114         ($(objpfx)tst-gettext.out): Likewise.
37115         ($(objpfx)tst-translit.out): Likewise.
37116         ($(objpfx)tst-gettext2.out): Likewise.
37117         ($(objpfx)tst-gettext4.out): Likewise.
37118         ($(objpfx)tst-gettext6.out): Likewise.
37119         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37120         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37121         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37122         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37123         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37124         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37125         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37126         ($(objpfx)wordexp-tst.out): Likewise.
37127         ($(objpfx)annexc.out): Likewise.
37128         ($(objpfx)tst-fnmatch-mem): Likewise.
37129         ($(objpfx)bug-regex2-mem): Likewise.
37130         ($(objpfx)bug-regex14-mem): Likewise.
37131         ($(objpfx)bug-regex21-mem): Likewise.
37132         ($(objpfx)bug-regex31-mem): Likewise.
37133         ($(objpfx)tst-vfork3-mem): Likewise.
37134         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37135         ($(objpfx)tst-pcre-mem): Likewise.
37136         ($(objpfx)tst-boost-mem): Likewise.
37137         ($(objpfx)tst-getconf.out): Likewise.
37138         ($(objpfx)bug-ga2-mem): Likewise.
37139         ($(objpfx)bug-glob2-mem): Likewise.
37140         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37141         ($(objpfx)mtrace-tst-leaks2): Likewise.
37142         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37143         ($(objpfx)tst-printf.out): Likewise.
37144         ($(objpfx)tst-setvbuf1.out): Likewise.
37145         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37146         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37147         ($(objpfx)tst-fmtmsg.out): Likewise.
37148         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37149         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37151         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37152         * bits/sigaction.h [__USE_MISC]: Likewise.
37153         * bits/waitstatus.h: Update #endif comments.
37154         * ctype/ctype.h: Likewise.
37155         * dirent/dirent.h: Likewise.
37156         [__USE_MISC]: Remove redundant conditionals.
37157         * grp/grp.h: Update #endif comments.
37158         [__USE_GNU]: Remove redundant conditionals.
37159         [__USE_MISC]: Likewise.
37160         * inet/netinet/in.h [__USE_GNU]: Likewise.
37161         * io/sys/stat.h [__USE_MISC]: Likewise.
37162         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37163         * libio/bits/stdio.h: Update #endif comments.
37164         [__USE_MISC]: Remove redundant conditionals.
37165         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37166         * libio/stdio.h: Update #endif comments.
37167         [__USE_MISC]: Remove redundant conditionals.
37168         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37169         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37170         * math/math.h: Update #else and #endif comments.
37171         [__USE_MISC]: Remove redundant conditionals.
37172         * misc/sys/uio.h: Update #endif comments.
37173         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37174         * posix/glob.h [__USE_MISC]: Likewise.
37175         * posix/sys/types.h: Update #endif comments.
37176         [__USE_MISC]: Remove redundant conditionals.
37177         * posix/sys/wait.h: Update #endif comments.
37178         [__USE_MISC]: Remove redundant conditionals.
37179         * posix/unistd.h: Update #endif comments.
37180         [__USE_MISC]: Remove redundant conditionals.
37181         * pwd/pwd.h [__USE_GNU]: Likewise.
37182         [__USE_MISC]: Likewise.
37183         * resolv/netdb.h [__USE_GNU]: Likewise.
37184         * signal/signal.h: Update #endif comments.
37185         [__USE_MISC]: Remove redundant conditionals.
37186         * stdlib/stdlib.h: Update #else and #endif comments.
37187         [__USE_MISC]: Remove redundant conditionals.
37188         [__USE_GNU]: Likewise.
37189         * string/bits/string2.h [__USE_MISC]: Likewise.
37190         * string/string.h: Update #endif comments.
37191         [__USE_MISC]: Remove redundant conditionals.
37192         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37193         Likewise.
37194         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37195         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37196         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37197         Likewise.
37198         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37199         Likewise.
37200         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37201         comments.
37202         [__USE_MISC]: Remove redundant conditionals.
37203         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37204         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37205         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37206         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37207         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37208         Likewise.
37209         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37210         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37211         Likewise.
37212         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37213         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37214         Likewise.
37215         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37216         Likewise.
37217         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37218         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37219         Likewise.
37220         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37221         Likewise.
37222         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37223         * sysdeps/x86/bits/string.h: Update #endif comments.
37224         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37225         conditionals.
37226         * time/sys/time.h: Update #endif comments.
37227         * time/time.h: Likewise.
37228         [__USE_MISC]: Remove redundant conditionals.
37230 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37232         [BZ #16600]
37233         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37235 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37237         * Versions.def (librt): Add GLIBC_2.17.
37239 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37241         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37242         synonym for _SYS_AUXV_H to allow direct inclusion.
37243         * sysdeps/sparc/bits/hwcap.h: Likewise.
37244         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37245         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37246         * sysdeps/sparc/sysdep.h: Likewise.
37248 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37250         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37252 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37254         * benchtests/bench-strrchr.c: Print length instead of position.
37256 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37258         [BZ #16611]
37259         * sysdeps/unix/sysv/linux/kernel-features.h
37260         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37261         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37262         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37263         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37264         Likewise.
37265         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37266         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37267         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37268         (__ASSUME_SENDMMSG): Define instead of using previous
37269         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37270         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37271         (__ASSUME_SENDMMSG_SYSCALL): Define.
37272         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37273         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37274         Likewise.
37275         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37276         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37277         Likewise.
37278         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37279         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37280         Likewise.
37281         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37282         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37283         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37284         [__ASSUME_SENDMMSG]: Change conditionals to
37285         [__ASSUME_SENDMMSG_SOCKETCALL].
37286         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37287         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37288         Define.
37289         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37290         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37291         Likewise.
37292         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37293         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37294         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37295         [!__ASSUME_SENDMMSG]: Change conditional to
37296         [!__ASSUME_SENDMMSG_SOCKETCALL].
37297         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37298         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37299         Define.
37301         [BZ #16610]
37302         * sysdeps/unix/sysv/linux/kernel-features.h
37303         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37304         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37305         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37306         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37307         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37308         [__i386__ || __sparc__]
37309         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37310         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37311         (__ASSUME_RECVMMSG): Define instead of using previous
37312         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37313         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37314         (__ASSUME_RECVMMSG_SYSCALL): Define.
37315         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37316         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37317         Likewise.
37318         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37319         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37320         Likewise.
37321         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37322         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37323         Likewise.
37324         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37325         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37326         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37327         [__ASSUME_RECVMMSG]: Change condition to
37328         [__ASSUME_RECVMMSG_SOCKETCALL].
37329         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37330         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37331         Define.
37332         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37333         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37334         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37335         Likewise.
37336         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37337         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37338         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37339         [!__ASSUME_RECVMMSG]: Change condition to
37340         [!__ASSUME_RECVMMSG_SOCKETCALL].
37341         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37342         (__ASSUME_RECVMMSG_SYSCALL): Define.
37344         [BZ #16609]
37345         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37346         __powerpc__ || __s390__ || __sh__ || __sparc__]
37347         (__ASSUME_SOCKETCALL): Define.
37348         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37349         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37350         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37351         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37352         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37353         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37354         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37355         (__ASSUME_ACCEPT4): Define instead of using previous
37356         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37357         __powerpc__ || __sparc__ || __s390__)] condition.
37358         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37359         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37360         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37361         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37362         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37363         [!__ASSUME_ACCEPT4]: Change condition to
37364         [!__ASSUME_ACCEPT4_SOCKETCALL].
37365         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37366         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
37367         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37368         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37369         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37370         __ASSUME_ACCEPT4_SYSCALL.
37371         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37372         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37373         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37374         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37375         __ASSUME_ACCEPT4_SYSCALL.
37376         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37377         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37378         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37379         [__ASSUME_ACCEPT4]: Change condition to
37380         [__ASSUME_ACCEPT4_SOCKETCALL].
37381         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37382         (__ASSUME_SOCKETCALL): Define.
37383         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37384         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37385         (__ASSUME_SOCKETCALL): Define.
37386         (__ASSUME_ACCEPT4): Remove.
37387         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37388         Define.
37389         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37390         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37391         Likewise.
37392         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37393         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37395         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37396         macro.
37397         (HWCAP_ARM_LPAE): Likewise.
37398         (HWCAP_ARM_EVTSTRM): Likewise.
37399         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37400         Add vpfd32, lpae and evtstrm.
37401         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37402         Increase to 22.
37404 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37406         * math/auto-libm-test-in: Add tests of clog10.
37407         * math/auto-libm-test-out: Regenerated.
37408         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37409         * sysdeps/i386/fpu/libm-test-ulps: Update.
37410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37412 2014-02-18  Andreas Schwab  <schwab@suse.de>
37414         [BZ #16574]
37415         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37416         Store non-zero if the second buffer was newly allocated.
37417         (send_dg): Likewise.
37418         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37419         to send_vc and send_dg.
37420         (res_nsend): Pass NULL for ansp2_malloced.
37421         * resolv/res_query.c (__libc_res_nquery): Add parameter
37422         answerp2_malloced and pass it down to __libc_res_nsend.
37423         (res_nquery): Pass additional NULL to __libc_res_nquery.
37424         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37425         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37426         second answer buffer if answerp2_malloced was set.
37427         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37428         (__libc_res_nquerydomain): Add parameter
37429         answerp2_malloced and pass it down to __libc_res_nquery.
37430         (res_nquerydomain): Pass additional NULL to
37431         __libc_res_nquerydomain.
37432         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37433         additional NULL to __libc_res_nsend and __libc_res_nquery.
37434         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37435         additional NULL to __libc_res_nsearch.
37436         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37437         parameter of __libc_res_nsearch to check for separately allocated
37438         second buffer.
37439         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37440         __libc_res_nquery.
37441         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37442         additional NULL to __libc_res_nquery.
37443         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37444         __libc_res_nsearch.
37445         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37446         * include/resolv.h: Update prototypes of __libc_res_nquery,
37447         __libc_res_nsearch, __libc_res_nsend.
37449 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37451         * math/auto-libm-test-in: Add tests of fma.
37452         * math/auto-libm-test-out: Regenerated.
37453         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37454         (fma_towardzero_test_data): Likewise.
37455         (fma_downward_test_data): Likewise.
37456         (fma_upward_test_data): Likewise.
37457         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37458         mpc_mode.
37459         (rounding_modes): Add values for new field.
37460         (func_calc_method): Add value mpfr_fff_f.
37461         (func_calc_desc): Add mpfr_fff_f union field.
37462         (test_function): Add field exact_args.
37463         (FUNC): Add macro argument EXACT_ARGS.
37464         (FUNC_mpfr_f_f): Update call to FUNC.
37465         (FUNC_mpfr_f_f): Likewise.
37466         (FUNC_mpfr_ff_f): Likewise.
37467         (FUNC_mpfr_if_f): Likewise.
37468         (FUNC_mpc_c_f): Likewise.
37469         (FUNC_mpc_c_c): Likewise.
37470         (test_functions): Add fma.  Update calls to FUNC.
37471         (handle_input_arg): Add argument exact_args.
37472         (add_test): Update call to handle_input_arg.
37473         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37474         (output_for_one_input_case): Update call to calc_generic_results.
37475         Recalculate exact zero results in each rounding mode.
37477         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37478         non-negative before setting low bit.
37479         * math/auto-libm-test-in: Mark one asin test possibly having
37480         spurious underflow.
37481         * math/auto-libm-test-out: Regenerated.
37482         * sysdeps/i386/fpu/libm-test-ulps: Update.
37483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37485 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
37487         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37488         * sysdeps/unix/sysv/linux/microblaze: Move directory from
37489         ports/sysdeps/unix/sysv/linux/microblaze.
37490         * README: Add missing listing for microblaze*-*-linux-gnu.
37492 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
37494         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37495         duplicate code
37497 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
37499         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37500         * sysdeps/unix/sysv/linux/ia64: Move directory from
37501         ports/sysdeps/unix/sysv/linux/ia64.
37502         * README: Update listing for ia64-*-linux-gnu.
37504 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
37505             Joseph Myers  <joseph@codesourcery.com>
37507         * Makeconfig (test-name): New variable.
37508         (evaluate-test): Likewise.
37509         * Makerules (do-test-clean): Remove .test-result files.
37510         (common-mostlyclean): Likewise.
37511         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37512         * scripts/evaluate-test.sh: New file.
37514 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
37516         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37517         separate $(objpfx)tst-fopenloc-cmp.out and
37518         $(objpfx)tst-fopenloc-mem.out targets.
37519         (tests): Update dependencies.
37520         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37521         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37522         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37523         (tst-rxspencer-no-utf8-ARGS): New variable.
37524         (tst-rxspencer-no-utf8-ENV): Likewise.
37525         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37526         instead of $(objpfx)tst-rxspencer-mem.
37527         ($(objpfx)tst-rxspencer-mem): Change target to
37528         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
37529         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37530         * posix/tst-rxspencer-no-utf8.c: New file.
37532         * elf/Makefile ($(objpfx)order.out): Remove rule.
37533         [$(run-built-tests) = yes] (tests): Depend on
37534         $(objpfx)order-cmp.out.
37535         ($(objpfx)order-cmp.out): New rule.
37536         [$(run-built-tests) = yes] (tests): Depend on
37537         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37538         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37539         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37540         $(objpfx)tst-array5-static-cmp.out.
37541         ($(objpfx)tst-array1.out): Remove rule.
37542         ($(objpfx)tst-array1-cmp.out): New rule.
37543         ($(objpfx)tst-array1-static.out): Remove rule.
37544         ($(objpfx)tst-array1-static-cmp.out): New rule.
37545         ($(objpfx)tst-array2.out): Remove rule.
37546         ($(objpfx)tst-array2-cmp.out): New rule.
37547         ($(objpfx)tst-array3.out): Remove rule.
37548         ($(objpfx)tst-array3-cmp.out): New rule.
37549         ($(objpfx)tst-array4.out): Remove rule.
37550         ($(objpfx)tst-array4-cmp.out): New rule.
37551         ($(objpfx)tst-array5.out): Remove rule.
37552         ($(objpfx)tst-array5-cmp.out): New rule.
37553         ($(objpfx)tst-array5-static.out): Remove rule.
37554         ($(objpfx)tst-array5-static-cmp.out): New rule.
37555         [$(run-built-tests) = yes] (tests): Depend on
37556         $(objpfx)order2-cmp.out.
37557         ($(objpfx)order2.out): Remove rule.
37558         ($(objpfx)order2-cmp.out): New rule.
37559         ($(objpfx)tst-initorder.out): Remove rule.
37560         [$(run-built-tests) = yes] (tests): Depend on
37561         $(objpfx)tst-initorder-cmp.out.
37562         ($(objpfx)tst-initorder-cmp.out): New rule.
37563         ($(objpfx)tst-initorder2.out): Remove rule.
37564         [$(run-built-tests) = yes] (tests): Depend on
37565         $(objpfx)tst-initorder2-cmp.out.
37566         ($(objpfx)tst-initorder2-cmp.out): New rule.
37567         [$(run-built-tests) = yes] (tests): Depend on
37568         $(objpfx)tst-unused-dep-cmp.out.
37569         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37570         ($(objpfx)tst-unused-dep-cmp.out): New rule.
37571         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37572         on $(objpfx)tst-setvbuf1-cmp.out.
37573         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37574         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37575         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37576         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37577         ($(objpfx)tst-svc.out): Remove rule.
37578         ($(objpfx)tst-svc-cmp.out): New rule.
37580 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
37582         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37583         * ctype/ctype.h [__USE_MISC]: Likewise.
37584         * dirent/dirent.h [__USE_MISC]: Likewise.
37585         * grp/grp.h [__USE_MISC]: Likewise.
37586         * io/fcntl.h [__USE_MISC]: Likewise.
37587         * io/sys/stat.h [__USE_MISC]: Likewise.
37588         * libio/stdio.h [__USE_MISC]: Likewise.
37589         * posix/unistd.h [__USE_MISC]: Likewise.
37590         * pwd/pwd.h [__USE_MISC]: Likewise.
37591         * stdlib.h [__USE_MISC]: Likewise.
37592         * string/bits/string2.h [__USE_MISC]: Likewise.
37593         * string/string.h [__USE_MISC]: Likewise.
37594         * time/time.h [__USE_MISC]: Likewise.
37596 2014-02-13  Andreas Schwab  <schwab@suse.de>
37598         [BZ #16574]
37599         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37600         second answer buffer if it was separately allocated.
37602 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
37604         * sysdeps/mips/math-tests.h: Include <features.h>.
37605         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37606         (ROUNDING_TESTS_long_double): Do not define.
37607         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37608         (EXCEPTION_TESTS_long_double): Likewise.
37609         * sysdeps/mips/mips64/libm-test-ulps: Update.
37611         * include/features.h (__USE_BSD): Remove macro definitions.
37612         (__USE_SVID): Likewise.
37613         (_BSD_SOURCE): Likewise.
37614         (_SVID_SOURCE): Likewise.
37615         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37616         from definition of _DEFAULT_SOURCE.
37617         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37618         [_DEFAULT_SOURCE].
37619         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37620         * bits/mman.h [__USE_BSD]: Likewise.
37621         * bits/termios.h [__USE_BSD]: Likewise.
37622         * bits/waitstatus.h [__USE_BSD]: Likewise.
37623         * ctype/ctype.h [__USE_SVID]: Likewise.
37624         * dirent/dirent.h [__USE_BSD]: Likewise.
37625         * grp/grp.h [__USE_SVID]: Likewise.
37626         [__USE_BSD]: Likewise.
37627         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37628         * io/fcntl.h [__USE_BSD]: Likewise.
37629         * io/ftw.h [__USE_BSD]: Likewise.
37630         * io/sys/stat.h [__USE_BSD]: Likewise.
37631         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37632         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37633         * libio/stdio.h [__USE_SVID]: Likewise.
37634         [__USE_BSD]: Likewise.
37635         * math/math.h [__USE_SVID]: Likewise.
37636         [__USE_BSD]: Likewise.
37637         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37638         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37639         * misc/search.h [__USE_SVID]: Likewise.
37640         * misc/sys/mman.h [__USE_BSD]: Likewise.
37641         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37642         * misc/sys/uio.h [__USE_BSD]: Likewise.
37643         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37644         * posix/glob.h [__USE_BSD]: Likewise.
37645         * posix/regex.h [__USE_BSD]: Likewise.
37646         * posix/sys/types.h [__USE_BSD]: Likewise.
37647         [__USE_SVID]: Likewise.
37648         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37649         * posix/sys/wait.h [__USE_BSD]: Likewise.
37650         [__USE_SVID]: Likewise.
37651         * posix/unistd.h [__USE_BSD]: Likewise.
37652         [__USE_SVID]: Likewise.
37653         * pwd/pwd.h [__USE_SVID]: Likewise.
37654         * resolv/netdb.h [__USE_BSD]: Likewise.
37655         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37656         * signal/signal.h [__USE_BSD]: Likewise.
37657         [__USE_SVID]: Likewise.
37658         * socket/sys/socket.h [__USE_BSD]: Likewise.
37659         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37660         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37661         [__USE_SVID]: Likewise.
37662         * string/bits/string2.h [__USE_BSD]: Likewise.
37663         [__USE_SVID]: Likewise.
37664         * string/bits/string3.h [__USE_BSD]: Likewise.
37665         * string/endian.h [__USE_BSD]: Likewise.
37666         * string/string.h [__USE_SVID]: Likewise.
37667         [__USE_BSD]: Likewise.
37668         * string/strings.h [__USE_BSD]: Likewise.
37669         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37670         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37671         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37672         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37673         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37674         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37675         Likewise.
37676         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37677         Likewise.
37678         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37679         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37680         Likewise.
37681         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37682         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37683         Likewise.
37684         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37685         Likewise.
37686         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37687         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37688         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37689         Likewise.
37690         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37691         Likewise.
37692         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37693         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37694         * termios/termios.h [__USE_BSD]: Likewise.
37695         * time/sys/time.h [__USE_BSD]: Likewise.
37696         * time/time.h [__USE_BSD]: Likewise.
37697         [__USE_SVID]: Likewise.
37699         * Makefile (subdir_targets): Remove subdir_lint.out.
37701         * stdio-common/Makefile (do-tst-unbputc): Remove target.
37702         (do-tst-printf): Likewise.
37703         (tests): Depend directly on $(objpfx)tst-unbputc.out and
37704         $(objpfx)tst-printf.out.
37706         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37708         * Makerules (check-abi-%): Change target to
37709         $(objpfx)check-abi-%.out.
37710         (check-abi target): Update dependencies.
37711         (check-abi-pattern variable): Redirect output of diff to $@.
37712         (check-abi variable): Likewise.
37713         * elf/Makefile (check-abi): Update dependencies.
37715         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37716         unused.
37717         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37718         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37719         subnormal range.
37720         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37721         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37722         value has largest subnormal exponent.
37723         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37724         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37725         * sysdeps/aarch64/soft-fp/sfp-machine.h
37726         (_FP_TININESS_AFTER_ROUNDING): New macro.
37727         * sysdeps/alpha/soft-fp/sfp-machine.h
37728         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37729         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37730         Likewise.
37731         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37732         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37733         * sysdeps/mips/soft-fp/sfp-machine.h
37734         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37735         * sysdeps/powerpc/soft-fp/sfp-machine.h
37736         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37737         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37738         Likewise.
37739         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37740         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37741         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37742         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37743         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37744         Likewise.
37746 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
37748         [BZ #16545]
37749         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
37750         model 1.
37752 2014-02-12  Richard Henderson  <rth@redhat.com>
37754         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
37755         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
37756         * sysdeps/unix/sysv/linux/alpha: Move directory from
37757         ports/sysdeps/unix/sysv/linux/alpha.
37758         * README: Update listing for alpha-*-linux-gnu.
37760 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
37762         * include/features.h: Update comment documenting feature test
37763         macros.
37764         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
37765         _DEFAULT_SOURCE.
37766         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
37767         (_SVID_SOURCE): Likewise.
37768         (_DEFAULT_SOURCE): Update description of default features.
37769         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
37770         with _GNU_SOURCE.
37771         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
37772         (S_ISVTX): Likewise.
37773         * manual/math.texi (Mathematical Constants): Likewise.
37774         * manual/signal.texi (Interrupted Primitives): Likewise.
37775         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
37776         * math/test-matherr.c (_SVID_SOURCE): Do not define.
37777         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
37778         Don't refer to _SVID_SOURCE in warning text.
37780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37782         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
37783         already defined.
37784         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
37785         * sysdeps/mips/dl-lookup.c: Remove.
37786         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
37788 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37790         [BZ #16447]
37791         * math/auto-libm-test-in: Add testcase for expl.
37792         * math/auto-libm-test-out: Regenerate.
37793         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
37794         calculation of unsafe.
37795         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
37797 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37799         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
37800         * sysdeps/unix/sysv/linux/aarch64: Move directory from
37801         ports/sysdeps/unix/sysv/linux/aarch64.
37802         * README: Update listing for aarch64*-*-linux-gnu.
37804 2014-02-11  Will Newton  <will.newton@linaro.org>
37806         * manual/probes.texi (Mathematical Function Probes): Use
37807         "triggered" instead of "hit".
37809         * manual/probes.texi (Internal Probes): Add documentation
37810         of setjmp, longjmp and longjmp_target probes.
37812         * include/stap-probe.h: Add comment about probe argument
37813         format.
37815         * malloc/mtrace.c (attribute_hidden): Remove unused macro
37816         definition.  (tr_where, tr_freehook, tr_mallochook,
37817         tr_reallochook, tr_memalignhook): Use ANSI protoype.
37819 2014-02-11  David S. Miller  <davem@davemloft.net>
37821         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
37822         processing int_tests.
37824 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
37826         * sysdeps/mips: Move directory from ports/sysdeps/mips.
37827         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
37828         * sysdeps/unix/sysv/linux/mips: Move directory from
37829         ports/sysdeps/unix/sysv/linux/mips.
37830         * README: Update listing for mips-*-linux-gnu and
37831         mips64-*-linux-gnu.
37833 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
37835         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
37836         * sysdeps/unix/sysv/linux/m68k: Move directory from
37837         ports/sysdeps/unix/sysv/linux/m68k.
37838         * README: Update listing for m68k-*-linux-gnu.
37840 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
37842         * sysdeps/tile: Move directory from ports/sysdeps/tile.
37843         * sysdeps/unix/sysv/linux/generic: Move directory from
37844         ports/sysdeps/unix/sysv/linux/generic.
37845         * sysdeps/unix/sysv/linux/tile: Move directory from
37846         ports/sysdeps/unix/sysv/linux/tile.
37847         * README: Update listing for tile*-*-linux-gnu.
37849 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
37851         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
37852         __builtin_expect.
37853         * benchtests/bench-memmem.c (simple_memmem): Likewise.
37854         * catgets/open_catalog.c (__open_catalog): Likewise.
37855         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
37856         * debug/confstr_chk.c: Likewise.
37857         * debug/fread_chk.c (__fread_chk): Likewise.
37858         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
37859         * debug/getgroups_chk.c: Likewise.
37860         * debug/mbsnrtowcs_chk.c: Likewise.
37861         * debug/mbsrtowcs_chk.c: Likewise.
37862         * debug/mbstowcs_chk.c: Likewise.
37863         * debug/memcpy_chk.c: Likewise.
37864         * debug/memmove_chk.c: Likewise.
37865         * debug/mempcpy_chk.c: Likewise.
37866         * debug/memset_chk.c: Likewise.
37867         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37868         * debug/strcat_chk.c (__strcat_chk): Likewise.
37869         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
37870         * debug/strncat_chk.c (__strncat_chk): Likewise.
37871         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
37872         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
37873         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
37874         * debug/wcpncpy_chk.c: Likewise.
37875         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37876         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37877         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
37878         * debug/wcsncpy_chk.c: Likewise.
37879         * debug/wcsnrtombs_chk.c: Likewise.
37880         * debug/wcsrtombs_chk.c: Likewise.
37881         * debug/wcstombs_chk.c: Likewise.
37882         * debug/wmemcpy_chk.c: Likewise.
37883         * debug/wmemmove_chk.c: Likewise.
37884         * debug/wmempcpy_chk.c: Likewise.
37885         * debug/wmemset_chk.c: Likewise.
37886         * dirent/scandirat.c (SCANDIRAT): Likewise.
37887         * dlfcn/dladdr1.c (dladdr1): Likewise.
37888         * dlfcn/dladdr.c (dladdr): Likewise.
37889         * dlfcn/dlclose.c (dlclose_doit): Likewise.
37890         * dlfcn/dlerror.c (__dlerror): Likewise.
37891         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
37892         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
37893         * dlfcn/dlopen.c (dlopen_doit): Likewise.
37894         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
37895         * dlfcn/dlsym.c (dlsym_doit): Likewise.
37896         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
37897         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
37898         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
37899         Likewise.
37900         * elf/dl-conflict.c: Likewise.
37901         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
37902         * elf/dl-dst.h: Likewise.
37903         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
37904         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
37905         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
37906         * elf/dl-init.c (call_init, _dl_init): Likewise.
37907         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
37908         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
37909         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
37910         Likewise.
37911         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
37912         Likewise.
37913         * elf/dl-minimal.c (__libc_memalign): Likewise.
37914         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
37915         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37916         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
37917         * elf/dl-sym.c (do_sym): Likewise.
37918         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
37919         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
37920         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
37921         * elf/dl-writev.h (_dl_writev): Likewise.
37922         * elf/ldconfig.c (search_dir): Likewise.
37923         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
37924         (dl_main): Likewise.
37925         * elf/setup-vdso.h (setup_vdso): Likewise.
37926         * grp/compat-initgroups.c (compat_call): Likewise.
37927         * grp/fgetgrent.c (fgetgrent): Likewise.
37928         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
37929         * grp/putgrent.c (putgrent): Likewise.
37930         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37931         Likewise.
37932         * hurd/hurdinit.c: Likewise.
37933         * iconvdata/8bit-gap.c (struct): Likewise.
37934         * iconvdata/ansi_x3.110.c : Likewise.
37935         * iconvdata/big5.c : Likewise.
37936         * iconvdata/big5hkscs.c : Likewise.
37937         * iconvdata/cp1255.c: Likewise.
37938         * iconvdata/cp1258.c : Likewise.
37939         * iconvdata/cp932.c : Likewise.
37940         * iconvdata/euc-cn.c: Likewise.
37941         * iconvdata/euc-jisx0213.c : Likewise.
37942         * iconvdata/euc-jp.c: Likewise.
37943         * iconvdata/euc-jp-ms.c : Likewise.
37944         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37945         * iconvdata/gb18030.c : Likewise.
37946         * iconvdata/gbbig5.c (const): Likewise.
37947         * iconvdata/gbgbk.c: Likewise.
37948         * iconvdata/gbk.c : Likewise.
37949         * iconvdata/ibm1364.c : Likewise.
37950         * iconvdata/ibm930.c : Likewise.
37951         * iconvdata/ibm932.c: Likewise.
37952         * iconvdata/ibm933.c : Likewise.
37953         * iconvdata/ibm935.c : Likewise.
37954         * iconvdata/ibm937.c : Likewise.
37955         * iconvdata/ibm939.c : Likewise.
37956         * iconvdata/ibm943.c: Likewise.
37957         * iconvdata/iso_11548-1.c: Likewise.
37958         * iconvdata/iso-2022-cn.c : Likewise.
37959         * iconvdata/iso-2022-cn-ext.c : Likewise.
37960         * iconvdata/iso-2022-jp-3.c: Likewise.
37961         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37962         * iconvdata/iso-2022-kr.c : Likewise.
37963         * iconvdata/iso646.c (gconv_end): Likewise.
37964         * iconvdata/iso_6937-2.c : Likewise.
37965         * iconvdata/iso_6937.c : Likewise.
37966         * iconvdata/iso8859-1.c: Likewise.
37967         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37968         * iconvdata/shift_jisx0213.c : Likewise.
37969         * iconvdata/sjis.c : Likewise.
37970         * iconvdata/t.61.c : Likewise.
37971         * iconvdata/tcvn5712-1.c : Likewise.
37972         * iconvdata/tscii.c: Likewise.
37973         * iconvdata/uhc.c : Likewise.
37974         * iconvdata/unicode.c (gconv_end): Likewise.
37975         * iconvdata/utf-16.c (gconv_end): Likewise.
37976         * iconvdata/utf-32.c (gconv_end): Likewise.
37977         * iconvdata/utf-7.c (base64): Likewise.
37978         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37979         * iconv/gconv_close.c (__gconv_close): Likewise.
37980         * iconv/gconv_open.c (__gconv_open): Likewise.
37981         * iconv/gconv_simple.c (internal_ucs4_loop_single)
37982         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37983         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37984         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37985         (ucs4le_internal_loop_single): Likewise.
37986         * iconv/iconv.c (iconv): Likewise.
37987         * iconv/iconv_close.c: Likewise.
37988         * iconv/loop.c (SINGLE): Likewise.
37989         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37990         * include/atomic.h: Likewise.
37991         * inet/inet6_option.c (option_alloc): Likewise.
37992         * intl/bindtextdom.c (set_binding_values): Likewise.
37993         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37994         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37995         * intl/localealias.c (read_alias_file): Likewise.
37996         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37997         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37998         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37999         * libio/fmemopen.c (fmemopen): Likewise.
38000         * libio/iofgets.c (_IO_fgets): Likewise.
38001         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38002         * libio/iofgetws.c (fgetws): Likewise.
38003         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38004         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38005         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38006         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38007         * locale/findlocale.c (_nl_find_locale): Likewise.
38008         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38009         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38010         Likewise.
38011         * locale/setlocale.c (setlocale): Likewise.
38012         * login/programs/pt_chown.c (main): Likewise.
38013         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38014         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38015         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38016         (mmap, mmap64, mremap, munmap): Likewise.
38017         * math/e_exp2l.c: Likewise.
38018         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38019         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38020         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38021         * math/s_catan.c (__catan): Likewise.
38022         * math/s_catanf.c (__catanf): Likewise.
38023         * math/s_catanh.c (__catanh): Likewise.
38024         * math/s_catanhf.c (__catanhf): Likewise.
38025         * math/s_catanhl.c (__catanhl): Likewise.
38026         * math/s_catanl.c (__catanl): Likewise.
38027         * math/s_ccosh.c (__ccosh): Likewise.
38028         * math/s_ccoshf.c (__ccoshf): Likewise.
38029         * math/s_ccoshl.c (__ccoshl): Likewise.
38030         * math/s_cexp.c (__cexp): Likewise.
38031         * math/s_cexpf.c (__cexpf): Likewise.
38032         * math/s_cexpl.c (__cexpl): Likewise.
38033         * math/s_clog10.c (__clog10): Likewise.
38034         * math/s_clog10f.c (__clog10f): Likewise.
38035         * math/s_clog10l.c (__clog10l): Likewise.
38036         * math/s_clog.c (__clog): Likewise.
38037         * math/s_clogf.c (__clogf): Likewise.
38038         * math/s_clogl.c (__clogl): Likewise.
38039         * math/s_csin.c (__csin): Likewise.
38040         * math/s_csinf.c (__csinf): Likewise.
38041         * math/s_csinh.c (__csinh): Likewise.
38042         * math/s_csinhf.c (__csinhf): Likewise.
38043         * math/s_csinhl.c (__csinhl): Likewise.
38044         * math/s_csinl.c (__csinl): Likewise.
38045         * math/s_csqrt.c (__csqrt): Likewise.
38046         * math/s_csqrtf.c (__csqrtf): Likewise.
38047         * math/s_csqrtl.c (__csqrtl): Likewise.
38048         * math/s_ctan.c (__ctan): Likewise.
38049         * math/s_ctanf.c (__ctanf): Likewise.
38050         * math/s_ctanh.c (__ctanh): Likewise.
38051         * math/s_ctanhf.c (__ctanhf): Likewise.
38052         * math/s_ctanhl.c (__ctanhl): Likewise.
38053         * math/s_ctanl.c (__ctanl): Likewise.
38054         * math/w_pow.c: Likewise.
38055         * math/w_powf.c: Likewise.
38056         * math/w_powl.c: Likewise.
38057         * math/w_scalb.c (sysv_scalb): Likewise.
38058         * math/w_scalbf.c (sysv_scalbf): Likewise.
38059         * math/w_scalbl.c (sysv_scalbl): Likewise.
38060         * misc/error.c (error_tail): Likewise.
38061         * misc/pselect.c (__pselect): Likewise.
38062         * nis/nis_callback.c (__nis_create_callback): Likewise.
38063         * nis/nis_call.c (__nisfind_server): Likewise.
38064         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38065         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38066         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38067         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38068         * nis/nis_lookup.c (nis_lookup): Likewise.
38069         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38070         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38071         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38072         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38073         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38074         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38075         * nis/nss_compat/compat-initgroups.c (add_group)
38076         (internal_getgrent_r): Likewise.
38077         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38078         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38079         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38080         (internal_getspnam_r): Likewise.
38081         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38082         (_nss_nis_getaliasbyname_r): Likewise.
38083         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38084         (_nss_nis_getntohost_r): Likewise.
38085         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38086         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38087         (_nss_nis_getgrgid_r): Likewise.
38088         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38089         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38090         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38091         (_nss_nis_gethostbyname4_r): Likewise.
38092         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38093         (initgroups_netid): Likewise.
38094         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38095         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38096         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38097         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38098         (_nss_nis_getprotobynumber_r): Likewise.
38099         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38100         (_nss_nis_getsecretkey): Likewise.
38101         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38102         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38103         (_nss_nis_getpwuid_r): Likewise.
38104         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38105         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38106         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38107         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38108         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38109         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38110         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38111         Likewise.
38112         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38113         (_nss_nisplus_getntohost_r): Likewise.
38114         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38115         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38116         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38117         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38118         Likewise.
38119         * nis/nss_nisplus/nisplus-initgroups.c
38120         (_nss_nisplus_initgroups_dyn): Likewise.
38121         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38122         (_nss_nisplus_getnetbyaddr_r): Likewise.
38123         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38124         (_nss_nisplus_getprotobynumber_r): Likewise.
38125         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38126         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38127         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38128         Likewise.
38129         * nis/nss_nisplus/nisplus-service.c
38130         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38131         (_nss_nisplus_getservbyport_r): Likewise.
38132         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38133         (_nss_nisplus_getspnam_r): Likewise.
38134         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38135         Likewise.
38136         * nscd/aicache.c (addhstaiX): Likewise.
38137         * nscd/cache.c (cache_search, prune_cache): Likewise.
38138         * nscd/connections.c (register_traced_file, send_ro_fd)
38139         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38140         (main_loop_epoll): Likewise.
38141         * nscd/grpcache.c (addgrbyX): Likewise.
38142         * nscd/hstcache.c (addhstbyX): Likewise.
38143         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38144         * nscd/mem.c (gc, mempool_alloc): Likewise.
38145         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38146         (addinnetgrX): Likewise.
38147         * nscd/nscd-client.h (__nscd_acquire_maplock)
38148         (__nscd_drop_map_ref): Likewise.
38149         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38150         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38151         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38152         Likewise.
38153         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38154         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38155         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38156         (__nscd_get_map_ref): Likewise.
38157         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38158         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38159         Likewise.
38160         * nscd/pwdcache.c (addpwbyX): Likewise.
38161         * nscd/selinux.c (preserve_capabilities): Likewise.
38162         * nscd/servicescache.c (addservbyX): Likewise.
38163         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38164         * posix/fnmatch.c (fnmatch): Likewise.
38165         * posix/getopt.c (_getopt_internal_r): Likewise.
38166         * posix/glob.c (glob, glob_in_dir): Likewise.
38167         * posix/wordexp.c (exec_comm_child): Likewise.
38168         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38169         (getanswer_r, gaih_getanswer_slice): Likewise.
38170         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38171         * resolv/res_init.c: Likewise.
38172         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38173         * resolv/res_query.c (__libc_res_nquery): Likewise.
38174         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38175         Likewise.
38176         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38177         * stdio-common/perror.c (perror): Likewise.
38178         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38179         * stdio-common/tmpnam.c (tmpnam): Likewise.
38180         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38181         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38182         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38183         Likewise.
38184         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38185         * stdlib/putenv.c (putenv): Likewise.
38186         * stdlib/setenv.c (__add_to_environ): Likewise.
38187         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38188         * stdlib/strtol_l.c (INTERNAL): Likewise.
38189         * string/memmem.c (memmem): Likewise.
38190         * string/strerror.c (strerror): Likewise.
38191         * string/strnlen.c (__strnlen): Likewise.
38192         * string/test-memmem.c (simple_memmem): Likewise.
38193         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38194         * sunrpc/pm_getport.c (__get_socket): Likewise.
38195         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38196         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38197         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38198         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38199         Likewise.
38200         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38201         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38202         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38203         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38204         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38205         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38206         Likewise.
38207         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38208         Likewise.
38209         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38210         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38211         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38212         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38213         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38215         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38216         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38217         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38218         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38219         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38220         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38221         Likewise.
38222         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38223         Likewise.
38224         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38225         Likewise.
38226         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38227         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38228         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38229         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38230         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38231         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38232         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38233         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38234         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38235         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38236         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38237         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38238         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38239         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38240         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38241         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38242         Likewise.
38243         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38244         Likewise.
38245         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38246         Likewise.
38247         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38248         Likewise.
38249         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38250         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38251         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38252         Likewise.
38253         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38254         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38255         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38256         * sysdeps/posix/sleep.c: Likewise.
38257         * sysdeps/posix/tempname.c: Likewise.
38258         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38259         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38260         Likewise.
38261         * sysdeps/powerpc/powerpc32/dl-machine.h
38262         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38263         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38264         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38265         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38266         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38267         Likewise.
38268         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38269         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38270         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38271         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38272         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38273         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38274         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38275         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38276         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38277         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38278         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38279         (elf_machine_lazy_rel): Likewise.
38280         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38281         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38282         (elf_machine_lazy_rel): Likewise.
38283         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38284         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38285         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38286         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38287         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38288         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38289         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38290         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38291         Likewise.
38292         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38293         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38294         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38295         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38296         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38297         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38298         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38299         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38300         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38301         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38302         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38303         Likewise.
38304         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38305         (__posix_fallocate64_l64): Likewise.
38306         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38307         (posix_fallocate): Likewise.
38308         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38309         Likewise.
38310         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38311         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38312         (getifaddrs_internal): Likewise.
38313         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38314         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38315         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38316         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38317         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38318         (__posix_fallocate64_l64): Likewise.
38319         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38320         Likewise.
38321         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38322         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38323         (__get_clockfreq): Likewise.
38324         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38325         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38326         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38327         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38328         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38329         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38330         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38331         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38332         Likewise.
38333         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38334         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38335         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38336         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38337         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38338         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38339         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38340         Likewise.
38341         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38342         (posix_fallocate): Likewise.
38343         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38344         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38345         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38346         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38347         (elf_machine_rela, elf_machine_rela_relative)
38348         (elf_machine_lazy_rel): Likewise.
38349         * time/asctime.c (asctime_internal): Likewise.
38350         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38351         * time/tzset.c (__tzset_parse_tz): Likewise.
38352         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38353         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38354         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38355         * wcsmbs/wcsmbsload.h: Likewise.
38357         [BZ #15894]
38358         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38360         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38361         (arena_get2): Remove THREAD_STATS conditionals.
38362         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38363         (__malloc_stats, int): Likewise.
38365 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
38367         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38368         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
38370         * manual/setjmp.texi: Fix typos/grammar errors.
38372         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38373         Only return early when n is <= 0.  Delete unused return statement.
38375         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38376         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38377         * debug/tst-longjmp_chk3.c: New file.
38379         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38380         (test_main): Replace code with set_fortify_handler call.
38381         * debug/test-strcpy_chk.c: Likewise.
38382         * debug/tst-chk1.c: Likewise.
38383         * debug/tst-longjmp_chk.c: Likewise.
38384         * test-skeleton.c: Include fcntl.h & paths.h
38385         (set_fortify_handler): Define.
38387         * debug/tst-longjmp_chk.c: Add header comment and include
38388         ../test-skeleton.c.
38389         (do_test): Mark static.
38390         (TEST_FUNCTION): Define.
38392         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38393         (IP_PMTUDISC_INTERFACE): Likewise.
38394         (IP_MULTICAST_IF): Likewise.
38395         (IP_MULTICAST_TTL): Likewise.
38396         (IP_MULTICAST_LOOP): Likewise.
38397         (IP_ADD_MEMBERSHIP): Likewise.
38398         (IP_DROP_MEMBERSHIP): Likewise.
38399         (IP_UNBLOCK_SOURCE): Likewise.
38400         (IP_BLOCK_SOURCE): Likewise.
38401         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38402         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38403         (IP_MSFILTER): Likewise.
38404         (MCAST_JOIN_GROUP): Likewise.
38405         (MCAST_BLOCK_SOURCE): Likewise.
38406         (MCAST_UNBLOCK_SOURCE): Likewise.
38407         (MCAST_LEAVE_GROUP): Likewise.
38408         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38409         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38410         (MCAST_MSFILTER): Likewise.
38411         (IP_MULTICAST_ALL): Likewise.
38412         (IP_UNICAST_IF): Likewise.
38414         * timezone/Makefile: Delete $(have-ksh) check.
38415         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38416         * timezone/tzselect.ksh: Add +x mode bits.
38418         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38419         (ANON_INODE_FS_MAGIC): Likewise.
38420         (BDEVFS_MAGIC): Likewise.
38421         (BINFMTFS_MAGIC): Likewise.
38422         (BTRFS_TEST_MAGIC): Likewise.
38423         (CRAMFS_MAGIC_WEND): Likewise.
38424         (DEBUGFS_MAGIC): Likewise.
38425         (ECRYPTFS_SUPER_MAGIC): Likewise.
38426         (EXT3_SUPER_MAGIC): Likewise.
38427         (EXT4_SUPER_MAGIC): Likewise.
38428         (FUTEXFS_SUPER_MAGIC): Likewise.
38429         (HOSTFS_SUPER_MAGIC): Likewise.
38430         (HUGETLBFS_MAGIC): Likewise.
38431         (MINIX3_SUPER_MAGIC): Likewise.
38432         (MTD_INODE_FS_MAGIC): Likewise.
38433         (NILFS_SUPER_MAGIC): Likewise.
38434         (OPENPROM_SUPER_MAGIC): Likewise.
38435         (PIPEFS_MAGIC): Likewise.
38436         (PSTOREFS_MAGIC): Likewise.
38437         (QNX6_SUPER_MAGIC): Likewise.
38438         (RAMFS_MAGIC): Likewise.
38439         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38440         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38441         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38442         (SECURITYFS_MAGIC): Likewise.
38443         (SELINUX_MAGIC): Likewise.
38444         (SMACK_MAGIC): Likewise.
38445         (SOCKFS_MAGIC): Likewise.
38446         (SQUASHFS_MAGIC): Likewise.
38447         (STACK_END_MAGIC): Likewise.
38448         (TMPFS_MAGIC): Likewise.
38449         (USBDEVICE_SUPER_MAGIC): Likewise.
38450         (V9FS_MAGIC): Likewise.
38451         (XENFS_SUPER_MAGIC): Likewise.
38452         (CRAMFS_MAGIC): Fix typo in comment.
38453         (EXT2_SUPER_MAGIC): Update comment.
38454         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38456 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38458         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38459         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38460         * sysdeps/unix/sysv/linux/arm: Move directory from
38461         ports/sysdeps/unix/sysv/linux/arm.
38462         * README: Update listing for arm-*-linux-gnueabi.
38464         * README: Remove mention of am33.
38466 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38468         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38469         than the comma operator, to avoid "rhs of comma has no effect"
38470         compiler warnings.
38471         (__sigfillset, __sigandset, __sigorset): Likewise.
38472         * include/signal.h (__sigemptyset): Likewise.
38473         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38475 2014-02-07  Allan McRae  <allan@archlinux.org>
38477         * version.h (RELEASE): Set to "development".
38478         (VERSION): Set to "2.19.90"
38479         * NEWS: Add 2.20 section.
38481 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
38483         [BZ #16529]
38484         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38486 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38488         * manual/contrib.texi: Update entry for Carlos O'Donell,
38489         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38491 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
38493         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38495         * sysdeps/unix/sysv/linux/kernel-features.h
38496         [__LINUX_KERNEL_VERSION >= 0x020621]
38497         (__ASSUME_PROC_PID_TASK_COMM): Define.
38499 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38501         [BZ #16398]
38502         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38503         conversion when destination buffer does not have enough space.
38504         * libio/tst-ftell-partial-wide.c: New test case.
38505         * libio/Makefile (tests): Add tst-ftell-partial-wide.
38507         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38508         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
38509         Leonard and Allan McRae.
38511 2014-02-04  David S. Miller  <davem@davemloft.net>
38513         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38514         32-bit.
38516 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38519         New file
38520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38521         New file
38522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38523         New file.
38524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38525         New file.
38526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38527         New file.
38528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38529         New file.
38530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38531         New file.
38532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38533         New file.
38534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38535         New file.
38536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38537         New file.
38538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38539         New file.
38540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38541         New file.
38542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38543         New file.
38545 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38547         * nptl/shlib-versions: Change powerpc*le start to 2.17.
38548         * shlib-versions: Likewise.
38550 2014-02-04  Roland McGrath  <roland@hack.frob.com>
38551             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38553         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38554         (abilist-pattern): New variable, set to %-le.abilist.
38556         * Makerules (abilist-pattern): New variable.
38557         (vpath): Use $(abilist-pattern) in place of %.abilist.
38558         (check-abi-% pattern rule): Likewise.
38559         (check-abi, update-abi): Likewise.
38561 2014-02-04  Eric Wong  <normalperson@yhbt.net>
38563         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38565 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
38567         * manual/startup.texi: Add next, previous, and top entries for
38568         the `Program Arguments' and `Environment Variables' nodes.
38570 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
38572         * manual/macros.texi: Add comments before MTASC-safety macros.
38574         * manual/users.texi: Document MTASC-safety properties.
38576         * manual/threads.texi (pthread_key_create, pthread_key_delete)
38577         (pthread_getspecific, pthread_setspecific): Format with
38578         @deftypefun, and add @safety note.
38579         * manual/signal.texi: Move comments that analyze the above
38580         functions to their home place.
38582 2014-02-03  Allan McRae  <allan@archlinux.org>
38584         * po/sl.po: Update Slovenian translation from translation project.
38586 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
38588         * manual/time.texi (timegm): Add missing blank after @c.
38589         Reported by Joseph Myers <joseph@codesourcery.com>.
38591 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
38593         * manual/check-safety.sh: New.
38594         * manual/Makefile ($(objpfx)stamp-summary): Run it.
38596         * manual/terminal.texi: Document MTASC-safety properties.
38598         * manual/filesys.texi: Document MTASC-safety properties.
38600         * manual/errno.texi: Document MTASC-safety properties.
38602         * manual/intro.texi: Document safety identifiers and
38603         conditionals.
38605         * manual/string.texi (wcstok): Fix prototype.
38606         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38608         * manual/time.texi: Document MTASC-safety properties.
38610         * manual/string.texi: Document MTASC-safety properties.
38612         * manual/threads.texi: Document MTASC-safety properties.
38614         * manual/stdio.texi: Document MTASC-safety properties.
38616         * manual/syslog.texi: Document MTASC-safety properties.
38618         * manual/sysinfo.texi: Document MTASC-safety properties.
38620         * manual/startup.texi: Document MTASC-safety properties.
38622         * manual/socket.texi: Document MTASC-safety properties.
38624         * manual/signal.texi: Document MTASC-safety properties.
38626 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38628         * manual/setjmp.texi: Document MTASC-safety properties.
38630         * manual/search.texi: Document MTASC-safety properties.
38632         * manual/resource.texi: Document MTASC-safety properties.
38634         * manual/process.texi: Document MTASC-safety properties.
38636         * manual/platform.texi: Document MTASC-safety properties.
38638         * manual/pipe.texi: Document MTASC-safety properties.
38640         * manual/pattern.texi: Document MTASC-safety properties.
38642         * manual/message.texi: Document MTASC-safety properties.
38644         [BZ #12751]
38645         * manual/memory.texi: Document MTASC-safety properties.
38647         * manual/math.texi: Document MTASC-safety properties.
38649         * manual/locale.texi: Document MTASC-safety properties.
38651         * manual/llio.texi: Document MTASC-safety properties.
38653         * manual/libdl.texi: New.
38655         * manual/lang.texi: Document MTASC-safety properties.
38657         * manual/job.texi: Document MTASC-safety properties.
38659         * manual/getopt.texi: Document MTASC-safety properties.
38661         * manual/ctype.texi: Document MTASC-safety properties.
38663 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38665         [BZ #16046]
38666         * csu/libc-tls.c (static_map): Remove variable.
38667         (__libc_setup_tls): Use main executable's link map for TLS data.
38668         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38669         casing for LM_ID_BASE and GL(dl_nns).
38670         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38671         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38672         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38673         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38674         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38675         member.
38676         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38677         l_phnum members.
38679 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
38681         * manual/debug.texi: Document MTASC-safety properties.
38683 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
38685         [BZ #16510]
38686         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38687         of __x86_64__ when disabling x87 inline functions.
38689 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
38691         * manual/charset.texi: Document MTASC-safety properties.
38693         * manual/crypt.texi: Document MTASC-safety properties.
38695         * manual/conf.texi: Document MTASC-safety properties.
38697         * manual/arith.texi: Document MTASC-safety properties.
38699         * manual/argp.texi: Document MTASC-safety properties.
38701         * manual/macros.texi: Introduce macros to document multi
38702         thread, asynchronous signal and asynchronous cancellation
38703         safety properties.
38704         * manual/intro.texi: Introduce the properties themselves.
38706 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38708         * sysdeps/sh/sh4/Makefile: New file.
38710 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
38712         * math/gen-libm-test.pl ($srcdir): New variable.
38713         ($auto_input): Use it.
38715 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38717         [BZ #16506]
38718         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38719         access beyond array bounds when parsing netgroups file.
38721         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38722         the old buffer before realloc.
38724 2014-01-27  Allan McRae  <allan@archlinux.org>
38726         * po/fr.po: Update French translation from translation project.
38728 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38730         * sysdeps/sh/libm-test-ulps: Regenerate.
38732 2014-01-24  David S. Miller  <davem@davemloft.net>
38734         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38736 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38738         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
38739         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
38741 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38743         [BZ #16474]
38744         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
38745         string pointers after reallocation.
38747 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38749         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
38750         __SH4A__ instead of __SH_FPU_ANY__.
38752 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38754         * sysdeps/sh/fpu_control.h: New file.
38755         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
38756         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
38757         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
38758         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
38759         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
38760         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
38761         * sysdeps/sh/sys/ucontext.h: Remove.
38762         * sysdeps/sh/sys: Remove directory.
38764 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38766         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
38767         s390/sys/ucontext.h.
38768         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
38769         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
38771 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
38773         [BZ #15605]
38774         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
38776 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38778         [BZ#16431]
38779         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38780         Adjust the vDSO correctly for internal calls.
38781         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
38783 2014-01-20  Allan McRae  <allan@archlinux.org>
38785         * po/ca.po: Update Catalan translation from translation project.
38787 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
38789         * sysdeps/s390/sotruss-lib.c: New file.
38791 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38793         [BZ#16430]
38794         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
38795         (__GI___gettimeofday): Alias for a different internal symbol to avoid
38796         local calls issues by not having a PLT stub required for IFUNC calls.
38797         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
38799 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
38801         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
38802         * math/test-fpucw-static.c: Likewise.
38804 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38806         [BZ #16453]
38807         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
38809 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38811         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
38812         implementation for powerpc.
38814 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
38816         [BZ #14782]
38817         * sysdeps/posix/system.c (__libc_system): Do not enable
38818         asynchronous cancellation.
38820 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38822         [BZ #16427]
38823         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
38824         handling only for numbers special also in the IEEE case.
38826 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38828         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38830 2014-01-11  Allan McRae  <allan@archlinux.org>
38832         * po/bg.po: Update Bulgarian translation from translation project.
38834         * po/de.po: Update German translation from translation project.
38836 2014-01-10  Roland McGrath  <roland@hack.frob.com>
38838         * sysdeps/generic/gcc-compat.h: New file.
38840 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38842         * benchtests/asin-inputs: Correct slow inputs.
38843         * benchtests/acos-inputs: Likewise.
38845 2014-01-10  Allan McRae  <allan@archlinux.org>
38847         * po:sv.po: Update Swedish translation from translation project.
38849         * po/vi.po: Update Vietnamese translation from translation project.
38851         * po/eo.po: Update Esperanto translation from translation project.
38853         * po/cs.po: Update Czech translation from translation project.
38855         * po/nl.po: Update Dutch translation from translation project.
38857         * po/pl.po: Update Polish translation from translation project.
38859         * po/ru.po: Update Russian translation from translation project.
38861         * po/uk.po: Update Ukrainian translation from translation project.
38863 2014-01-08  Brooks Moses  <bmoses@google.com>
38865         * elf/dl-load.c: Fix comment typo.
38867 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
38869         * po/header.pot: Rename to...
38870         * po/pot.header: ... this.
38871         * po/Makefile: Use pot.header.
38873 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
38874             Maxim Kuvyrkov  <maxim@kugelworks.com>
38876         [BZ #16394]
38877         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
38878         SRC and DEST against LEN.
38880 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38882         [BZ #16414]
38883         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
38884         implementation.
38885         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
38887 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38891 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
38893         [BZ #16408]
38894         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
38895         for large positive arguments.
38897 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
38899         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38901         * math/auto-libm-test-in: Mark various tests with
38902         xfail-rounding:ldbl-128ibm.
38903         * math/auto-libm-test-out: Regenerated.
38905         [BZ #16407]
38906         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38907         Increase overflow threshold.
38909 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
38911         [BZ #14286]
38912         * stdio-common/vfprintf.c: Check for integer overflow.
38914 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38916         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
38917         the first argument and return value of __tls_get_addr_internal.
38919 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38921         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
38922         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
38924 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38926         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
38927         * sysdeps/s390/rtld-global-offsets.sym: New file.
38928         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
38929         GLIBC_2.19 symbol.
38930         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
38931         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
38932         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38933         ... this.
38934         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
38935         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38936         ... this.
38937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38938         Regenerate.
38939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38940         Regenerate.
38941         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
38942         halfs of GPRs for high_gprs contexts.
38943         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38944         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
38945         field.
38946         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38947         uc_flags field.
38948         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38949         64 bit versions:
38950         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38951         for high GPRs (uc_high_gprs) and for future extensions
38952         (__reserved).
38953         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38954         for future extensions (__reserved).
38955         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38956         64 bit versions:
38957         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38958         SC_HIGHGPRS offset definition.
38959         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38960         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38962         * Versions.def: Add GLIBC_2.19 for libpthread.
38963         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38964         siglongjmp for libpthread with GLIBC_2.19 symver.
38965         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38966         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38967         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38968         * sysdeps/s390/__longjmp.c: New file.
38969         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38970         * sysdeps/s390/longjmp.c: New file.
38971         * sysdeps/s390/setjmp.S: New file.
38972         * sysdeps/s390/sigjmp.S: New file.
38973         * sysdeps/s390/v1-longjmp.c: New file.
38974         * sysdeps/s390/v1-setjmp.h: New file.
38975         * sysdeps/s390/v1-sigjmp.c: New file.
38976         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38977         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38978         GLIBC_2.19 version.
38979         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38980         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38981         versioned symbols for ____longjmp_chk.
38982         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38983         Likewise.
38984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38985         Regenerate.
38986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38987         Regenerate.
38988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38989         Regenerate.
38990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38991         Regenerate.
38992         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38993         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38994         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38995         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38996         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38997         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38998         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38999         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39000         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39001         * sysdeps/s390/rtld-__longjmp.c: New file.
39002         * sysdeps/s390/rtld-setjmp.S: New file.
39004 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39006         [BZ #16400]
39007         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39008         Return -__logl (x) for small positive arguments without evaluating
39009         a polynomial.
39011 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39013         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39014         Rename to ...
39015         (__ptrace_peeksiginfo_args): ... this.
39016         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39017         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39018         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39020 2014-01-06  Allan McRae  <allan@archlinux.org>
39022         * inet/netinet/in.h: Fix typo in comment.
39024 2014-01-05  Andreas Jaeger  <aj@suse.de>
39026         * sysdeps/i386/fpu/libm-test-ulps: Update.
39028 2014-01-05  Allan McRae  <allan@archlinux.org>
39030         * po/libc.pot: Regenerated.
39032         * malloc/memusagestat.c: Fix gettext call formatting.
39034 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39036         * nscd/nscd.c: Improve usage() output.
39038 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39040         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39041         * sysdeps/unix/sysv/linux/configure: Regenerated.
39042         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39043         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39045 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39047         [BZ #16390]
39048         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39049         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39051 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39053         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39054         extra tokens at end of #undef directive.
39055         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39056         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39057         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39059 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39061         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39063         * math/auto-libm-test-in: Mark various tests with
39064         xfail-rounding:ldbl-128ibm.
39065         * math/auto-libm-test-out: Regenerated.
39067 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39069         [BZ #16386]
39070         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39071         numbers with subnormal high part when calculating exponent.
39073         [BZ #16385]
39074         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39075         fabs.
39077         [BZ #16384]
39078         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39079         M_LN2l.
39080         (__ieee754_acoshl): Use __log1pl not __log1p.
39082 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39084         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39085         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39086         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39087         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39088         (reused_arena, arena_get2): Convert to GNU style.
39089         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39090         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39091         (memalign_check, __malloc_set_state): Likewise.
39092         * malloc/mallocbug.c (main): Likewise.
39093         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39094         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39095         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39096         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39097         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39098         (__posix_memalign, malloc_info): Likewise.
39099         * malloc/malloc.h: Likewise.
39100         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39101         (mallochook, memalignhook, reallochook, mabort): Likewise.
39102         * malloc/mcheck.h: Likewise.
39103         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39104         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39105         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39106         * malloc/morecore.c (__default_morecore): Likewise.
39107         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39108         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39109         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39110         (print_and_abort): Likewise.
39111         * malloc/obstack.h: Likewise.
39112         * malloc/set-freeres.c (__libc_freeres): Likewise.
39113         * malloc/tst-mallocstate.c (main): Likewise.
39114         * malloc/tst-mtrace.c (main): Likewise.
39115         * malloc/tst-realloc.c (do_test): Likewise.
39117 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39119         [BZ #16366]
39120         * nscd/netgroupcache.c (do_notfound): New function.
39121         (addgetnetgrentX): Use it.
39123         [BZ # 16365]
39124         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39125         NSS_STATUS_NOTFOUND.
39127 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39129         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39132 2014-01-01  Allan McRae  <allan@archlinux.org>
39134         * scripts/update-copyrights: Update configure input file suffix.
39136         * NEWS: Update copyright year.
39137         * catgets/gencat.c: Likewise.
39138         * csu/version.c: Likewise.
39139         * debug/catchsegv.sh: Likewise.
39140         * debug/pcprofiledump.c: Likewise.
39141         * debug/xtrace.sh: Likewise.
39142         * elf/ldconfig.c: Likewise.
39143         * elf/ldd.bash.in: Likewise.
39144         * elf/pldd.c: Likewise.
39145         * elf/sotruss.ksh: Likewise.
39146         * elf/sprof.c: Likewise.
39147         * iconv/iconv_prog.c: Likewise.
39148         * iconv/iconvconfig.c: Likewise.
39149         * locale/programs/locale.c: Likewise.
39150         * locale/programs/localedef.c: Likewise.
39151         * login/programs/pt_chown.c: Likewise.
39152         * malloc/memusage.sh: Likewise.
39153         * malloc/memusagestat.c: Likewise.
39154         * malloc/mtrace.pl: Likewise.
39155         * manual/libc.texinfo: Likewise.
39156         * nscd/nscd.c: Likewise.
39157         * nss/getent.c: Likewise.
39158         * nss/makedb.c: Likewise.
39159         * posix/getconf.c: Likewise.
39160         * scripts/test-installation.pl: Likewise.
39162         * All files with FSF copyright notices: Update copyright dates
39163         using scripts/update-copyrights.
39164         * intl/plural.c: Regenerated.
39165         * locale/programs/charmap-kw.h: Likewise.
39166         * locale/programs/locfile-kw.h: Likewise.
39168 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39170         * sysdeps/unix/sysv/linux/configure: Regenerated.
39171         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39172         the linux/fanotify.h header.
39173         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39174         HAVE_LINUX_FANOTIFY_H is defined.
39176 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39178         * benchtests/cos-inputs: New inputs.
39179         * benchtests/sin-inputs: Likewise.
39181         * benchtests/atan-inputs: New inputs. Fix name of multiple
39182         precision fallback inputs.
39184         * benchtests/atanh-inputs: New inputs.
39185         * benchtests/tanh-inputs: Likewise.
39187         * benchtests/acosh-inputs: New inputs.
39188         * benchtests/asinh-inputs: Likewise.
39190         * benchtests/cosh-inputs: New inputs.
39191         * benchtests/sinh-inputs: Likewise.
39193         * benchtests/acos-inputs: Add more inputs.
39194         * benchtests/asin-inputs: Likewise.
39196 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39198         [BZ #16375]
39199         * manual/arith.texi: Fix spelling.
39200         * manual/charset.texi: Likewise.
39201         * manual/errno.texi: Likewise.
39202         * manual/filesys.texi: Likewise.
39203         * manual/lang.texi: Likewise.
39204         * manual/llio.texi: Likewise.
39205         * manual/locale.texi: Likewise.
39206         * manual/message.texi: Likewise.
39207         * manual/resource.texi: Likewise.
39208         * manual/search.texi: Likewise.
39209         * manual/setjmp.texi: Likewise.
39210         * manual/stdio.texi: Likewise.
39211         * manual/string.texi: Likewise.
39212         * manual/sysinfo.texi: Likewise.
39213         * manual/time.texi: Likewise.
39215 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39217         * po/sl.po: New file.
39219 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39221         * .gitignore: Add core/.gdbinit/.gdb_history.
39223 2013-12-27  Allan McRae  <allan@archlinux.org>
39225         [BZ #16369]
39226         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39227         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39229 2013-12-24  Brooks Moses  <bmoses@google.com>
39231         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39232         all compilers that claim C++98 compliance, not just GCC.
39233         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39234         Likewise.
39236 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39238         * NEWS: Restore accidentally deleted bug-fix entries.
39240 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39241             Ondřej Bílka  <neleai@seznam.cz>
39243         [BZ #15073]
39244         * malloc/malloc.c (_int_free): Perform sanity check only if we
39245         have_lock.
39247 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39249         [BZ #12986]
39250         * manual/stdio.texi (String Input Conversions): Clarify that character
39251         classes are not supported.
39253 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39257 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39259         [BZ #16337]
39260         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39261         Calculate results for small negative arguments directly rather
39262         than using reflection formula with special underflow handling.
39264         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39265         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39266         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39267         (fchflags): Likewise.
39268         (revoke): Likewise.
39269         (setlogin): Likewise.
39270         (sigaltstack): Likewise.
39271         (wait4): Likewise.
39272         (sigblock): Remove.
39273         (sigsetmask): Likewise.
39274         (wait3): Likewise.
39275         (waitpid): Likewise.
39276         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39277         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39278         file.
39279         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39280         * sysdeps/unix/bsd/Makefile: ... here.
39281         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39282         * sysdeps/unix/bsd/Versions: ... here.
39283         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39284         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39285         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39286         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39287         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39288         * sysdeps/unix/bsd/sigblock.c: ... here.
39289         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39290         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39291         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39292         * sysdeps/unix/bsd/sigvec.c: ... here.
39293         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39294         * sysdeps/unix/bsd/tcdrain.c: ... here.
39295         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39296         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39297         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39298         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39299         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39300         * sysdeps/unix/bsd/wait.c: ... here.
39301         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39302         * sysdeps/unix/bsd/wait3.c: ... here.
39303         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39304         * sysdeps/unix/bsd/waitpid.c: ... here.
39306 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39308         [BZ #16356]
39309         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39310         round-to-nearest for [!USE_AS_EXPM1L].
39311         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39312         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
39313         more tests of exp and exp10.  Expect some exp10 tests to miss
39314         exceptions or fail in directed rounding modes.
39315         * math/auto-libm-test-out: Regenerated.
39316         * math/libm-test.inc (exp10_tonearest_test_data): New array.
39317         (exp10_test_tonearest): New function.
39318         (exp10_towardzero_test_data): New array.
39319         (exp10_test_towardzero): New function.
39320         (exp10_downward_test_data): New array.
39321         (exp10_test_downward): New function.
39322         (exp10_upward_test_data): New array.
39323         (exp10_test_upward): New function.
39324         (main): Call the new functions.
39325         * sysdeps/i386/fpu/libm-test-ulps: Update.
39326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39328 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
39330         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39331         asinh, atan, atan2, atanh, cbrt, cos and cosh.
39332         * math/auto-libm-test-out: Regenerated.
39333         * math/libm-test.inc (acosh_test_data): Add more tests.
39334         (atanh_test_data): Likewise.
39335         (ceil_test_data): Likewise.
39336         (copysign_test_data): Likewise.
39337         * sysdeps/i386/fpu/libm-test-ulps: Update.
39338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39340         * timezone/checktab.awk: Update from tzcode 2013i.
39341         * timezone/private.h: Likewise.
39342         * timezone/scheck.c: Likewise.
39343         * timezone/tzfile.h: Likewise.
39344         * timezone/tzselect.ksh: Likewise.
39345         * timezone/zdump.c: Likewise.
39346         * timezone/zic.c: Likewise.
39348         * math/auto-libm-test-in: Add tests of cpow.
39349         * math/auto-libm-test-out: Regenerated.
39350         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39351         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39352         mpc_cc_c.
39353         (func_calc_desc): Add mpc_cc_c union field.
39354         (test_functions): Add cpow.
39355         (special_fill_2pi): New function.
39356         (special_real_inputs): Add 2pi.
39357         (calc_generic_results): Handle mpc_cc_c.
39358         * sysdeps/i386/fpu/libm-test-ulps: Update.
39359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39361         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39362         csqrt, ctan and ctanh.
39363         * math/auto-libm-test-out: Regenerated.
39364         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39365         (TEST_COND_x86): Likewise.
39366         (ccos_test_data): Use AUTO_TESTS_c_c.
39367         (ccosh_test_data): Likewise.
39368         (cexp_test_data): Likewise.
39369         (clog_test_data): Likewise.
39370         (csqrt_test_data): Likewise.
39371         (ctan_test_data): Likewise.
39372         (ctan_tonearest_test_data): Likewise.
39373         (ctan_towardzero_test_data): Likewise.
39374         (ctan_downward_test_data): Likewise.
39375         (ctan_upward_test_data): Likewise.
39376         (ctanh_test_data): Likewise.
39377         (ctanh_tonearest_test_data): Likewise.
39378         (ctanh_towardzero_test_data): Likewise.
39379         (ctanh_downward_test_data): Likewise.
39380         (ctanh_upward_test_data): Likewise.
39381         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39382         mpc_c_c.
39383         (func_calc_desc): Add mpc_c_c union field.
39384         (FUNC_mpc_c_c): New macro.
39385         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39386         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39387         ctanh.
39388         (special_fill_min_subnorm_p120): New function.
39389         (special_real_inputs): Add min_subnorm_p120.
39390         (calc_generic_results): Handle mpc_c_c.
39391         * sysdeps/i386/fpu/libm-test-ulps: Update.
39392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39394 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39396         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39397         (do_sin_slow): New functions.
39398         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39399         (cslow2, csloww1, csloww2): Use the new functions.
39401         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39402         Use M to change sign of result instead of X.  Assume X is
39403         positive.
39404         (csloww1): Likewise.
39405         (__sin): Adjust.
39406         (__cos): Adjust.
39408         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39409         arguments A and DA.
39410         (__sin): Adjust.
39411         (__cos): Likewise.
39413         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39414         (__cos): Likewise.
39415         (sloww1): Don't adjust sign of DX.
39416         (csloww1): Likewise.
39417         (sloww2): Use X directly and don't adjust sign of DX.
39418         (csloww2): Likewise.
39420 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39422         * math/auto-libm-test-in: Add tests of cabs and carg.
39423         * math/auto-libm-test-out: Regenerated.
39424         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39425         (carg_test_data): Likewise.
39426         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39427         mpc_c_f.
39428         (func_calc_desc): Add mpc_c_f union field.
39429         (test_functions): Add cabs and carg.
39430         (calc_generic_results): Handle mpc_c_f.
39432         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39433         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39434         as a macro and a compat symbol.
39435         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39436         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39437         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39438         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39439         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39440         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39441         not use .hidden.
39442         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39443         Likewise.
39444         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39445         Likewise.
39446         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39447         Likewise.
39448         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39449         Likewise.
39450         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39451         Likewise.
39452         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39453         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39454         from GLIBC_2.3.2.
39456 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39460 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39462         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39463         trailing whitespace removed.
39464         * scripts/config.guess: Update to version 2013-11-29.
39465         * scripts/config.sub: Update to version 2013-10-01.
39467         * math/auto-libm-test-in: Add tests of sincos.
39468         * math/auto-libm-test-out: Regenerated.
39469         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39470         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39471         mpfr_f_11.
39472         (func_calc_desc): Add mpfr_f_11 union field.
39473         (test_functions): Add sincos.
39474         (calc_generic_results): Handle mpfr_f_11.
39475         * sysdeps/i386/fpu/libm-test-ulps: Update.
39476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39478 2013-12-19  Andreas Schwab  <schwab@suse.de>
39480         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39481         CALL_MCOUNT.
39482         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39483         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39484         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39486 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39488         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39489         * sysdeps/i386/fpu/libm-test-ulps: Update.
39490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39492         [BZ #16293]
39493         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39494         round-to-nearest mode when using frndint.
39495         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39496         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39497         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39498         Likewise.
39499         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
39500         sinh test to fail.
39501         * math/auto-libm-test-out: Regenerated.
39502         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39503         (TEST_COND_x86): Likewise.
39504         (expm1_tonearest_test_data): New array.
39505         (expm1_test_tonearest): New function.
39506         (expm1_towardzero_test_data): New array.
39507         (expm1_test_towardzero): New function.
39508         (expm1_downward_test_data): New array.
39509         (expm1_test_downward): New function.
39510         (expm1_upward_test_data): New array.
39511         (expm1_test_upward): New function.
39512         (main): Run the new test functions.
39513         * sysdeps/i386/fpu/libm-test-ulps: Update.
39514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39516         * include/features.h: Update comment documenting feature test
39517         macros.  Mention _DEFAULT_SOURCE in comment.
39518         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39519         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39520         _BSD_SOURCE and _SVID_SOURCE.
39521         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39522         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39523         !_SVID_SOURCE]: Likewise.
39524         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39525         (__USE_POSIX_IMPLICITLY): Define.
39526         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39527         (_POSIX_SOURCE): Undefine and redefine.
39528         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39529         (_POSIX_C_SOURCE): Likewise.
39530         * manual/creature.texi (_DEFAULT_SOURCE): Document.
39531         (Feature Test Macros): Update documentation of default features.
39533 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39535         * benchtests/Makefile: Add bench-strtok.
39536         * benchtests/bench-strtok.c: New file: strtok benchtest.
39538 2013-12-19  Allan McRae  <allan@archlinux.org>
39540         * manual/install.texi: Suppress menu for plain text output.
39541         * INSTALL: Regenerated.
39543 2013-12-18  Brooks Moses  <bmoses@google.com>
39545         [BZ #15846]
39546         * misc/getauxval.c: Include errno.h.
39547         (__getauxval): Set errno to ENOENT if the requested type is not
39548         found.
39549         * misc/sys/auxv.h (getauxval): Document that it may set errno;
39550         don't declare with __attribute_const__.
39551         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39552         * manual/startup.texi: Document that getauxval sets errno.
39554 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39556         * math/auto-libm-test-in: Add tests of jn and yn.
39557         * math/auto-libm-test-out: Regenerated.
39558         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39559         (yn_test_data): Likewise.
39560         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39561         mpfr_if_f.
39562         (func_calc_desc): Add mpfr_if_f union field.
39563         (FUNC_mpfr_if_f): New macro.
39564         (test_functions): Add jn and yn.
39565         (calc_generic_results): Assert type of second input for
39566         mpfr_ff_f.  Handle mpfr_if_f.
39567         (output_for_one_input_case): Disable all checking for arguments
39568         fitting floating-point types in case of an integer argument.
39569         * sysdeps/i386/fpu/libm-test-ulps: Update.
39570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39573         Don't expect fegetround reference in libm.so.
39575 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39577         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39578         $(config-cflags-nofma).
39580 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39582         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39583         * math/auto-libm-test-out: Regenerated.
39585         [BZ #16338]
39586         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39587         to determine exponent and adjust argument to have exponent of -1.
39588         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39589         log2.
39590         * math/auto-libm-test-out: Regenerated.
39591         * sysdeps/i386/fpu/libm-test-ulps: Update.
39592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39594 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
39596         * manual/probes.texi: Remove cases when per-thread arenas are
39597         disabled.
39599 2013-12-18  Andreas Schwab  <schwab@suse.de>
39601         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39602         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39603         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39604         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39605         * sysdeps/i386/i686/multiarch/Makefile: Update.
39606         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39608 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39610         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39611         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39613 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
39615         [BZ #15968]
39616         Support TZ transition times < 00:00:00.
39617         This is needed for version-3 tz-format files; it supports time
39618         stamps past 2037 for America/Godthab (the only entry in the tz
39619         database for which this change is relevant).
39620         * manual/time.texi (TZ Variable): Document transition times
39621         from -167:59:59 through -00:00:01.
39622         * time/tzset.c (tz_rule): Time of day is now signed.
39623         (__tzset_parse_tz): Parse negative time of day.
39625         Document TZ transition times >= 25:00:00.
39626         * manual/time.texi (TZ Variable): Document transition times from
39627         25:00:00 through 167:59:59.  These are already supported, and this
39628         support will help with version-3 tz-format files.
39630         * manual/time.texi (TZ Variable): Modernize North America example
39631         to reflect current (i.e., 2007-and-later) daylight saving rules.
39633         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39635 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39637         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39638         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39639         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39640         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39641         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39642         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39643         * sysdeps/unix/bsd/clock.c: Likewise.
39644         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39645         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39646         * sysdeps/unix/bsd/init-posix.c: Likewise.
39647         * sysdeps/unix/bsd/poll.c: Likewise.
39648         * sysdeps/unix/bsd/ptsname.c: Likewise.
39649         * sysdeps/unix/bsd/seekdir.c: Likewise.
39650         * sysdeps/unix/bsd/setegid.c: Likewise.
39651         * sysdeps/unix/bsd/seteuid.c: Likewise.
39652         * sysdeps/unix/bsd/setgid.c: Likewise.
39653         * sysdeps/unix/bsd/setrgid.c: Likewise.
39654         * sysdeps/unix/bsd/setruid.c: Likewise.
39655         * sysdeps/unix/bsd/setsid.c: Likewise.
39656         * sysdeps/unix/bsd/setuid.c: Likewise.
39657         * sysdeps/unix/bsd/sigaction.c: Likewise.
39658         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39659         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39660         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39661         * sysdeps/unix/bsd/telldir.c: Likewise.
39662         * sysdeps/unix/bsd/times.c: Likewise.
39663         * sysdeps/unix/bsd/usleep.c: Likewise.
39665         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39666         ($(objpfx)libbsd-compat.a): Remove rule.
39668         * include/features.h (__FAVOR_BSD): Do not define.
39669         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39670         features conflicting with POSIX.
39671         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39672         (_BSD_SOURCE): Remove description of not being a subset of other
39673         feature test macros.
39674         * manual/job.texi (getpgrp): Do not document BSD version.
39675         (getpgid): Do not document by reference to BSD getpgrp.
39676         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39677         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39678         * signal/signal.h [__FAVOR_BSD]: Likewise.
39679         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39680         instead of making contents conditional on [__FAVOR_BSD].
39681         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39683 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39687 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39689         [BZ #16314]
39690         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39691         values below 2**-450, not 2**-500.
39692         * math/auto-libm-test-in: Don't allow spurious underflow from
39693         hypot.
39694         * math/auto-libm-test-out: Regenerated.
39696         [BZ #16316]
39697         [BZ #16330]
39698         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39699         values of ha and hb and sort them after adjusting subnormal
39700         arguments.
39701         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39702         Likewise.
39703         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39704         values of ea and eb and sort them after adjusting subnormal
39705         arguments.
39706         * math/auto-libm-test-in: Do not expect some hypot tests of
39707         subnormals to fail.  Add more hypot tests.
39708         * math/auto-libm-test-out: Regenerated.
39710 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39712         [BZ #13304]
39713         * sysdeps/sh/s_fma.c: New file.
39714         * sysdeps/sh/s_fmaf.c: New file.
39715         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
39716         version.
39717         * sysdeps/sh/Implies: Add sh/soft-fp.
39719 2013-12-16  Roland McGrath  <roland@hack.frob.com>
39721         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
39722         level of indirection to members `objname', `errstring', `malloced'.
39723         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39724         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
39725         it as the __longjmp argument (just pass 1 instead).
39726         (_dl_catch_error): Initialize C with argument pointers and address of
39727         volatile local ERRCODE rather than copying values out of C at return.
39729 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
39731         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39732         * math/auto-libm-test-out: Regenerated.
39733         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39734         (hypot_test_data): Likewise.
39735         (pow_test_data): Likewise.
39736         (pow_tonearest_test_data): Likewise.
39737         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39738         mpfr_ff_f.
39739         (func_calc_desc): Add mpfr_ff_f union field.
39740         (FUNC_mpfr_ff_f): New macro.
39741         (test_functions): Add atan2, hypot and pow.
39742         (special_fill_min): New function.
39743         (special_fill_minus_min): Likewise.
39744         (special_fill_min_subnorm): Likewise.
39745         (special_fill_minus_min_subnorm): Likewise.
39746         (special_real_inputs): Add min, -min, min_subnorm and
39747         -min_subnorm.
39748         (calc_generic_results): Handle mpfr_ff_f.
39749         * sysdeps/i386/fpu/libm-test-ulps: Update.
39750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39752 2013-12-16  Will Newton  <will.newton@linaro.org>
39754         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
39755         (Aligned Memory Blocks): Add documentation for aligned_alloc
39756         and suggest it as an alternative to posix_memalign.
39757         (Hooks for Malloc): Document __memalign_hook is also called
39758         for aligned_alloc.  (Summary of Malloc): Add summary for
39759         aligned alloc.  Document __memalign_hook is also called
39760         for aligned_alloc.
39762 2013-12-16  Will Newton  <will.newton@linaro.org>
39764         * manual/memory.texi (Malloc Examples): Clarify default
39765         alignment documentation.  Suggest posix_memalign rather
39766         than memalign or valloc.
39767         (Aligned Memory Blocks): Remove suggestion to use memalign
39768         or valloc.  Remove obsolete comment about BSD.
39769         Document memalign errno values and mark the function obsolete.
39770         Document posix_memalign returned error codes.  Mark valloc
39771         as obsolete.  (Hooks for Malloc): __memalign_hook is also
39772         called for posix_memalign and valloc.
39773         (Summary of Malloc): Add posix_memalign to function summary.
39774         __memalign_hook is also called for posix_memalign and valloc.
39776 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39778         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
39779         TAYLOR_SIN.
39780         (__sin): Adjust.
39781         (__cos): Likewise.
39782         (sloww): Use mynumber union.  Expand ternary operator into
39783         if-else statements.
39784         (cslow): use mynumber union.
39786 2013-12-16  Allan McRae  <allan@archlinux.org>
39788         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
39789         * configure: Regenerated.
39791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
39793         [BZ #14120]
39794         * configure.ac: Added --enable-maintainer-mode. Check for
39795         autoconf when enabled.
39796         * configure: Regenerated.
39798         * nscd/nscd.service: New file.
39799         * nscd/nscd.tmpfiles: New file.
39801 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
39803         [BZ #12100]
39804         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
39805         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
39806         * sysdeps/x86_64/multiarch/strstr.c: ... here.
39807         (strstr): Add __strstr_sse2_unaligned ifunc.
39808         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
39809         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
39810         (strcasestr): Remove __strcasestr_sse42 ifunc.
39811         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
39812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39815 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39817         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
39818         * sysdeps/sh/bits/fenv.h: ... here.
39819         * sysdeps/sh/sh4/fpu/bits: Remove directory.
39821 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39823         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
39825         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
39826         hypotf multiarch implementations.
39827         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
39828         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
39829         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
39830         multiarch hypot for PPC64.
39831         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
39832         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
39833         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
39834         multiarch hypotf for PPC64.
39836         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
39837         modff multiarch implementations.
39838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
39839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
39840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
39841         multiarch modf for PPC64.
39842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
39843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
39844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
39845         multiarch modff for PPC64.
39847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
39848         and logl multiarch implementations.
39849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
39850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
39851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
39852         multiarch logb for PPC64.
39853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
39854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
39855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
39856         multiarch logb for PPC64.
39857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
39858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
39859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
39860         multiarch logb for PPC64.
39862         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
39863         isinff multiarch implementation.
39864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
39865         file.
39866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
39867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
39868         multiarch isinf for PPC64.
39869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
39870         file.
39871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
39872         multiarch isinff for PPC64.
39874         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
39875         finitef multiarch implementation.
39876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
39877         file.
39878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
39879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
39880         multiarch finite for PPC64.
39881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
39882         file.
39883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
39884         multiarch finitef for PPC64.
39886         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
39887         lrint multiarch implementation.
39888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
39889         file.
39890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
39891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
39892         multiarch llrint for PPC64.
39893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
39894         multiarch lrint for PPC64.
39896         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
39897         copysignf multiarch implementation.
39898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
39899         file.
39900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
39901         file.
39902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
39903         multiarch copysign for PPC64.
39904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
39905         multiarch copysignf for PPC64.
39907         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
39908         multiarch implementation.
39909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
39910         file.
39911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
39912         file.
39913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
39914         file.
39915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
39916         file.
39917         multiarch llround for PPC64.
39918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
39919         multiarch trunc for PPC64.
39920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
39921         multiarch truncf for PPC64.
39923         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
39924         multiarch implementation.
39925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
39926         file.
39927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
39928         file.
39929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
39930         file.
39931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
39932         file.
39933         multiarch llround for PPC64.
39934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
39935         multiarch round for PPC64.
39936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
39937         multiarch roundf for PPC64.
39939         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
39940         multiarch implementation.
39941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
39942         file.
39943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39944         file.
39945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39946         file.
39947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39948         file.
39949         multiarch llround for PPC64.
39950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39951         multiarch floor for PPC64.
39952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39953         multiarch floorf for PPC64.
39955         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39956         multiarch implementation.
39957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39958         file.
39959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39960         file.
39961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39962         file.
39963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39964         file.
39965         multiarch llround for PPC64.
39966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39967         multiarch ceil for PPC64.
39968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39969         multiarch ceilf for PPC64.
39971         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39972         multiarch implementation.
39973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39974         file.
39975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39976         file.
39977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39978         file.
39979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39980         multiarch llround for PPC64.
39981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39982         multiarch lround for PPC64.
39984         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39985         multiarch implementation.
39986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39989         file.
39990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39993         multiarch isnan for PPC64.
39994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39995         multiarch isnanf for PPC64.
39997         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39998         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39999         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40000         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40001         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40004         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40005         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40006         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40007         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40010         multiarch implementations.
40011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40012         (__libc_ifunc_impl_list): Likewise.
40013         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40014         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40015         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40016         multiarch stpcpy for PPC64.
40018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40019         multiarch implementations.
40020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40021         (__libc_ifunc_impl_list): Likewise.
40022         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40023         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40024         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40025         multiarch strcpy for PPC64.
40027         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40028         redefine function name.
40029         (_wordcopy_fwd_dest_aligned): Likewise.
40030         (_wordcopy_bwd_aligned): Likewise.
40031         (_wordcopy_bwd_dest_aligned): Likewise.
40032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40033         multiarch implementations.
40034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40035         (__libc_ifunc_impl_list): Likewise.
40036         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40037         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40038         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40039         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40040         multiarch wcscpy for PPC64.
40042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40043         multiarch implementations.
40044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40045         (__libc_ifunc_impl_list): Likewise.
40046         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40047         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40048         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40049         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40050         multiarch wcscpy for PPC64.
40052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40053         multiarch implementations.
40054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40055         (__libc_ifunc_impl_list): Likewise.
40056         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40057         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40058         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40059         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40060         multiarch wcsrchr for PPC64.
40062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40063         multiarch implementations.
40064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40065         (__libc_ifunc_impl_list): Likewise.
40066         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40067         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40068         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40069         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40070         multiarch wcschr for PPC64.
40072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40073         multiarch implementations.
40074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40075         (__libc_ifunc_impl_list): Likewise.
40076         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40077         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40078         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40079         multiarch strchrnul for PPC64.
40081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40082         implementations.
40083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40084         (__libc_ifunc_impl_list): Likewise.
40085         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40086         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40087         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40088         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40089         strchr for PPC64.
40091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40092         implementations.
40093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40094         (__libc_ifunc_impl_list): Likewise.
40095         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40096         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40097         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40098         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40099         strncmp for PPC64.
40101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40102         multiarch implementations.
40103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40104         (__libc_ifunc_impl_list): Likewise.
40105         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40106         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40107         strncasecmp for PPC64.
40108         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40109         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40110         multiarch strncasecmp_l for PPC64.
40112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40113         multiarch implementations.
40114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40115         (__libc_ifunc_impl_list): Likewise.
40116         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40117         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40118         multiarch strcasecmp for PPC64.
40119         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40120         file.
40121         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40122         multiarch strcasecmp_l for PPC64.
40124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40125         implementations.
40126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40127         (__libc_ifunc_impl_list): Likewise.
40128         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40129         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40130         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40131         strnlen for PPC64.
40133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40134         implementations.
40135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40136         (__libc_ifunc_impl_list): Likewise.
40137         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40138         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40139         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40140         strlen for PPC64.
40142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40143         implementations.
40144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40145         (__libc_ifunc_impl_list): Likewise.
40146         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40147         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40148         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40149         rawmemrchr for PPC64.
40151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40152         implementation.
40153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40154         (__libc_ifunc_impl_list): Likewise.
40155         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40156         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40157         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40158         memrchr for PPC64.
40160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40161         implementation.
40162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40163         (__libc_ifunc_impl_list): Likewise.
40164         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40165         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40166         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40167         memchr for PPC64.
40169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40170         implementation.
40171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40172         (__libc_ifunc_impl_list): Likewise.
40173         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40174         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40175         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40176         mempcpy for PPC64.
40178         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40179         avoid cretion of __bzero symbol.
40180         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40181         Likewise.
40182         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40183         Likewise.
40184         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40185         Likewise.
40186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40187         multiarch implementations.
40188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40189         (__libc_ifunc_impl_list): Likewise.
40190         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40191         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40192         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40193         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40194         bzero for PPC32.
40195         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40196         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40197         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40198         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40199         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40200         memset for PPC64.
40201         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40203         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40205         implementations.
40206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40207         (__libc_ifunc_impl_list): Likewise.
40208         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40209         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40210         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40211         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40212         memcmp for PPC64.
40214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40215         multiarch for POWER/PPC64.
40216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40217         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40218         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40219         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40220         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40221         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40222         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40223         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40224         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40225         memcpy for PPC64.
40227         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40228         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40229         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40230         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40231         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40232         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40233         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40234         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40235         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40236         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40237         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40238         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40239         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40240         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40241         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40250 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40252         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40254 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40256         * benchtests/Makefile (bench): Add exp2 and log2.
40257         (LDLIBS-bench-exp2): Add -lm.
40258         (LDLIBS-bench-log2): Likewise.
40259         * benchtests/exp2-inputs: New inputs file.
40260         * benchtests/log2-inputs: New inputs file.
40261         * benchtests/log-inputs: Add new inputs.
40262         * benchtests/tan-inputs: Likewise.
40264 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40266         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40267         definition...
40268         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40269         (csloww2): ... from here.
40271         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40272         instead of structures.
40273         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40274         (POLYNOMIAL): Likewise.
40275         (TAYLOR_SLOW): Likewise.
40276         (__sin): Likewise.
40277         (__cos): Likewise.
40278         (slow1): Likewise.
40279         (slow2): Likewise.
40280         (sloww): Likewise.
40281         (sloww1); Likewise.
40282         (sloww2): Likewise.
40283         (bsloww1): Likewise.
40284         (bsloww2): Likewise.
40285         (cslow2): Likewise.
40286         (csloww): Likewise.
40287         (csloww1): Likewise.
40288         (csloww2): Likewise.
40290 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40292         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40293         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40294         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40295         * malloc/hooks.c (realloc_check): Likewise.
40297         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40298         * malloc/arena.c: Remove PER_THREAD conditional.
40299         [!PER_THREAD]: Remove code.
40300         (ptmalloc_unlock_all2): Likewise.
40301         (ptmalloc_init): Likewise.
40302         (_int_new_arena): Likewise.
40303         (arena_get2): Likewise.
40304         * malloc/hooks.c (__malloc_get_state): Likewise.
40305         (__malloc_set_state): Likewise.
40306         * malloc/malloc.c: Likewise.
40307         (struct malloc_state): Likewise.
40308         (struct malloc_par): Likewise.
40309         (__libc_realloc): Likewise.
40310         (__libc_mallopt): Likewise.
40312 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40314         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40316 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
40318         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40319         macro to a function.  Check for zero perturb_byte.
40320         (_int_malloc, _int_free): Remove zero perturb_byte checks.
40322         * malloc/malloc.c: (force_reg): Remove.
40323         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40324         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40325         force_reg by atomic_forced_read.
40326         * malloc/arena.c (ptmalloc_init): Likewise.
40327         * malloc/hooks.c (top_check): Likewise.
40329 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40333 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
40335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40337 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
40339         * math/auto-libm-test-in: Add tests of lgamma.
40340         * math/auto-libm-test-out: Regenerated.
40341         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40342         (M_LOG_2_SQRT_PIl): Likewise.
40343         (lgamma_test_data): Use AUTO_TESTS_f_f1.
40344         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40345         mpfr_f_f1.
40346         (func_calc_desc): Add mpfr_f_f1 union field.
40347         (ARGS1): New macro.
40348         (ARGS2): Likewise.
40349         (ARGS3): Likewise.
40350         (ARGS4): Likewise.
40351         (RET1): Likewise.
40352         (RET2): Likewise.
40353         (CALC): Likewise.
40354         (FUNC): Likewise.
40355         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40356         (test_functions): Add lgamma.
40357         (calc_generic_results): Handle mpfr_f_f1.
40358         * sysdeps/i386/fpu/libm-test-ulps: Update.
40359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40361 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40363         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40364         __mpn_add_n for PowerPC64/POWER7.
40365         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40366         __mpn_sub_n for PowerPC64/POWER7.
40368         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40369         __mpn_addmul_1 for PowerPC64.
40370         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40371         __mpn_submul_1 for PowerPC64.
40372         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40373         for PowerPC64.
40374         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40375         for PowerPC64.
40377 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40379         [BZ #15089]
40380         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40382 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40384         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40386         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40387         add multiarch folders.
40388         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40389         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40390         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40391         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40392         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40393         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40394         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40395         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40396         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40397         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40398         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40407         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40409         New file.
40410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40411         New file.
40412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40413         multiarch __ieee754_hypot for PowerPC32.
40414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40415         New file.
40416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40417         New file.
40418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40419         multiarch __ieee754_hypotf for PowerPC32.
40421         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40422         long_double_symbol only if __logbl is defined.
40423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40424         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40425         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40426         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40427         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40428         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40429         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40430         path for implementation.
40431         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40432         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40434         logb, and logbl multiarch implementations for PowerPC32.
40435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40436         file.
40437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40438         file.
40439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40440         multiarch logb for PowerPC32.
40441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40442         file.
40443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40444         file.
40445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40446         multiarch logbf for PowerPC32.
40447         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40449         file.
40450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40451         multiarch logbl implementation for PowerPC32.
40453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40454         and modff multiarch implementations.
40455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40456         New file.
40457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40458         New file.
40459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40460         multiarch modf for PowerPC32.
40461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40462         New file.
40463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40464         New file.
40465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40466         multiarch modff for PowerPC32.
40468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40469         and lrintf multiarch implementations.
40470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40471         New file.
40472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40473         New file.
40474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40475         multiarch lrint for PowerPC32.
40476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40477         file: multiarch lrintf for PowerPC32.
40479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40480         and lroundf multiarch implementations.
40481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40482         New file.
40483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40484         New file.
40485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40486         New file.
40487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40488         multiarch lround for PowerPC32.
40489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40490         file: multiarch lroundf for PowerPC32.
40492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40493         copysign and copysignf multiarch implementations.
40494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40495         New file.
40496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40497         New file.
40498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40499         file: multiarch copysign for PowerPC32.
40500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40501         file: multiarch copysignf for PowerPC32.
40503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40504         and truncf multiarch implementations.
40505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40506         New file.
40507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40508         file.
40509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40510         multiarch trunc for PowerPC32.
40511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40512         New file.
40513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40514         New file.
40515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40516         multiarch truncf for PowerPC32.
40518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40519         and roundf multiarch implementations.
40520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40521         New file.
40522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40523         file.
40524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40525         multiarch round for PowerPC32.
40526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40527         New file.
40528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40529         New file.
40530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40531         multiarch roundf for PowerPC32.
40533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40534         and floorf multiarch implementations.
40535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40536         New file.
40537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40538         file.
40539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40540         multiarch floor for PowerPC32.
40541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40542         New file.
40543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40544         New file.
40545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40546         multiarch floorf for PowerPC32.
40548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40549         and ceilf multiarch implementations.
40550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40551         New file.
40552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40553         file.
40554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40555         multiarch ceil for PowerPC32.
40556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40557         New file.
40558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40559         file.
40560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40561         multiarch ceilf for PowerPC32.
40563         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40564         is defined.
40565         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40566         FINITEF is defined.
40567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40568         and finitef multiarch implementations.
40569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40570         New file.
40571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40572         file.
40573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40574         multiarch finite for PowerPC32.
40575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40576         New file.
40577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40578         file: multiarch finitef for PowerPC32.
40580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40581         and isinff multiarch implementations.
40582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40583         file.
40584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40585         file.
40586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40587         multiarch isinf for PowerPC32.
40588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40589         New file.
40590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40591         multiarch isinff for PowerPC32.
40593         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40594         alias when __isnan is defined.
40595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40596         and isnanf multiarch implementations.
40597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40598         file.
40599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40600         file.
40601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40602         file.
40603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40604         file.
40605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40606         multiarch isnan for PowerPC32.
40607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40608         New file.
40609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40610         New file.
40611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40612         multiarch isnanf for PowerPC32.
40614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40615         and sqrtf multiarch implementations.
40616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40617         file.
40618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40619         file.
40620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40621         multiarch sqrt for PowerPC32.
40622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40623         file.
40624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40625         file.
40626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40627         multiarch sqrtf for PowerPC32.
40629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40630         and llroundf multiarch implementations.
40631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40632         New file.
40633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40634         New file.
40635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40636         New file.
40637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40638         file: multiarch llround for PowerPC32.
40639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40640         file: multiarch llroundf for PowerPC32.
40642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40643         multiarch PowerPC32 fpu implementations.
40644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40645         New file.
40646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40647         New file.
40648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40649         multiarch llrint for PowerPC32.
40650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40651         New file.
40652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40653         New file.
40654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40655         file.
40657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40659         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40660         file.
40661         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40662         file.
40663         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40664         file.
40665         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40666         multiarch wordcopy for PPC32.
40667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40668         wordcopy objects.
40669         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40670         (__libc_ifunc_impl_list): Likewise.
40671         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40672         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40673         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40674         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40675         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40676         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40678         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40680         file.
40681         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40682         file.
40683         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40684         file.
40685         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40686         multiarch wcscpy for PPC32.
40687         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40688         multiarch objects.
40689         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40690         (__libc_ifunc_impl_list): Likewise.
40691         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40692         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40693         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40694         sysdeps/powerpc/power6/wcscpy.c.
40696         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40697         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40698         file.
40699         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40700         file.
40701         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40702         file.
40703         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40704         multiarch wcsrchr for PPC32.
40705         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40706         multiarch objects.
40707         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40708         (__libc_ifunc_impl_list): Likewise.
40709         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40710         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40711         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40712         sysdeps/powerpc/power6/wcsrchr.c.
40714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40715         file.
40716         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40717         file.
40718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40719         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40720         multiarch wcschr for PPc32.
40721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40722         multiarch objects.
40723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40724         (__libc_ifunc_impl_list): Likewise.
40725         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40726         * sysdeps/powerpc/power6/wcschr.c: ... to here.
40727         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40728         sysdeps/powerpc/power6/wcschr.c.
40730         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40731         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40732         file.
40733         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40734         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40735         file: multiarch strchr for PPC32.
40736         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
40737         multiarch objects.
40738         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40739         (__libc_ifunc_impl_list): Likewise.
40741         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
40742         name.
40743         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
40744         file.
40745         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
40746         file.
40747         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
40748         multiarch strchrnul for PPC32.
40749         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
40750         multiarch objects.
40751         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40752         (__libc_ifunc_impl_list): Likewise.
40754         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
40755         file.
40756         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
40757         multiarch strncasecmp for PPC32.
40758         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
40759         file.
40760         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
40761         multiarch strncasecmp_l for PPC32.
40762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
40763         strncasecmp multiarch objects.
40764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40765         (__libc_ifunc_impl_list): Likewise.
40767         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
40768         file.
40769         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
40770         multiarch strncasecmp for PPC32.
40771         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40772         New file.
40773         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
40774         multiarch strcasecmp_l for PPC32.
40775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
40776         multiarch objects.
40777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40778         (__libc_ifunc_impl_list): Likewise.
40780         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
40781         file.
40782         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
40783         file.
40784         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
40785         multiarch strncmp for PPC32.
40786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
40787         multiarch objects.
40788         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40789         (__libc_ifunc_impl_list): Likewise.
40791         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
40792         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
40793         file.
40794         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
40795         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
40796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
40797         multiarch objects.
40798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40799         (__libc_ifunc_impl_list): Likewise.
40801         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
40802         file.
40803         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
40804         file.
40805         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
40806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
40807         multiarch objects.
40808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40809         (__libc_ifunc_impl_list): Likewise.
40811         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
40812         file.
40813         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
40814         file.
40815         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
40816         multiarch rawmemchr for PPC32.
40817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
40818         multiarch objects.
40819         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40820         (__libc_ifunc_impl_list): Likewise.
40822         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
40823         file.
40824         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
40825         file.
40826         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
40827         file: memrchr multiarch for PPC32.
40828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
40829         multiarch objects.
40830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40831         (__libc_ifunc_impl_list): Likewise.
40833         * string/memchr.c (__memchr): Using macro to redefine symbol name.
40834         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
40835         file.
40836         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
40837         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
40838         multiarch memchr for PPC32.
40839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
40840         multiarch objects.
40841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40842         (__libc_ifunc_impl_list): Likewise.
40844         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
40845         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
40846         file.
40847         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
40848         file.
40849         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
40850         file: multiarch mempcpy for PPC32.
40851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
40852         multiarch objects.
40853         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40854         (__libc_ifunc_impl_list): Likewise.
40856         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
40857         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
40858         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
40859         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
40860         multiarch bzero for PPC32.
40861         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
40862         file.
40863         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
40864         file.
40865         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
40866         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
40867         file: multiarch memset for PPC32.
40868         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
40869         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
40870         memset multiarch objects.
40871         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40872         (__libc_ifunc_impl_list): Likewise.
40874         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
40875         file.
40876         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40877         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
40878         memcmp for PPC32.
40879         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
40880         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
40881         multiarch objects.
40882         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40883         (__libc_ifunc_impl_list): Likewise.
40885         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
40886         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
40887         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
40888         file.
40889         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
40890         file.
40891         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
40892         file.
40893         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
40894         multiarch memcpy for PPC32.
40895         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
40896         multiarch objects.
40897         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40898         (__libc_ifunc_impl_list): Likewise.
40900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
40901         support multiarch for POWER/PPC32.
40902         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
40903         Likewise.
40904         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
40906         Implies file to make multiarch folder appers before the fpu and
40907         default folder for power4 configuration.
40909 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40911         * scripts/bench.pl: Append volatile keyword to type.
40913 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40915         * sysdeps/sh/sotruss-lib.c: New file.
40916         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
40918 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40922 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
40924         [BZ #6810]
40925         * math/w_tgamma.c: Include <errno.h>.
40926         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
40927         * math/w_tgammaf.c: Include <errno.h>.
40928         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
40929         * math/w_tgammal.c: Include <errno.h>.
40930         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
40931         * math/auto-libm-test-in: Do not allow missing errno on tgamma
40932         underflow.  Add more tgamma tests.
40933         * math/auto-libm-test-out: Regenerated.
40934         * sysdeps/i386/fpu/libm-test-ulps: Update.
40935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40937         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
40938         sin, sinh, tan, tanh, tgamma, y0 and y1.
40939         * math/auto-libm-test-out: Regenerated.
40940         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40941         (TEST_COND_x86): Likewise.
40942         (M_E2l): Remove macro.
40943         (M_E3l): Likewise.
40944         (M_2_SQRT_PIl): Likewise.
40945         (M_SQRT_PIl): Likewise.
40946         (M_1_DIV_El): Likewise.
40947         (log_test_data): Use AUTO_TESTS_f_f.
40948         (log10_test_data): Likewise.
40949         (log1p_test_data): Likewise.
40950         (log2_test_data): Likewise.
40951         (sin_test_data): Likewise.
40952         (sin_tonearest_test_data): Likewise.
40953         (sin_towardzero_test_data): Likewise.
40954         (sin_downward_test_data): Likewise.
40955         (sin_upward_test_data): Likewise.
40956         (sinh_test_data): Likewise.
40957         (sinh_tonearest_test_data): Likewise.
40958         (sinh_towardzero_test_data): Likewise.
40959         (sinh_downward_test_data): Likewise.
40960         (sinh_upward_test_data): Likewise.
40961         (tan_test_data): Likewise.
40962         (tan_tonearest_test_data): Likewise.
40963         (tan_towardzero_test_data): Likewise.
40964         (tan_downward_test_data): Likewise.
40965         (tan_upward_test_data): Likewise.
40966         (tanh_test_data): Likewise.
40967         (tgamma_test_data): Likewise.
40968         (y0_test_data): Likewise.
40969         (y1_test_data): Likewise.
40970         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40971         (special_real_inputs): Add pi/4.
40972         * sysdeps/i386/fpu/libm-test-ulps: Update.
40973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40975 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40977         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40978         "longjmp_target" static probes.
40979         (__longjmp): Rename to __longjmp_symbol.
40980         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40981         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40982         on which longjmp to generate.
40983         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40984         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40985         probe.
40986         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40987         (__sigjmp_save): Rename to __sigjmp_save_symbol.
40988         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40989         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40990         and __sigjmp_save_symbol based on which sigsetjmp to generated.
40991         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40993         __longjmp_symbol based on which __longjmp to generate.
40994         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40995         probe.
40996         (setjmp): Rename to setjmp_symbol.
40997         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40998         (_setjmp): Rename to _setjmp_symbol.
40999         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41000         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41001         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41002         which setjmp to generate.
41003         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41004         "longjmp_target" static probes.
41006 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41008         * benchtests/README: Add note about output arguments.
41009         * benchtests/bench-sincos.c: Remove file.
41010         * benchtests/sincos-inputs: New file.
41011         * scripts/bench.pl: Identify output arguments and define
41012         static variables for them.
41014         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41016         [BZ #15941]
41017         * Makefile (INSTALL): Add install-plain.texi as the primary
41018         dependency.
41019         * manual/install-plain.texi: New file.
41020         * manual/install.texi: Include node directive only for
41021         non-plaintext output.
41023 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41025         * stdlib/longlong.h: Update from GCC.
41027         [BZ #6807]
41028         [BZ #15901]
41029         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41030         * math/w_j0f.c (y0f): Likewise.
41031         * math/w_j0l.c (__y0l): Likewise.
41032         * math/w_j1.c (y1): Likewise.
41033         * math/w_j1f.c (y1f): Likewise.
41034         * math/w_j1l.c (__y1l): Likewise.
41035         * math/w_jn.c (yn): Likewise.
41036         * math/w_jnf.c (ynf): Likewise.
41037         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41038         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41039         value for Bessel function domain errors outside _SVID_ mode.
41040         Adjust sign of return value for yn (negative integer, 0).
41041         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41042         by zero in return for negative x and set sign appropriately for
41043         negative n.
41044         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41045         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41046         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41047         expectations in error cases.
41048         (y1_test_data): Likewise.
41049         (yn_test_data): Likewise.
41050         * sysdeps/i386/fpu/libm-test-ulps: Update.
41051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41053 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41055         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41056         "64" to "64-v1".  Add "64-v2".
41057         (abi-64-options): Rename to ...
41058         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41059         (abi-64-condition): Rename to ...
41060         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41061         (abi-64-ld-soname): Rename to ...
41062         (abi-64-v1-ld-soname): ... this.
41063         (abi-64-v2-options): Define.
41064         (abi-64-v2-condition): Likewise.
41065         (abi-64-v2-ld-soname): Likewise.
41066         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41067         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41072 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41073             Alan Modra  <amodra@gmail.com>
41075         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41076         New versions for use with the ELFv2 ABI.
41077         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41078         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41079         declaration.
41080         (struct La_ppc64v2_retval): Likewise.
41081         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41082         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41083         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41084         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41085         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41086         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41087         Do not save or restore CR.
41088         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41089         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41090         return values for ELFv2 ABI.  Fix location of FPR return registers.
41091         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41092         updated values for _CALL_ELF == 2.
41093         (La_regs, La_retval, int_retval): Likewise.
41095 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41097         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41098         (FRAME_MIN_SIZE_PARM): Likewise.
41099         (FRAME_BACKCHAIN): Likewise.
41100         (FRAME_CR_SAVE): Likewise.
41101         (FRAME_LR_SAVE): Likewise.
41102         (FRAME_TOC_SAVE): Likewise.
41103         (FRAME_PARM_SAVE): Likewise.
41104         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41105         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41106         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41107         (call_mcount_parm_offset): New macro.
41108         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41109         (PROF): Use symbolic stack frame offsets.
41110         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41111         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41112         Redefine in terms of FRAME_MIN_SIZE.
41113         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41114         (_dl_profile_resolve): Likewise.  Update comment.
41115         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41116         symbols stack frame offsets.
41117         (__sigsetjmp): Likewise.
41118         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41119         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41120         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41121         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41124         (FRAME_BACKCHAIN): Remove.
41125         (FRAME_CR_SAVE): Likewise.
41126         (FRAME_LR_SAVE): Likewise.
41127         (FRAME_COMPILER_DW): Likewise.
41128         (FRAME_LINKER_DW): Likewise.
41129         (FRAME_TOC_SAVE): Likewise.
41130         (FRAME_PARM_SAVE): Likewise.
41131         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41132         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41133         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41135         (CHECK_SP): Use symbolic stack frame offsets.
41136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41137         zone" instead of caller's parameter save area for temp storage.
41138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41139         Likewise.  Also, use symbolic stack frame offsets.
41140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41141         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41142         our own stack frame instead of the caller's.
41143         (__socket): Use symbolic stack frame offsets.
41145 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41146             Alan Modra  <amodra@gmail.com>
41148         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41149         Define.
41150         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41151         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41152         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41153         New function.
41154         (elf_machine_fixup_plt): Call it.
41155         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41156         reloc arguments.
41157         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41158         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41159         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41160         r2 before calling target.
41162 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41163             Alan Modra  <amodra@gmail.com>
41165         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41166         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41167         versions of macros to support ELFv2 ABI.
41168         (LOCALENTRY): New macro.
41169         (ENTRY, EALIGN): Use it.
41170         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41171         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41172         fall through into ENTRY entry point.
41173         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41174         Only define if _CALL_ELF != 2.
41176         (elf_machine_matches_host): Verify ABI version matches.
41177         (RTLD_START): Use LOCALENTRY.
41178         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41179         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41180         (PLT_ENTRY_WORDS): New macro.
41181         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41182         (elf_machine_runtime_setup): Support ELFv2 ABI.
41183         (elf_machine_fixup_plt): Likewise.
41184         (elf_machine_plt_conflict): Likewise.
41185         (resolve_ifunc): Likewise.
41186         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41187         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41188         Likewise.
41189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41190         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41192         (makecontext): Support ELFv2 ABI.
41193         * elf/elf.h (EF_PPC64_ABI): Define.
41195 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41197         * sysdeps/powerpc/powerpc64/sysdep.h
41198         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41199         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41200         (ENTRY) [ASSEMBLER]: ... but instead here ...
41201         (EALIGN) [ASSEMBLER]: ... and here.
41202         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41203         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41204         (ENTRY_2) [!ASSEMBLER]: Use it.
41205         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41206         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41207         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41208         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41209         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41211         Use PPC64_LOAD_FUNCPTR.
41213         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41215 2013-12-04  Alan Modra  <amodra@gmail.com>
41217         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41218         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41219         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41220         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41222         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41223         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41224         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41225         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41226         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41227         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41229 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41232         (__makecontext): Fix incorrect CFI when backtracing out of
41233         context created via makecontext.
41234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41235         (__setcontext): Fix incorrect CFI during switch to new context.
41236         (__novec_setcontext): Likewise.
41238 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41240         [BZ #4772]
41241         * time/strptime_l.c (__strptime_internal): Allow modifiers
41242         in strptime.
41243         * time/tst-strptime.c (day_tests): Add testcase.
41245 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41247         * scripts/bench.pl: Skip over blank lines.
41249 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41251         [BZ #926]
41252         * manual/time.texi (Calendar Time): Clarify what timezone functions
41253         use.
41255 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41259 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41261         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41262         implementation.
41263         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41264         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41265         * debug/memset_chk.c (__memset_chk): Likewise.
41266         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41267         * debug/strncpy_chk.c: Likewise.
41269 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41271         [BZ #15268]
41272         [BZ #15425]
41273         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41274         (__ieee754_exp): For possibly underflowing results, check size of
41275         result and force underflow exception if required.
41276         * math/auto-libm-test-in: Add more tests of exp.
41277         * math/auto-libm-test-out: Regenerated.
41278         * sysdeps/i386/fpu/libm-test-ulps: Update.
41279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41281         [BZ #16283]
41282         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41283         * math/w_exp2f.c (__exp2f): Likewise.
41284         * math/w_exp2l.c (__exp2l): Likewise.
41285         * math/auto-libm-test-in: Do not allow missing errno on exp2
41286         underflow.
41287         * math/auto-libm-test-out: Regenerated.
41289 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41291         [BZ #16274]
41292         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41293         handle filename validation.
41294         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41295         (do_open): Delete.
41297 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41299         [BZ #6786]
41300         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41301         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41302         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41303         <float.h>.
41304         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41305         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41306         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41307         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41308         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41309         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41310         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41311         * math/auto-libm-test-in: Don't allow missing errno from erfc.
41312         Add more erfc tests.
41313         * math/auto-libm-test-out: Regenerated.
41314         * sysdeps/i386/fpu/libm-test-ulps: Update.
41315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41317         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41318         exp2, expm1, j0 and j1.
41319         * math/auto-libm-test-out: Regenerated.
41320         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41321         (erfc_test_data): Likewise.
41322         (exp_test_data): Likewise.
41323         (exp_tonearest_test_data): Likewise.
41324         (exp_towardzero_test_data): Likewise.
41325         (exp_downward_test_data): Likewise.
41326         (exp_upward_test_data): Likewise.
41327         (exp10_test_data): Likewise.
41328         (exp2_test_data): Likewise.
41329         (expm1_test_data): Likewise.
41330         (j0_test_data): Likewise.
41331         (j1_test_data): Likewise.
41332         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41333         (input_flag_type): Add flag_xfail_rounding.
41334         (input_flags): Add xfail-rounding.
41335         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41336         (output_for_one_input_case): Handle flag_xfail_rounding.
41337         * sysdeps/i386/fpu/libm-test-ulps: Update.
41338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41340 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
41342         [BZ #16289]
41343         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41344         division by 0.
41346 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41348         [BZ #16195]
41349         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41350         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41351         (STAP_PROBE0): New macro.
41352         (STAP_PROBE1): Likewise.
41353         (STAP_PROBE2): Likewise.
41354         (STAP_PROBE3): Likewise.
41355         (STAP_PROBE4): Likewise.
41357 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
41359         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41361 2013-12-02  Steve Ellcey  <sellcey@mips.com>
41363         * benchtests/Makefile (bench): Add sqrt.
41364         (LDLIBS-bench-sqrt): New.
41365         * benchtests/sqrt-input: New.
41367 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
41369         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41370         (GAIH_EAI): Likewise.
41371         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41372         (gaih_inet): Likewise.
41373         (getaddrinfo): Don't use GAIH_EAI.
41375         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41376         (struct gaih): Remove definition.
41378 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41380         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41381         Use HERRNOP directly.
41383 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41387 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41389         * math/gen-auto-libm-tests.c (test_functions): Add more
41390         single-argument functions.
41391         (special_fill_pi_2): New function.
41392         (special_fill_minus_pi_2): Likewise.
41393         (special_fill_pi_6): Likewise.
41394         (special_fill_minus_pi_6): Likewise.
41395         (special_fill_pi_3): Likewise.
41396         (special_fill_2pi_3): Likewise.
41397         (special_fill_e): Likewise.
41398         (special_fill_1_e): Likewise.
41399         (special_fill_e_minus_1): Likewise.
41400         (special_real_inputs): Add more special inputs.
41401         (output_for_one_input_case): Do not require ERANGE on underflow to
41402         zero if round-to-nearest result does not underflow to zero, unless
41403         exact results required.
41404         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41405         atan, atanh, cbrt, cos and cosh.
41406         * math/auto-libm-test-out: Regenerated.
41407         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41408         (acos_tonearest_test_data): Likewise.
41409         (acos_towardzero_test_data): Likewise.
41410         (acos_downward_test_data): Likewise.
41411         (acos_upward_test_data): Likewise.
41412         (acosh_test_data): Likewise.
41413         (asin_test_data): Likewise.
41414         (asin_tonearest_test_data): Likewise.
41415         (asin_towardzero_test_data): Likewise.
41416         (asin_upward_test_data): Likewise.
41417         (asinh_test_data): Likewise.
41418         (atan_test_data): Likewise.
41419         (atanh_test_data): Likewise.
41420         (cbrt_test_data): Likewise.
41421         (cos_test_data): Likewise.
41422         (cos_tonearest_test_data): Likewise.
41423         (cos_towardzero_test_data): Likewise.
41424         (cos_downward_test_data): Likewise.
41425         (cos_upward_test_data): Likewise.
41426         (cosh_test_data): Likewise.
41427         (cosh_tonearest_test_data): Likewise.
41428         (cosh_towardzero_test_data): Likewise.
41429         (cosh_downward_test_data): Likewise.
41430         (cosh_upward_test_data): Likewise.
41431         * sysdeps/i386/fpu/libm-test-ulps: Update.
41432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41434 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41436         [BZ #6787]
41437         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41438         * math/w_exp10f.c (__exp10f): Likewise.
41439         * math/w_exp10l.c (__exp10l): Likewise.
41440         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41441         errno settings in existing tests.
41443         [BZ #14032]
41444         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41445         precision control set to double precision.
41446         * sysdeps/i386/fpu/w_sqrt.c: New file.
41447         * math/auto-libm-test-in: Add more tests.
41448         * math/auto-libm-test-out: Update.
41450         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41451         (sqrt_test_tonearest): New function.
41452         (sqrt_towardzero_test_data): New variable.
41453         (sqrt_test_towardzero): New function.
41454         (sqrt_downward_test_data): New variable.
41455         (sqrt_test_downward): New function.
41456         (sqrt_upward_test_data): New variable.
41457         (sqrt_test_upward): New function.
41458         (main): Call the new functions.
41460         * math/gen-auto-libm-tests.c: New file.
41461         * math/auto-libm-test-in: Likewise.
41462         * math/auto-libm-test-out: New generated file.
41463         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41464         variables.
41465         (%beautify): Add generated representations of zero.
41466         (top level): Set $auto_input and call parse_auto_input.
41467         (beautify): Remove trailing "f" from hex float constants.
41468         (parse_args): Handle XFAIL_TEST.
41469         (convert_condition): New function.
41470         (or_value): Likewise.
41471         (or_cond_value): Likewise.
41472         (generate_testfile): Handle AUTO_TESTS_* lines.
41473         (parse_auto_input): New function.
41474         * math/libm-test.inc (XFAIL_TEST): New macro.
41475         (ERRNO_UNCHANGED): Update value.
41476         (ERRNO_EDOM): Likewise.
41477         (ERRNO_ERANGE): Likewise.
41478         (IGNORE_RESULT): Likewise.
41479         (TEST_COND_flt_32): New macro.
41480         (TEST_COND_dbl_64): Likewise.
41481         (TEST_COND_ldbl_96_intel): Likewise.
41482         (TEST_COND_ldbl_96_m68k): Likewise.
41483         (TEST_COND_ldbl_128): Likewise.
41484         (TEST_COND_ldbl_128ibm): Likewise.
41485         (TEST_COND_long32): Likewise.
41486         (TEST_COND_long64): Likewise.
41487         (TEST_COND_before_rounding): Likewise.
41488         (TEST_COND_after_rounding): Likewise.
41489         (enable_test): Handle XFAIL_TEST flag.
41490         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41491         with finite results.
41492         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41493         auto-libm-test-out.
41495 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41496             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41498         [BZ #16214]
41499         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41500         __tls_get_addr_internal instead of __tls_get_offset in order to
41501         avoid GOT pointer dependency.  Make rtld export
41502         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41503         __tls_get_addr since we are a __tls_get_offset platform.
41504         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41505         GOT pointer being set up before.
41506         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41508 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
41510         * manual/math.texi (Errors in Math Functions): Document accuracy
41511         goals.
41513         [BZ #15004]
41514         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41515         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41516         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41517         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41518         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41519         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41520         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41521         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41522         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41523         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41524         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41525         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41526         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41527         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41528         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41529         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41531         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41532         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41533         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41534         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41535         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41536         Likewise.
41537         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41538         Likewise.
41539         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41540         Likewise.
41541         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41542         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41543         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41544         atomic-feupdateenv and flt-rounds.
41545         * sysdeps/powerpc/nofpu/Versions (libc): Add
41546         __atomic_feholdexcept, __atomic_feclearexcept,
41547         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41548         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41549         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41550         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41551         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41552         here.
41553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41554         Update.
41556         * manual/arith.texi (FP Exceptions): Document that exceptions may
41557         not be raised when matherr is used.
41558         (Math Error Reporting): Document overflow in directed rounding
41559         modes.  Document that errno may not be set when finite values are
41560         returned on overflow.  Document intent to set errno on underflow
41561         only for underflow to zero.
41563         [BZ #16271]
41564         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41565         round-to-nearest then adjust result for other rounding modes.
41566         * include/fenv.h (fegetround): Use libm_hidden_proto.
41567         * math/fegetround.c (fegetround): Use libm_hidden_def.
41568         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41569         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41570         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41571         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41572         Likewise.
41573         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41574         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41575         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41576         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41578 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41580         [BZ #16077]
41581         * nss/Versions (libnss_files): Add
41582         _nss_files_gethostbyname3_r.
41583         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41584         New function.
41585         (HOST_DB_LOOKUP): Remove macro.
41586         (_nss_files_gethostbyname_r): Implement function without the
41587         HOST_DB_LOOKUP macro.
41588         (_nss_files_gethostbyname2_r): Likewise.
41590 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
41592         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41594 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
41596         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41597         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41598         warning.
41600 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41602         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41603         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41604         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41605         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41606         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41607         __fe_nomask_env_priv and attribute_hidden.
41608         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41609         (libc_feupdateenv_test_ppc): Likewise.
41610         (libc_feresetround_ppc): Likewise.
41611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41612         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41613         compat_symbol macro.
41614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41615         (__fe_nomask_env): Likewise.
41616         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41618 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41620         * string/Makefile: Remove ifunc tests.
41621         * string/test-string.h: Define TEST_IFUNC.
41622         * string/test-bcopy-ifunc.c: Remove.
41623         * string/test-bzero-ifunc.c: Likewise.
41624         * string/test-memccpy-ifunc.c: Likewise.
41625         * string/test-memchr-ifunc.c: Likewise.
41626         * string/test-memcmp-ifunc.c: Likewise.
41627         * string/test-memcpy-ifunc.c: Likewise.
41628         * string/test-memmem-ifunc.c: Likewise.
41629         * string/test-memmove-ifunc.c: Likewise.
41630         * string/test-mempcpy-ifunc.c: Likewise.
41631         * string/test-memrchr-ifunc.c: Likewise.
41632         * string/test-memset-ifunc.c: Likewise.
41633         * string/test-rawmemchr-ifunc.c: Likewise.
41634         * string/test-stpcpy-ifunc.c: Likewise.
41635         * string/test-stpncpy-ifunc.c: Likewise.
41636         * string/test-strcasecmp-ifunc.c: Likewise.
41637         * string/test-strcasestr-ifunc.c: Likewise.
41638         * string/test-strcat-ifunc.c: Likewise.
41639         * string/test-strchr-ifunc.c: Likewise.
41640         * string/test-strchrnul-ifunc.c: Likewise.
41641         * string/test-strcmp-ifunc.c: Likewise.
41642         * string/test-strcpy-ifunc.c: Likewise.
41643         * string/test-strcspn-ifunc.c: Likewise.
41644         * string/test-strlen-ifunc.c: Likewise.
41645         * string/test-strncasecmp-ifunc.c: Likewise.
41646         * string/test-strncat-ifunc.c: Likewise.
41647         * string/test-strncmp-ifunc.c: Likewise.
41648         * string/test-strncpy-ifunc.c: Likewise.
41649         * string/test-strnlen-ifunc.c: Likewise.
41650         * string/test-strpbrk-ifunc.c: Likewise.
41651         * string/test-strrchr-ifunc.c: Likewise.
41652         * string/test-strspn-ifunc.c: Likewise.
41653         * string/test-strstr-ifunc.c: Likewise.
41655 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41657         * benchtests/Makefile: Remove ifunc tests.
41658         * benchtests/bench-string.h: Define TEST_IFUNC.
41659         * benchtests/bench-bcopy-ifunc.c: Remove.
41660         * benchtests/bench-bzero-ifunc.c: Likewise.
41661         * benchtests/bench-memccpy-ifunc.c: Likewise.
41662         * benchtests/bench-memchr-ifunc.c: Likewise.
41663         * benchtests/bench-memcmp-ifunc.c: Likewise.
41664         * benchtests/bench-memcpy-ifunc.c: Likewise.
41665         * benchtests/bench-memmem-ifunc.c: Likewise.
41666         * benchtests/bench-memmove-ifunc.c: Likewise.
41667         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41668         * benchtests/bench-memrchr-ifunc.c: Likewise.
41669         * benchtests/bench-memset-ifunc.c: Likewise.
41670         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41671         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41672         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41673         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41674         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41675         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41676         * benchtests/bench-strcat-ifunc.c: Likewise.
41677         * benchtests/bench-strchr-ifunc.c: Likewise.
41678         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41679         * benchtests/bench-strcmp-ifunc.c: Likewise.
41680         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41681         * benchtests/bench-strcpy-ifunc.c: Likewise.
41682         * benchtests/bench-strcspn-ifunc.c: Likewise.
41683         * benchtests/bench-strlen-ifunc.c: Likewise.
41684         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41685         * benchtests/bench-strncat-ifunc.c: Likewise.
41686         * benchtests/bench-strncmp-ifunc.c: Likewise.
41687         * benchtests/bench-strncpy-ifunc.c: Likewise.
41688         * benchtests/bench-strnlen-ifunc.c: Likewise.
41689         * benchtests/bench-strpbrk-ifunc.c: Likewise.
41690         * benchtests/bench-strrchr-ifunc.c: Likewise.
41691         * benchtests/bench-strsep-ifunc.c: Likewise.
41692         * benchtests/bench-strspn-ifunc.c: Likewise.
41693         * benchtests/bench-strstr-ifunc.c: Likewise.
41695 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41697         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41699 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41701         * resolv/netdb.h: Use __glibc_reserved instead __unused.
41702         * rt/aio.h: Likewise.
41703         * sysdeps/gnu/bits/utmp.h: Likewise.
41704         * sysdeps/gnu/bits/utmpx.h: Likewise.
41705         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41706         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41707         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41708         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41709         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41710         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41711         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41712         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41713         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41714         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41715         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41716         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41717         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41719         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41720         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41721         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41722         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41723         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41724         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41725         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41726         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41727         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41728         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41729         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41730         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41731         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41732         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41733         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41734         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41735         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41736         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41737         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
41738         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41739         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41740         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
41741         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
41742         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
41743         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
41744         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
41745         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
41746         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41748 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
41750         [BZ #16245]
41751         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
41752         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
41754 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
41756         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
41757         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41758         Likewise.
41760 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41762         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
41763         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
41764         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
41765         (__fesetround): Remove define.
41766         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
41767         rounding and exceptions handling.
41768         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
41769         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
41770         (__fe_nomask_env): Likewise.
41771         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
41772         __fegetround instead of fegetround.
41773         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41774         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
41776 2013-11-21  Roland McGrath  <roland@hack.frob.com>
41778         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
41779         it's there.
41781         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
41783 2013-11-21  Meador Inge  <meadori@codesourcery.com>
41785         [BZ #11157]
41786         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
41787         (encrypt_r): Likewise.
41788         * malloc/obstack.h (obstack_free): Likewise.
41789         * posix/unistd.h (encrypt): Likewise.
41791 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
41793         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
41794         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
41795         DL_CALL_DT_FINI() that call the functions directly.
41796         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
41797         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
41798         * elf/dl-fini.c: Likewise.
41800 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
41802         * malloc/hooks.c (memalign_check): Add alignment rounding.
41803         * malloc/malloc.c (_mid_memalign): New function.
41804         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
41805         Implement by calling _mid_memalign.
41806         * manual/probes.texi (Memory Allocation Probes): Remove
41807         memory_valloc_retry and memory_pvalloc_retry.
41809 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41811         * locale/programs/locarchive.c (open_archive): Add const
41812         qualifier to ARCHIVEFNAME and copy default fname to
41813         DEFAULT_FNAME.
41815         [BZ #15601]
41816         * libio/tst-widetext.input: Rename Oriya to Odia.
41817         * locale/iso-639.def: Likewise.
41819         * manual/probes.texi (Mathematical Function Probes): Add
41820         documentation for sin, cos, asin and acos probes.
41821         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
41822         (__sin32): Add slowasin probe.
41823         (__cos32): Add slowacos probe.
41824         (__mpsin): Add slowsin probe.
41825         (__mpcos): Add slowcos probe.
41827 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
41829         [BZ #15483]
41830         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
41831         thread-local __sim_exceptions_thread and global
41832         __sim_exceptions_global.
41833         (__sim_disabled_exceptions): Change to thread-local
41834         __sim_disabled_exceptions_thread and global
41835         __sim_disabled_exceptions_global.
41836         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41837         and global __sim_round_mode_global.
41838         (__simulate_exceptions): Use thread-local floating-point state and
41839         set global state from it as needed.
41840         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
41841         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
41842         __sim_round_mode_thread.
41843         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
41844         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
41845         and global __sim_exceptions_global.
41846         (__sim_disabled_exceptions): Change to thread-local
41847         __sim_disabled_exceptions_thread and global
41848         __sim_disabled_exceptions_global.
41849         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41850         and global __sim_round_mode_global.
41851         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
41852         (SIM_SET_GLOBAL): Likewise.
41853         * sysdeps/powerpc/soft-fp/sfp-machine.h
41854         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
41855         __sim_round_mode_thread.
41856         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
41857         __sim_disabled_exceptions_thread.
41858         (__sim_exceptions): Change to __sim_exceptions_thread.
41859         (__sim_disabled_exceptions): Change to
41860         __sim_disabled_exceptions_thread.
41861         (__sim_round_mode): Change to __sim_round_mode_thread.
41862         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
41863         thread-local floating-point state and set global state from it as
41864         needed.
41865         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
41866         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
41867         (__sim_disabled_exceptions): Remove extern declaration.
41868         (feenableexcept): Use thread-local floating-point state and set
41869         global state from it as needed.
41870         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
41871         extern declaration.
41872         (__sim_disabled_exceptions): Likewise.
41873         (__sim_round_mode): Likewise.
41874         (__fegetenv): Use thread-local floating-point state.
41875         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
41876         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41877         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
41878         floating-point state and set global state from it as needed.
41879         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
41880         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41881         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
41882         Likewise.
41883         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41884         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
41885         Likewise.
41886         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
41887         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
41888         Use __sim_round_mode_thread.
41889         * math/test-fenv-tls.c: New file.
41890         * math/Makefile (tests): Add test-fenv-tls.
41891         ($(objpfx)test-fenv-tls): Depend on
41892         $(common-objpfx)nptl/libpthread.so.
41894 2013-11-19  Andreas Schwab  <schwab@suse.de>
41896         * locale/programs/locale.c (show_info): Decode wordarray elements.
41897         * locale/categories.def (LC_MONETARY): Add element for
41898         _NL_MONETARY_CRNCYSTR.
41899         * locale/C-monetary.c (conversion_rate): New variable.
41900         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
41901         element.
41903 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
41905         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
41906         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
41908 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41910         * elf/Makefile (tst-auxv): New test.
41911         * elf/tst-auxv.c: New
41912         * elf/rtld.c (dl_main): Adjust AT_EXECFN
41914 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
41916         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
41917         (hidden_proto): Caller changed.
41918         (hidden_tls_proto): New macro.
41919         (libc_hidden_tls_proto): Likewise.
41920         (rtld_hidden_tls_proto): Likewise.
41921         (libm_hidden_tls_proto): Likewise.
41922         (libresolv_hidden_tls_proto): Likewise.
41923         (librt_hidden_tls_proto): Likewise.
41924         (libdl_hidden_tls_proto): Likewise.
41925         (libnss_files_hidden_tls_proto): Likewise.
41926         (libnsl_hidden_tls_proto): Likewise.
41927         (libnss_nisplus_hidden_tls_proto): Likewise.
41928         (libutil_hidden_tls_proto): Likewise.
41930 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
41932         [BZ #10253]
41933         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41934         (decompose_rpath): Defer expansion to fillin_rpath.
41935         (_dl_init_paths): Pass linkmap to fillin_rpath.
41937 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41939         * benchtests/Makefile: Add strsep.
41940         * benchtests/bench-strsep.c: New file: strsep benchtest.
41941         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41943 2013-11-18  Andreas Schwab  <schwab@suse.de>
41945         * locale/programs/locale.c (show_info) [case byte]: Check for
41946         '\377' instead of '\177'.
41947         * locale/C-monetary.c (not_available): Always use "\377".
41948         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41949         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
41950         detect unavailable sign_posn locale elements.
41951         * locale/localeconv.c (__localeconv): For grouping and
41952         mon_grouping handle "\177" and "\377" like no grouping.
41953         (INT_ELEM): New macro.  Use it to set all numeric members.
41954         * locale/programs/ld-monetary.c (monetary_read)
41955         <tok_mon_grouping>: Normalize single -1 to the empty string.
41956         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41957         Likewise.
41959 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41961         [BZ #16055]
41962         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41963         when we match (nil).
41964         * stdio-common/tst-sscanf.c (struct test): Add testcase.
41966 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
41968         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41969         (NO_TEST_INLINE): Update value.
41970         (ERRNO_UNCHANGED): Likewise.
41971         (ERRNO_EDOM): Likewise.
41972         (ERRNO_ERANGE): Likewise.
41973         (IGNORE_RESULT): Likewise.
41974         (check_float_internal): Check signs of NaN results if
41975         TEST_NAN_SIGN used.
41976         (check_complex): Pass TEST_NAN_SIGN flag through to second
41977         check_float_internal call.
41978         (copysign_test_data): Add tests with quiet NaNs as second
41979         argument.  Use TEST_NAN_SIGN.
41980         (fabs_test_data): Add test of negative quiet NaN argument.  Use
41981         TEST_NAN_SIGN.
41982         (signbit_test_data): Add tests of quiet NaN argument.
41983         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41985         * math/gen-libm-test.pl (show_exceptions): Take extra argument
41986         $ignore_result.
41987         (parse_args): Handle function results specified as IGNORE.
41988         * math/libm-test.inc (IGNORE_RESULT): New macro.
41989         (check_float_internal): Do not check numerical result if flag
41990         IGNORE_RESULT set.
41991         (check_complex): Pass through IGNORE_RESULT to second
41992         check_float_internal call.
41993         (check_int): Do not check numerical result if flag IGNORE_RESULT
41994         set.
41995         (check_long): Likewise.
41996         (check_bool): Likewise.
41997         (check_longlong): Likewise.
41998         (lrint_test_data): Add tests of infinite and NaN arguments.
41999         (lrint_tonearest_test_data): Likewise.
42000         (lrint_towardzero_test_data): Likewise.
42001         (lrint_downward_test_data): Likewise.
42002         (lrint_upward_test_data): Likewise.
42003         (llrint_test_data): Likewise.
42004         (llrint_tonearest_test_data): Likewise.
42005         (llrint_towardzero_test_data): Likewise.
42006         (llrint_downward_test_data): Likewise.
42007         (llrint_upward_test_data): Likewise.
42008         (lround_test_data): Likewise.
42009         (llround_test_data): Likewise.
42011         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42012         (ERRNO_UNCHANGED): Update value.
42013         (ERRNO_EDOM): Likewise.
42014         (ERRNO_ERANGE): Likewise.
42015         (NO_TEST_INLINE_FLOAT): New macro.
42016         (NO_TEST_INLINE_DOUBLE): Likewise.
42017         (enable_test): New function.
42018         (RUN_TEST_f_f): Check enable_test before running test.
42019         (RUN_TEST_2_f): Likewise.
42020         (RUN_TEST_fff_f): Likewise.
42021         (RUN_TEST_c_f): Likewise.
42022         (RUN_TEST_f_f1): Likewise.
42023         (RUN_TEST_fF_f1): Likewise.
42024         (RUN_TEST_fI_f1): Likewise.
42025         (RUN_TEST_ffI_f1): Likewise.
42026         (RUN_TEST_c_c): Likewise.
42027         (RUN_TEST_cc_c): Likewise.
42028         (RUN_TEST_f_i): Likewise.
42029         (RUN_TEST_f_i_tg): Likewise.
42030         (RUN_TEST_ff_i_tg): Likewise.
42031         (RUN_TEST_f_b): Likewise.
42032         (RUN_TEST_f_b_tg): Likewise.
42033         (RUN_TEST_f_l): Likewise.
42034         (RUN_TEST_f_L): Likewise.
42035         (RUN_TEST_fFF_11): Likewise.
42036         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42037         conditionals.
42038         (cosh_test_data): Likewise.
42039         (exp_test_data): Likewise.
42040         (expm1_test_data): Likewise.
42041         (hypot_test_data): Likewise.
42042         (pow_test_data): Likewise.
42043         (sinh_test_data): Likewise.
42044         (tanh_test_data): Likewise.
42045         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42046         flags argument.
42048         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42049         tests with quiet NaN input and output.
42050         (acosh_test_data): Likewise.
42051         (asin_test_data): Likewise.
42052         (asinh_test_data): Likewise.
42053         (atan_test_data): Likewise.
42054         (atanh_test_data): Likewise.
42055         (atan2_test_data): Likewise.
42056         (cbrt_test_data): Likewise.
42057         (cos_test_data): Likewise.
42058         (cosh_test_data): Likewise.
42059         (erf_test_data): Likewise.
42060         (erfc_test_data): Likewise.
42061         (exp_test_data): Likewise.
42062         (exp10_test_data): Likewise.
42063         (exp2_test_data): Likewise.
42064         (expm1_test_data): Likewise.
42065         (hypot_test_data): Likewise.
42066         (j0_test_data): Likewise.
42067         (j1_test_data): Likewise.
42068         (jn_test_data): Likewise.
42069         (lgamma_test_data): Likewise.
42070         (log_test_data): Likewise.
42071         (log10_test_data): Likewise.
42072         (log1p_test_data): Likewise.
42073         (log2_test_data): Likewise.
42074         (pow_test_data): Likewise.
42075         (scalb_test_data): Likewise.
42076         (sin_test_data): Likewise.
42077         (sincos_test_data): Likewise.
42078         (sinh_test_data): Likewise.
42079         (tan_test_data): Likewise.
42080         (tanh_test_data): Likewise.
42081         (tgamma_test_data): Likewise.
42082         (y0_test_data): Likewise.
42083         (y1_test_data): Likewise.
42084         (yn_test_data): Likewise.
42086         [BZ #16167]
42087         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42088         argument being NaN and avoid computations with second argument in
42089         that case.
42090         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42091         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42092         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42094 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42096         * locale/iso-639.def: Add Chitwani Tharu (the).
42098 2013-11-14  Andreas Schwab  <schwab@suse.de>
42100         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42101         word instead of empty string.
42103 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42106         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42108         (__fe_nomask_env): Likewise.
42110 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42112         * benchtests/bench-timing.h: Include time.h.
42114 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42116         [BZ #15997]
42117         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42118         to 3.4.0 for x32.
42119         * sysdeps/unix/sysv/linux/configure: Regenerated.
42121 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42123         [BZ #16151]
42124         * stdlib/strtod_l.c (round_and_return): Do not consider
42125         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42126         exponent one less than half the least subnormal exponent.
42127         * stdlib/test-strtod-round-data: Add more tests.
42128         * stdlib/tst-strtod-round.c (tests): Regenerated.
42130 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42132         [BZ #14143]
42133         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42134         (__fe_mask_env): Likewise.
42135         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42136         libm_hidden_proto and add function prototype.
42137         (__fe_mask_env): Add function prototype.
42138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42139         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42141         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42143         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42145 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42147         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42148         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42150 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42152         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42153         of htab_find_slot().
42155 2013-11-11  David S. Miller  <davem@davemloft.net>
42157         [BZ #16150]
42158         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42159         symbol in the non-vis3 case in static builds.
42160         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42161         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42162         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42163         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42165 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42167         [BZ #387]
42168         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42169         it is empty.
42171 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42173         * benchtests/Makefile: Add bench-strtod.
42174         * benchtests/bench-strtod.c: New file: strtod benchtest
42176 2013-11-11  Andreas Schwab  <schwab@suse.de>
42178         [BZ #16153]
42179         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42180         terminating NUL in key length.
42182 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42184         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42185         Add artificial ODP entry for vDSO symbol for PPC64.
42186         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42187         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42189 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42191         [BZ #15374]
42192         * nss/getent.c (services_keys): Recognize services starting with digit.
42194 2013-11-06  David S. Miller  <davem@davemloft.net>
42196         [BZ #15985]
42197         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42198         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42200 2013-11-06  Will Newton  <will.newton@linaro.org>
42202         * manual/memory.texi (Malloc Examples): Remove register
42203         keyword from examples.
42205 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42207         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42209 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42211         [BZ #6981]
42212         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42213         depending on [__GCC_IEC_559 > 0].
42214         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42215         depending on [__GCC_IEC_559_COMPLEX > 0].
42217 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42219         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42220         to iso-639.def.
42222 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42224         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42226 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42228         [BZ #16112]
42229         * malloc/malloc (malloc_info): Do not handle first bin as
42230         special case.
42232 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42234         * locale/iso-639.def: Add Central Nahuatl (nhn).
42236 2013-11-01  Bruno Haible  <bruno@clisp.org>
42238         [BZ #7003]
42239         * manual/math.texi (BSD Random): Specify range upper bound as
42240         in POSIX.
42242 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42244         * locale/iso-639.def: Add Meadow Mari (mhr).
42246 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42248         [BZ #14752], [BZ #15763]
42249         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42250         Validate name.
42251         * rt/tst_shm.c: Add test for escaping directory.
42253 2013-10-31  Andreas Schwab  <schwab@suse.de>
42255         [BZ #15917]
42256         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42257         followed by 'x' as part of digit sequence.
42258         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42260 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42262         [BZ #16037]
42263         * configure.ac: allow GNU Make 4.0 and greater.
42264         * configure: Regenerated.
42266 2013-10-30  Will Newton  <will.newton@linaro.org>
42268         [BZ #16038]
42269         * malloc/hooks.c (memalign_check): Limit alignment to the
42270         maximum representable power of two.
42271         * malloc/malloc.c (__libc_memalign): Likewise.
42272         * malloc/tst-memalign.c (do_test): Add test for very
42273         large alignment values.
42274         * malloc/tst-posix_memalign.c (do_test): Likewise.
42276 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42278         [BZ #11087]
42279         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42280         (munmap_chunk): Likewise.
42281         (mremap_chunk): Likewise.
42283 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42285         [BZ #15799]
42286         * stdlib/div.c (div): Remove obsolete code.
42287         * stdlib/ldiv.c (ldiv): Likewise.
42288         * stdlib/lldiv.c (lldiv): Likewise.
42290 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42292         [BZ #16071]
42293         * nss/nss_files/files-XXX.c (get_contents_ret): New
42294         enumerator.
42295         (get_contents): New function.
42296         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42298 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42300         * configure.in: Moved to ...
42301         * configure.ac: ... here. Change reference to configure.in
42302         to configure.ac.
42303         * sysdeps/arm/preconfigure.ac: ... here.
42304         configure.in to configure.ac.
42305         * sysdeps/gnu/configure.in: Moved to ...
42306         * sysdeps/gnu/configure.ac: ... here.
42307         * sysdeps/i386/configure.in: Moved to ...
42308         * sysdeps/i386/configure.ac: ... here.
42309         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42310         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42311         * sysdeps/mach/configure.in: Moved to ...
42312         * sysdeps/mach/configure.ac: ... here.
42313         * sysdeps/mach/hurd/configure.in: Moved to ...
42314         * sysdeps/mach/hurd/configure.ac: ... here.
42315         * sysdeps/powerpc/configure.in: Moved to ...
42316         * sysdeps/powerpc/configure.ac: ... here.
42317         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42318         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42319         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42320         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42321         * sysdeps/s390/s390-32/configure.in: Moved to ...
42322         * sysdeps/s390/s390-32/configure.ac: ... here.
42323         * sysdeps/s390/s390-64/configure.in: Moved to ...
42324         * sysdeps/s390/s390-64/configure.ac: ... here.
42325         * sysdeps/sh/configure.in: Moved to ...
42326         * sysdeps/sh/configure.ac: ... here.
42327         * sysdeps/sparc/configure.in: Moved to ...
42328         * sysdeps/sparc/configure.ac: ... here.
42329         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42330         * sysdeps/unix/sysv/linux/configure.ac: ... here.
42331         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42332         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42333         * sysdeps/x86_64/configure.in: Moved to ...
42334         * sysdeps/x86_64/configure.ac: ... here.
42335         * sysdeps/x86_64/preconfigure.in: Moved to ...
42336         * sysdeps/x86_64/preconfigure.ac: ... here.
42337         * aclocal.m4: Change reference to configure.in to configure.ac.
42338         * config.h.in: Likewise.
42339         * manual/install.texi: Likewise.
42340         * manual/maint.texi: Likewise.
42341         * Makefile: Likewise.
42342         * malloc/Makefile: Likewise.
42343         * nscd/Makefile: Likewise.
42344         * Makeconfig: Change reference to configure.in and
42345         preconfigure.in to configure.ac and preconfigure.ac
42346         respectively.
42347         * INSTALL: Regenerated.
42348         * configure: Likewise.
42349         * sysdeps/gnu/configure: Likewise.
42350         * sysdeps/i386/configure: Likewise.
42351         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42352         * sysdeps/mach/configure: Likewise.
42353         * sysdeps/mach/hurd/configure: Likewise.
42354         * sysdeps/powerpc/configure: Likewise.
42355         * sysdeps/powerpc/powerpc32/configure: Likewise.
42356         * sysdeps/powerpc/powerpc64/configure: Likewise.
42357         * sysdeps/s390/s390-32/configure: Likewise.
42358         * sysdeps/s390/s390-64/configure: Likewise.
42359         * sysdeps/sh/configure: Likewise.
42360         * sysdeps/sparc/configure: Likewise.
42361         * sysdeps/unix/sysv/linux/configure: Likewise.
42362         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42363         * sysdeps/x86_64/configure: Likewise.
42364         * sysdeps/x86_64/preconfigure: Likewise.
42366 2013-10-29  Andreas Schwab  <schwab@suse.de>
42368         * stdio-common/Makefile (tst-swscanf-ENV): Define.
42370 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42372         * benchtests/pow-inputs: Add new inputs.
42374         * benchtests/exp-inputs: Add new inputs.
42376         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42377         conditional check for return value.
42378         (__cos32): Likewise.
42380 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42382         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42383         to provide a boost for large inputs with word alignment.
42384         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42385         implementation based on optimized PPC64 strcpy.
42386         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42387         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42388         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42389         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42391 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42393         [BZ #2801]
42394         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42396 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42398         [BZ #14876]
42399         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42400         * time/tst-strptime.c (day_tests): Add testcase.
42402 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42404         [BZ #14029]
42405         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42407 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42409         [BZ #16074]
42410         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42411         MAP_FAILED on error.
42413 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42415         [BZ #16072]
42416         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42417         heap for large requests.
42419 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42421         [BZ #9954]
42422         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42423         result if the result has no associated interface.
42424         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42425         interface for all 127.X.Y.Z addresses.
42427 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42429         * locale/iso-639.def: Add Ligurian (lij)
42431 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42433         [BZ #15825]
42434         * sunrpc/rpc_main.c: Document rpcgen -5.
42436 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42438         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42440 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42442         [BZ #10278]
42443         * posix/glob.c: Match only directories when trailing slash is present.
42444         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42445         (main): Add testcase.
42447 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42449         [BZ #15670]
42450         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42452 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42454         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42455         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42456         AUTH_DES and cindex for FIPS 140-2.
42457         (DES Encryption): Add cindex FIPS 46-3.
42459         * locale/locarchive.h (struct locarhandle): Add fname.
42460         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42461         if an optional argument was specified to --list-archive,
42462         otherwise NULL.
42463         * locale/programs/locarchive.c (show_archive_content): Take new
42464         argument fname and pass it via ah.fname to open_archive.
42465         * locale/programs/localedef.h: Update decl.
42466         (open_archive): If AH->fname is non-null, open that file
42467         rather than the default file name, and don't ignore ENOENT.
42468         (create_archive): Set AH.fname to NULL.
42469         (delete_locales_from_archive): Likewise.
42470         (add_locales_to_archive): Likewise.
42471         * locale/programs/locfile.c (write_all_categories): Likewise.
42473 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42474             Aldy Hernandez  <aldyh@redhat.com>
42476         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42477         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42478         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42479         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42480         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42481         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42482         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42483         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42484         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42485         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42486         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42487         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42488         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42489         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42490         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42491         Likewise.
42492         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42493         Likewise.
42494         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42495         Likewise.
42496         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42497         Likewise.
42498         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42499         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42500         Likewise.
42501         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42502         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42503         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42504         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42505         Likewise.
42506         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42507         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42508         * sysdeps/powerpc/preconfigure: Likewise.
42509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42510         Likewise.
42511         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42512         Replace contents of file by #include of <fenv_libc.h>.
42513         * sysdeps/powerpc/soft-fp/sfp-machine.h
42514         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42515         and <sys/prctl.h>.
42516         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42517         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42518         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42519         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42520         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42521         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42523         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42524         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42525         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42526         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42527         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42529         Allow copysignl PLT reference to be missing.
42531 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
42532             Joseph Myers  <joseph@codesourcery.com
42534         [BZ #15948]
42535         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42536         single character.
42537         (add_to_tablewc): Assert sequence of wide characters is nonempty.
42539 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42541         * elf/tst-tls-dlinfo.c: Don't include tls.h.
42542         * elf/tst-tls1.c: Likewise.
42543         * elf/tst-tls10.h: Likewise.
42544         * elf/tst-tls14.c: Likewise.
42545         * elf/tst-tls2.c: Likewise.
42546         * elf/tst-tls3.c: Likewise.
42547         * elf/tst-tls4.c: Likewise.
42548         * elf/tst-tls5.c: Likewise.
42549         * elf/tst-tls6.c: Likewise.
42550         * elf/tst-tls7.c: Likewise.
42551         * elf/tst-tls8.c: Likewise.
42552         * elf/tst-tls9.c: Likewise.
42553         * elf/tst-tlsmod1.c: Likewise.
42554         * elf/tst-tlsmod13.c: Likewise.
42555         * elf/tst-tlsmod13a.c: Likewise.
42556         * elf/tst-tlsmod14a.c: Likewise.
42557         * elf/tst-tlsmod16a.c: Likewise.
42558         * elf/tst-tlsmod16b.c: Likewise.
42559         * elf/tst-tlsmod2.c: Likewise.
42560         * elf/tst-tlsmod3.c: Likewise.
42561         * elf/tst-tlsmod4.c: Likewise.
42562         * elf/tst-tlsmod5.c: Likewise.
42563         * elf/tst-tlsmod6.c: Likewise.
42565 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
42567         [BZ #12486]
42568         * malloc/malloc.c: remove checks for statistics.
42570 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42572         [BZ #15277]
42573         * inet/inet_net.c (inet_network): Detect additional invalid strings.
42574         * inet/tst-network.c: Add testcase.
42576 2013-10-17  Andreas Schwab  <schwab@suse.de>
42578         [BZ #15218]
42579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42580         to determine canonical name.
42582 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42584         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42585         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42586         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42587         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42588         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42589         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42590         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42591         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42592         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42593         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42594         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42595         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42596         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42597         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42598         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42599         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42600         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42601         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42602         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42603         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42604         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42605         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42606         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42607         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42608         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42609         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42610         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42611         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42612         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42613         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42614         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42615         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42616         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42617         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42618         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42619         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42620         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42621         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42622         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42623         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42624         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42625         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42626         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42627         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42628         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42629         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42630         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42631         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42632         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42633         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42634         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42635         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42636         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42637         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42638         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42639         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42640         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42641         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42643 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42645         [BZ #16041]
42646         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42647         make result into a quiet NaN.
42649 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42651         * soft-fp/adddf3.c: Fix horizontal whitespace.
42652         * soft-fp/addsf3.c: Likewise.
42653         * soft-fp/addtf3.c: Likewise.
42654         * soft-fp/divdf3.c: Likewise.
42655         * soft-fp/divsf3.c: Likewise.
42656         * soft-fp/divtf3.c: Likewise.
42657         * soft-fp/double.h: Likewise.
42658         * soft-fp/eqdf2.c: Likewise.
42659         * soft-fp/eqsf2.c: Likewise.
42660         * soft-fp/eqtf2.c: Likewise.
42661         * soft-fp/extenddftf2.c: Likewise.
42662         * soft-fp/extended.h: Likewise.
42663         * soft-fp/extendsfdf2.c: Likewise.
42664         * soft-fp/extendsftf2.c: Likewise.
42665         * soft-fp/extendxftf2.c: Likewise.
42666         * soft-fp/fixdfdi.c: Likewise.
42667         * soft-fp/fixdfsi.c: Likewise.
42668         * soft-fp/fixdfti.c: Likewise.
42669         * soft-fp/fixsfdi.c: Likewise.
42670         * soft-fp/fixsfsi.c: Likewise.
42671         * soft-fp/fixsfti.c: Likewise.
42672         * soft-fp/fixtfdi.c: Likewise.
42673         * soft-fp/fixtfsi.c: Likewise.
42674         * soft-fp/fixtfti.c: Likewise.
42675         * soft-fp/fixunsdfdi.c: Likewise.
42676         * soft-fp/fixunsdfsi.c: Likewise.
42677         * soft-fp/fixunsdfti.c: Likewise.
42678         * soft-fp/fixunssfdi.c: Likewise.
42679         * soft-fp/fixunssfsi.c: Likewise.
42680         * soft-fp/fixunssfti.c: Likewise.
42681         * soft-fp/fixunstfdi.c: Likewise.
42682         * soft-fp/fixunstfsi.c: Likewise.
42683         * soft-fp/fixunstfti.c: Likewise.
42684         * soft-fp/floatdidf.c: Likewise.
42685         * soft-fp/floatdisf.c: Likewise.
42686         * soft-fp/floatditf.c: Likewise.
42687         * soft-fp/floatsidf.c: Likewise.
42688         * soft-fp/floatsisf.c: Likewise.
42689         * soft-fp/floatsitf.c: Likewise.
42690         * soft-fp/floattidf.c: Likewise.
42691         * soft-fp/floattisf.c: Likewise.
42692         * soft-fp/floattitf.c: Likewise.
42693         * soft-fp/floatundidf.c: Likewise.
42694         * soft-fp/floatundisf.c: Likewise.
42695         * soft-fp/floatunditf.c: Likewise.
42696         * soft-fp/floatunsidf.c: Likewise.
42697         * soft-fp/floatunsisf.c: Likewise.
42698         * soft-fp/floatunsitf.c: Likewise.
42699         * soft-fp/floatuntidf.c: Likewise.
42700         * soft-fp/floatuntisf.c: Likewise.
42701         * soft-fp/floatuntitf.c: Likewise.
42702         * soft-fp/fmadf4.c: Likewise.
42703         * soft-fp/fmasf4.c: Likewise.
42704         * soft-fp/fmatf4.c: Likewise.
42705         * soft-fp/gedf2.c: Likewise.
42706         * soft-fp/gesf2.c: Likewise.
42707         * soft-fp/getf2.c: Likewise.
42708         * soft-fp/ledf2.c: Likewise.
42709         * soft-fp/lesf2.c: Likewise.
42710         * soft-fp/letf2.c: Likewise.
42711         * soft-fp/muldf3.c: Likewise.
42712         * soft-fp/mulsf3.c: Likewise.
42713         * soft-fp/multf3.c: Likewise.
42714         * soft-fp/negdf2.c: Likewise.
42715         * soft-fp/negsf2.c: Likewise.
42716         * soft-fp/negtf2.c: Likewise.
42717         * soft-fp/op-1.h: Likewise.
42718         * soft-fp/op-2.h: Likewise.
42719         * soft-fp/op-4.h: Likewise.
42720         * soft-fp/op-8.h: Likewise.
42721         * soft-fp/op-common.h: Likewise.
42722         * soft-fp/quad.h: Likewise.
42723         * soft-fp/single.h: Likewise.
42724         * soft-fp/soft-fp.h: Likewise.
42725         * soft-fp/sqrtdf2.c: Likewise.
42726         * soft-fp/sqrtsf2.c: Likewise.
42727         * soft-fp/sqrttf2.c: Likewise.
42728         * soft-fp/subdf3.c: Likewise.
42729         * soft-fp/subsf3.c: Likewise.
42730         * soft-fp/subtf3.c: Likewise.
42731         * soft-fp/truncdfsf2.c: Likewise.
42732         * soft-fp/trunctfdf2.c: Likewise.
42733         * soft-fp/trunctfsf2.c: Likewise.
42734         * soft-fp/trunctfxf2.c: Likewise.
42735         * soft-fp/unorddf2.c: Likewise.
42736         * soft-fp/unordsf2.c: Likewise.
42737         * soft-fp/unordtf2.c: Likewise.
42739 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
42741         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
42742         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
42744 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
42746         * elf/dl-libc.c: Clear initfini list after freeing.
42748 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
42750         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
42751         * soft-fp/addsf3.c: Likewise.
42752         * soft-fp/addtf3.c: Likewise.
42753         * soft-fp/divdf3.c: Likewise.
42754         * soft-fp/divsf3.c: Likewise.
42755         * soft-fp/divtf3.c: Likewise.
42756         * soft-fp/double.h: Likewise.
42757         * soft-fp/eqdf2.c: Likewise.
42758         * soft-fp/eqsf2.c: Likewise.
42759         * soft-fp/eqtf2.c: Likewise.
42760         * soft-fp/extenddftf2.c: Likewise.
42761         * soft-fp/extended.h: Likewise.
42762         * soft-fp/extendsfdf2.c: Likewise.
42763         * soft-fp/extendsftf2.c: Likewise.
42764         * soft-fp/extendxftf2.c: Likewise.
42765         * soft-fp/fixdfdi.c: Likewise.
42766         * soft-fp/fixdfsi.c: Likewise.
42767         * soft-fp/fixdfti.c: Likewise.
42768         * soft-fp/fixsfdi.c: Likewise.
42769         * soft-fp/fixsfsi.c: Likewise.
42770         * soft-fp/fixsfti.c: Likewise.
42771         * soft-fp/fixtfdi.c: Likewise.
42772         * soft-fp/fixtfsi.c: Likewise.
42773         * soft-fp/fixtfti.c: Likewise.
42774         * soft-fp/fixunsdfdi.c: Likewise.
42775         * soft-fp/fixunsdfsi.c: Likewise.
42776         * soft-fp/fixunsdfti.c: Likewise.
42777         * soft-fp/fixunssfdi.c: Likewise.
42778         * soft-fp/fixunssfsi.c: Likewise.
42779         * soft-fp/fixunssfti.c: Likewise.
42780         * soft-fp/fixunstfdi.c: Likewise.
42781         * soft-fp/fixunstfsi.c: Likewise.
42782         * soft-fp/fixunstfti.c: Likewise.
42783         * soft-fp/floatdidf.c: Likewise.
42784         * soft-fp/floatdisf.c: Likewise.
42785         * soft-fp/floatditf.c: Likewise.
42786         * soft-fp/floatsidf.c: Likewise.
42787         * soft-fp/floatsisf.c: Likewise.
42788         * soft-fp/floatsitf.c: Likewise.
42789         * soft-fp/floattidf.c: Likewise.
42790         * soft-fp/floattisf.c: Likewise.
42791         * soft-fp/floattitf.c: Likewise.
42792         * soft-fp/floatundidf.c: Likewise.
42793         * soft-fp/floatundisf.c: Likewise.
42794         * soft-fp/floatunsidf.c: Likewise.
42795         * soft-fp/floatunsisf.c: Likewise.
42796         * soft-fp/floatuntidf.c: Likewise.
42797         * soft-fp/floatuntisf.c: Likewise.
42798         * soft-fp/floatuntitf.c: Likewise.
42799         * soft-fp/fmadf4.c: Likewise.
42800         * soft-fp/fmasf4.c: Likewise.
42801         * soft-fp/fmatf4.c: Likewise.
42802         * soft-fp/gedf2.c: Likewise.
42803         * soft-fp/gesf2.c: Likewise.
42804         * soft-fp/getf2.c: Likewise.
42805         * soft-fp/ledf2.c: Likewise.
42806         * soft-fp/lesf2.c: Likewise.
42807         * soft-fp/letf2.c: Likewise.
42808         * soft-fp/muldf3.c: Likewise.
42809         * soft-fp/mulsf3.c: Likewise.
42810         * soft-fp/multf3.c: Likewise.
42811         * soft-fp/negdf2.c: Likewise.
42812         * soft-fp/negsf2.c: Likewise.
42813         * soft-fp/negtf2.c: Likewise.
42814         * soft-fp/op-1.h: Likewise.
42815         * soft-fp/op-2.h: Likewise.
42816         * soft-fp/op-4.h: Likewise.
42817         * soft-fp/op-8.h: Likewise.
42818         * soft-fp/op-common.h: Likewise.
42819         * soft-fp/quad.h: Likewise.
42820         * soft-fp/single.h: Likewise.
42821         * soft-fp/soft-fp.h: Likewise.
42822         * soft-fp/sqrtdf2.c: Likewise.
42823         * soft-fp/sqrtsf2.c: Likewise.
42824         * soft-fp/sqrttf2.c: Likewise.
42825         * soft-fp/subdf3.c: Likewise.
42826         * soft-fp/subsf3.c: Likewise.
42827         * soft-fp/subtf3.c: Likewise.
42828         * soft-fp/truncdfsf2.c: Likewise.
42829         * soft-fp/trunctfdf2.c: Likewise.
42830         * soft-fp/trunctfsf2.c: Likewise.
42831         * soft-fp/trunctfxf2.c: Likewise.
42832         * soft-fp/unorddf2.c: Likewise.
42833         * soft-fp/unordsf2.c: Likewise.
42834         * soft-fp/unordtf2.c: Likewise.
42836 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
42838         [BZ #15672]
42839         * misc/error.c (error_tail): Fix possible buffer overflow.
42841 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
42843         [BZ #13028]
42844         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
42845         address.
42847 2013-10-14  P. J. McDermott  <pj@pehjota.net>
42849         [BZ #832]
42850         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
42851         testing pipefail option.
42853 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42855         * soft-fp/double.h: Indent preprocessor directives inside #if.
42856         * soft-fp/extended.h: Likewise.
42857         * soft-fp/op-2.h: Likewise.
42858         * soft-fp/op-4.h: Likewise.
42859         * soft-fp/op-common.h: Likewise.
42860         * soft-fp/quad.h: Likewise.
42861         * soft-fp/single.h: Likewise.
42862         * soft-fp/soft-fp.h: Likewise.
42864 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
42866         * iconv/iconv_prog.c: Fix typos.
42867         * stdio-common/psiginfo-data.h: Likewise.
42869 2013-10-12   Reuben Thomas <rrt@sc3d.org>
42871         [BZ #15764]
42872         * locale/setlocale.c: Fix typo.
42874 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42876         [BZ #16036]
42877         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
42878         signaling NaN arguments.
42879         * soft-fp/unordsf2.c (__unordsf2): Likewise.
42880         * soft-fp/unordtf2.c (__unordtf2): Likewise.
42882         [BZ #14910]
42883         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
42884         unordered operands.
42885         * soft-fp/gesf2.c (__gesf2): Likewise.
42886         * soft-fp/getf2.c (__getf2): Likewise.
42887         * soft-fp/ledf2.c (__ledf2): Likewise.
42888         * soft-fp/lesf2.c (__lesf2): Likewise.
42889         * soft-fp/letf2.c (__letf2): Likewise.
42891         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
42892         * soft-fp/eqsf2.c (__eqsf2): Likewise.
42893         * soft-fp/eqtf2.c (__eqtf2): Likewise.
42894         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
42895         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
42896         * soft-fp/fixdfti.c (__fixdfti): Likewise.
42897         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
42898         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
42899         * soft-fp/fixsfti.c (__fixsfti): Likewise.
42900         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
42901         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
42902         * soft-fp/fixtfti.c (__fixtfti): Likewise.
42903         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
42904         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
42905         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
42906         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
42907         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
42908         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
42909         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
42910         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
42911         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
42912         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
42913         * soft-fp/floatdisf.c (__floatdisf): Likewise.
42914         * soft-fp/floatsisf.c (__floatsisf): Likewise.
42915         * soft-fp/floattidf.c (__floattidf): Likewise.
42916         * soft-fp/floattisf.c (__floattisf): Likewise.
42917         * soft-fp/floattitf.c (__floattitf): Likewise.
42918         * soft-fp/floatundidf.c (__floatundidf): Likewise.
42919         * soft-fp/floatundisf.c (__floatundisf): Likewise.
42920         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
42921         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
42922         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
42923         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
42924         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
42925         * soft-fp/gesf2.c (__gesf2): Likewise.
42926         * soft-fp/getf2.c (__getf2): Likewise.
42927         * soft-fp/ledf2.c (__ledf2): Likewise.
42928         * soft-fp/lesf2.c (__lesf2): Likewise.
42929         * soft-fp/letf2.c (__letf2): Likewise.
42931         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
42932         Undefine and redefine.
42933         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
42934         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
42935         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
42936         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
42937         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42938         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
42939         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42940         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
42941         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42942         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42943         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42944         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42945         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42946         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42947         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42949         [BZ #16032]
42950         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42951         without decrementing exponent if mantissa >= that for the
42952         denominator, not >.
42953         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42954         denominator, not >.  Decrement exponent in < case instead of
42955         incrementing in >= case.
42956         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42957         without decrementing exponent if mantissa >= that for the
42958         denominator, not >.
42960         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42961         computing saturated result for unsigned overflow.
42963 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42964             Jeff Law  <law@redhat.com>
42966         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42967         (atan2Mp): Add systemtap probe marker.
42968         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42969         (__ieee754_log): Add systemtap probe marker.
42970         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42971         (atanMp): Add systemtap probe marker.
42972         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42973         (tanMp): Add systemtap probe marker.
42974         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42975         (__slowexp): Add systemtap probe marker.
42976         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42977         (__slowpow): Add systemtap probe marker.
42978         * manual/probes.texi: Document probes.
42980 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
42982         [BZ #15362]
42983         * libio/fileops.c (_IO_new_file_write): Return count of bytes
42984         written.
42985         (_IO_new_file_xsputn): Don't return EOF if nothing has been
42986         written.
42987         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42988         written to buffer but not flushed.
42989         * libio/iofwrite_u.c:  Likewise.
42990         * libio/iopadn.c:  Return bytes returned even if EOF was
42991         encountered.
42992         * libio/iowpadn.c:  Likewise.
42993         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42994         if _IO_padn does not write the whole buffer.
42995         [!COMPILE_WPRINTF] (PAD): Likewise.
42997 2013-10-10  David S. Miller  <davem@davemloft.net>
42999         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43000         directory block.
43002 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43004         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43005         instead of FSF address.
43006         * soft-fp/fixdfti.c: Likewise.
43007         * soft-fp/fixsfti.c: Likewise.
43008         * soft-fp/fixtfti.c: Likewise.
43009         * soft-fp/fixunsdfti.c: Likewise.
43010         * soft-fp/fixunssfti.c: Likewise.
43011         * soft-fp/fixunstfti.c: Likewise.
43012         * soft-fp/floattidf.c: Likewise.
43013         * soft-fp/floattisf.c: Likewise.
43014         * soft-fp/floattitf.c: Likewise.
43015         * soft-fp/floatuntidf.c: Likewise.
43016         * soft-fp/floatuntisf.c: Likewise.
43017         * soft-fp/floatuntitf.c: Likewise.
43018         * soft-fp/trunctfxf2.c: Likewise.
43020         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43021         * soft-fp/fixdfti.c: Likewise.
43022         * soft-fp/fixsfti.c: Likewise.
43023         * soft-fp/fixtfti.c: Likewise.
43024         * soft-fp/fixunsdfti.c: Likewise.
43025         * soft-fp/fixunssfti.c: Likewise.
43026         * soft-fp/fixunstfti.c: Likewise.
43027         * soft-fp/floattidf.c: Likewise.
43028         * soft-fp/floattisf.c: Likewise.
43029         * soft-fp/floattitf.c: Likewise.
43030         * soft-fp/floatuntidf.c: Likewise.
43031         * soft-fp/floatuntisf.c: Likewise.
43032         * soft-fp/floatuntitf.c: Likewise.
43033         * soft-fp/trunctfxf2.c: Likewise.
43035 2013-10-10  David S. Miller  <davem@davemloft.net>
43037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43039 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43041         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43042         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43043         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43044         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43045         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43046         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43047         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43049         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43050         for NaNs before doing comparisons on argument.
43051         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43052         Likewise.
43054 2013-10-10  Will Newton  <will.newton@linaro.org>
43056         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43057         passed to _int_memalign does not overflow.
43059 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43061         * scripts/bench.pl: Add include-sources directive.
43062         * benchtests/README: Update documentation.
43064 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43066         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43067         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43068         instead of FP_INIT_ROUNDMODE.
43069         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43070         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43072         [BZ #16034]
43073         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43074         copy class of input value.
43075         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43076         not handle exceptions.
43077         * soft-fp/negsf2.c (__negsf2): Likewise.
43078         * soft-fp/negtf2.c (__negtf2): Likewise.
43079         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43081 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43083         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43084         semicolon.  From Linux kernel.
43086 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43088         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43090 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43092         [BZ #156]
43093         * manual/socket.texi: Added statement about buffer
43094         for gethostbyname2_r.
43096 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43098         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43099         Use .p2align directive instead, throughout.
43100         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43101         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43102         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43103         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43104         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43105         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43106         * sysdeps/x86_64/strchr.S: Likewise.
43107         * sysdeps/x86_64/strrchr.S: Likewise.
43109 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43111         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43113         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43115         * sysdeps/generic/math_private.h (__mpsin1): Remove
43116         declaration.
43117         (__mpcos1): Likewise.
43118         (__mpsin): New argument __range_reduce.
43119         (__mpcos): Likewise.
43120         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43121         (slow): Use __mpsin and __mpcos.
43122         (slow1): Likewise.
43123         (slow2): Likewise.
43124         (sloww): Likewise.
43125         (sloww1): Likewise.
43126         (sloww2): Likewise.
43127         (bsloww): Likewise.
43128         (bsloww1): Likewise.
43129         (bsloww2): Likewise.
43130         (cslow2): Likewise.
43131         (csloww): Likewise.
43132         (csloww1): Likewise.
43133         (csloww2): Likewise.
43134         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43135         range_reduce.  Merge in __mpsin1.
43136         (__mpcos): Likewise.
43137         (__mpsin1): Remove.
43138         (__mpcos1): Likewise.
43140 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43142         * locale/loadlocale.c (_nl_intern_locale_data): Use
43143         LOCFILE_ALIGNED_P.
43144         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43145         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43146         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43147         obstack data is appropriately aligned.
43148         (obstack_int32_grow_fast): Likewise.
43149         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43150         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43151         (add_locale_uint32_array): Likewise.
43153 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43155         * benchtests/Makefile: Remove ARGLIST and RET variables.
43156         ($(objpfx)bench-%.c): Pass only function name to the script.
43157         * benchtests/README: Update documentation.
43158         * benchtests/acos-inputs: Add new directives.
43159         * benchtests/acosh-inputs: Likewise.
43160         * benchtests/asin-inputs: Likewise.
43161         * benchtests/asinh-inputs: Likewise.
43162         * benchtests/atan-inputs: Likewise.
43163         * benchtests/atanh-inputs: Likewise.
43164         * benchtests/cos-inputs: Likewise.
43165         * benchtests/cosh-inputs: Likewise.
43166         * benchtests/exp-inputs: Likewise.
43167         * benchtests/log-inputs: Likewise.
43168         * benchtests/pow-inputs: Likewise.
43169         * benchtests/rint-inputs: Likewise.
43170         * benchtests/sin-inputs: Likewise.
43171         * benchtests/sinh-inputs: Likewise.
43172         * benchtests/tan-inputs: Likewise.
43173         * benchtests/tanh-inputs: Likewise.
43174         * scripts/bench.pl: Add support for new directives.
43176 2013-10-07  Alan Modra  <amodra@gmail.com>
43178         * README: Fix careless merge.
43180 2013-10-05  Alan Modra  <amodra@gmail.com>
43182         * NEWS: Mention powerpc64le support and bugs fixed.
43183         * README: Both big-endian and little-endian powerpc64 supported.
43185 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43187         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43188         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43189         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43190         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43192 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43194         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43195         match prototype.
43197 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43199         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43200         Move -mhard-float appending from
43201         ports/sysdeps/powerpc/powerpc32/Makefile.
43202         [$(with-fp) = yes] (ASFLAGS): Likewise.
43203         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43204         * sysdeps/powerpc/nofpu: Move directory from
43205         ports/sysdeps/powerpc/nofpu.
43206         * sysdeps/powerpc/soft-fp: Move directory from
43207         ports/sysdeps/powerpc/soft-fp.
43208         * sysdeps/powerpc/powerpc32/405: Move directory from
43209         ports/sysdeps/powerpc/powerpc32/405.
43210         * sysdeps/powerpc/powerpc32/440: Move directory from
43211         ports/sysdeps/powerpc/powerpc32/440.
43212         * sysdeps/powerpc/powerpc32/464: Move directory from
43213         ports/sysdeps/powerpc/powerpc32/464.
43214         * sysdeps/powerpc/powerpc32/476: Move directory from
43215         ports/sysdeps/powerpc/powerpc32/476.
43216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43217         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43219         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43221         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43223         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43225         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43226         * README: Update for powerpc-*-linux-gnu software floating point
43227         support in libc.
43229         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43230         case to powerpc/powerpc32*.
43231         * sysdeps/unix/sysv/linux/configure: Regenerated.
43233         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43234         (_FPU_MASK_OM): Define as 0x04.
43235         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43236         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43237         0x00c10080.
43238         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43239         0x0000003c.
43240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43243         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43244         getcontext_e500.
43245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43246         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43247         setcontext_e500.
43248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43249         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43250         and setcontext_e500.
43252 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43254         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43256 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43258         * manual/threads.texi (Default Thread Attributes): Fix typo.
43260 2013-10-04  Will Newton  <will.newton@linaro.org>
43262         * malloc/Makefile: Add tst-memalign.
43263         * malloc/tst-memalign.c: New file.
43265         * malloc/tst-posix_memalign.c: Add comments.
43266         (do_test): Add comments and call free on all potentially
43267         allocated pointers. Add space after cast.
43269         * malloc/tst-pvalloc.c: Add comments.
43270         (do_test): Add comments and call free on all potentially
43271         allocated pointers. Remove duplicate check for NULL pointer.
43272         Add space after cast.
43274         * malloc/tst-valloc.c: Add comments.
43275         (do_test): Add comments and call free on all potentially
43276         allocated pointers. Remove duplicate check for NULL pointer.
43277         Add space after cast.
43279 2013-10-04  Alan Modra  <amodra@gmail.com>
43281         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43282         Use stdint types in rather than __attribute__((mode())).
43283         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43285 2013-10-04  Alan Modra  <amodra@gmail.com>
43287         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43288         Correct handling of unaligned relocs for little-endian.
43289         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43291 2013-10-04  Alan Modra  <amodra@gmail.com>
43293         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43294         * configure: Regenerate.
43295         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43296         * shlib-versions: Likewise.
43298 2013-10-04  Alan Modra  <amodra@gmail.com>
43300         * string/tester.c (test_memrchr): Increment reported test cycle.
43302 2013-10-04  Alan Modra  <amodra@gmail.com>
43304         * string/test-memcpy.c (do_one_test): When reporting errors, print
43305         string address and don't overrun end of string.
43307 2013-10-04  Alan Modra  <amodra@gmail.com>
43309         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43310         insrdi.  Make better use of reg selection to speed exit slightly.
43311         Schedule entry path a little better.  Remove useless "are we done"
43312         checks on entry to main loop.  Handle wrapping around zero address.
43313         Correct main loop count.  Handle single left-over word from main
43314         loop inline rather than by using loop_small.  Remove extra word
43315         case in loop_small caused by wrong loop count.  Add little-endian
43316         support.
43317         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43318         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
43319         cache hint.
43320         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43321         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43322         support.  Avoid rlwimi.
43323         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43325 2013-10-04  Alan Modra  <amodra@gmail.com>
43327         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43328         insrdi.  Formatting.
43329         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43330         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43331         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43332         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43333         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43334         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43336 2013-10-04  Alan Modra  <amodra@gmail.com>
43338         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43339         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43340         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43341         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43342         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43343         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43344         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43345         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43346         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
43347         use of regs.  Use power7 mtocrf.  Tidy function tails.
43349 2013-10-04  Alan Modra  <amodra@gmail.com>
43351         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43352         Formatting.  Consistently use rXXX register defines or rN defines.
43353         Use early exit labels that avoid restoring unused non-volatile regs.
43354         Make cr field use more consistent with rWORDn compares.  Rename
43355         regs used as shift registers for unaligned loop, using rN defines
43356         for short lifetime/multiple use regs.
43357         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43358         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
43359         addi 1,1,64 to pop stack frame.  Simplify return value code.
43360         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43362 2013-10-04  Alan Modra  <amodra@gmail.com>
43364         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43365         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
43366         rather than rlwimi.
43367         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43368         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43369         little-endian support.  Correct typos.
43370         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
43371         rather than rlwimi.
43372         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
43373         in loop and entry code to keep "and." results.
43374         (strchr): Add little-endian support.  Comment.  Move cntlzd
43375         earlier in tail.
43376         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43378 2013-10-04  Alan Modra  <amodra@gmail.com>
43380         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43381         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43382         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43383         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43385 2013-10-04  Alan Modra  <amodra@gmail.com>
43387         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43388         (rTMP): Define as r11.
43389         (strcmp): Add little-endian support.  Optimise tail.
43390         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43391         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43392         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43393         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43394         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43395         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43396         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43398 2013-10-04  Alan Modra  <amodra@gmail.com>
43400         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43401         little-endian support.  Remove unnecessary "are we done" tests.
43402         Handle "s" wrapping around zero and extremely large "size".
43403         Correct main loop count.  Handle single left-over word from main
43404         loop inline rather than by using small_loop.  Correct comments.
43405         Delete "zero" tail, use "end_max" instead.
43406         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43408 2013-10-04  Alan Modra  <amodra@gmail.com>
43410         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43411         support.  Don't branch over align.
43412         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43413         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43414         support.  Rearrange tmp reg use to suit.  Comment.
43415         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43417 2013-10-04  Alan Modra  <amodra@gmail.com>
43419         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43421 2013-10-04  Alan Modra  <amodra@gmail.com>
43423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43424         conditional form of branch and link when obtaining pc.
43425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43427 2013-10-04  Alan Modra  <amodra@gmail.com>
43429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43430         HIWORD/LOWORD.
43431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43434 2013-10-04  Alan Modra  <amodra@gmail.com>
43436         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43437         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43438         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43439         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43440         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43441         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43442         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43443         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43444         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43445         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43447 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43448             Alistair Popple <alistair@ozlabs.au.ibm.com>
43449             Alan Modra <amodra@gmail.com>
43451         [BZ #15723]
43452         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43453         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43454         _dl_hwcap access for little-endian.
43455         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43456         destroy vmx regs when saving unaligned.
43457         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43458         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43459         destroy vmx regs when saving unaligned.
43461 2013-10-04  Alan Modra  <amodra@gmail.com>
43463         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43464         Don't use a union to pack hi/low value.
43466 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43468         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43469         for little-endian.
43470         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43471         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43472         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43473         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43474         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43476 2013-10-04  Alan Modra  <amodra@gmail.com>
43478         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43479         constants to usual value for .cst8 section, and remove redundant
43480         high address load.
43481         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43482         constant for 0x1p52.  Load little-endian words of double from
43483         correct stack offsets.
43485 2013-10-04  Alan Modra  <amodra@gmail.com>
43487         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43488         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43489         words of double from correct stack offsets.
43490         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43491         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43492         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43493         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43494         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43495         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43496         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43497         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43498         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43499         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43500         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43501         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43502         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43503         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43504         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43505         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43506         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43508 2013-10-04  Alan Modra  <amodra@gmail.com>
43510         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43511         64-bit int/double union.
43512         (_FPU_SETCW): Likewise.
43513         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43514         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43516 2013-10-04  Alan Modra  <amodra@gmail.com>
43518         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43519         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43521 2013-10-04  Alan Modra  <amodra@gmail.com>
43523         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43524         use vector int constants.
43525         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43527 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43529         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43530         array with long long.
43531         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43532         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43533         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43534         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43535         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43536         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43537         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43538         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43539         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43540         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43541         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43542         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43543         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43545 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43547         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43548         (__signbit): Likewise.  Correct for little-endian.
43549         (__signbitl): Call __signbit.
43550         (lrint): Correct for little-endian.
43551         (lrintf): Call lrint.
43553 2013-10-04  Alan Modra  <amodra@gmail.com>
43555         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43556         union 32-bit int array member with 64-bit int array.
43557         (t515, tm256): Double rather than long double.
43558         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43560 2013-10-04  Alan Modra  <amodra@gmail.com>
43562         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43563         Delete.
43564         (IEEE854_LONG_DOUBLE_BIAS): Delete.
43565         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43566         version of math_ldbl.h.
43568 2013-10-04  Alan Modra  <amodra@gmail.com>
43570         [BZ #15734], [BZ #15735]
43571         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43572         all uses of ieee875 long double macros and unions.  Simplify test
43573         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
43574         ldbl_extract_mantissa value for ix,iy exponents.  Properly
43575         normalize after ldbl_extract_mantissa, and don't add hidden bit
43576         already handled.  Don't treat low word of ieee854 mantissa like
43577         low word of IBM long double and mask off bit when testing for
43578         zero.
43579         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43580         all uses of ieee875 long double macros and unions.  Simplify tests
43581         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
43582         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
43583         two1022, instead use their values.  Recognise that tests for large
43584         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
43585         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43586         Rewrite all uses of ieee875 long double macros and unions.  Simplify
43587         test for 0.0L and nan.  Correct negation.
43588         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43589         ieee875 long double macros and unions.  Correct output for large
43590         magnitude x.  Correct absolute value calculation.
43591         (__erfcl): Likewise.
43592         * math/libm-test.inc: Add tests for errors discovered in IBM long
43593         double versions of fmodl, remainderl, erfl and erfcl.
43595 2013-10-04  Alan Modra  <amodra@gmail.com>
43597         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43598         all uses of ieee854 long double macros and unions.  Simplify tests
43599         for long doubles that are fully specified by the high double.
43600         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43601         Likewise.
43602         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43603         Remove dead code too.
43604         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43605         (__ieee754_ynl): Likewise.
43606         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43607         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43608         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43609         Remove dead code too.
43610         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43611         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43612         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43613         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43614         Simplify.
43615         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43616         Simplify.
43617         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43618         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43619         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43620         Comment on variable precision.
43621         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43622         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43623         Likewise.
43624         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43625         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43626         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43627         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43628         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43630 2013-10-04  Alan Modra  <amodra@gmail.com>
43632         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43633         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43634         all uses of ieee854 long double macros and unions.
43635         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43636         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43637         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43638         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43639         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43640         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43641         Likewise.
43642         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43643         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43644         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43645         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43646         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43647         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43648         Simplify sign and nan test too.
43649         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43650         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43651         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43652         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43653         Likewise.
43654         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43655         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43656         Likewise.
43657         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43658         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43659         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43660         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43661         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43662         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43664 2013-10-04  Alan Modra  <amodra@gmail.com>
43666         * stdio-common/printf_size.c (__printf_size): Don't use
43667         union ieee854_long_double in fpnum union.
43668         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43669         signbit macro to retrieve sign from long double.
43670         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43671         retrieve sign from long double.
43672         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43673         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43674         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43675         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43676         * math/test-misc.c (main): Don't use union ieee854_long_double.
43678 2013-10-04  Alan Modra  <amodra@gmail.com>
43680         [BZ #15680]
43681         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43682         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43683         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43684         calculation.  Remove unnecessary test for denormal exponent.
43685         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43686         Correct handling of denormals.  Avoid undefined shift behaviour.
43687         Correct normalisation of low mantissa when low double is denormal.
43688         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43689         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
43690         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43691         Correct normalisation of low mantissa.  Test for overflow of high
43692         mantissa and normalise.
43693         (ldbl_nearbyint): Use more readable constant for two52.
43694         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43695         (__mpn_construct_long_double): Fix test for overflow of high
43696         mantissa and correct normalisation.  Avoid undefined shift.
43698 2013-10-04  Alan Modra  <amodra@gmail.com>
43700         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43701         (union ibm_extended_long_double): Define as an array of ieee754_double.
43702         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43703         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43704         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43705         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43706         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43707         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43708         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43709         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43710         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43711         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43712         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43714 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
43716         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43717         page size instead of calling getpagesize.
43719         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43720         (LOCFILE_ALIGN_MASK): Likewise.
43721         (LOCFILE_ALIGN_UP): Likewise.
43722         (LOCFILE_ALIGNED_P): Likewise.
43723         * locale/programs/ld-collate.c (collate_output): Use the new
43724         macros instead of __alignof__ (int32_t).
43725         * locale/weight.h (findidx): Likewise.
43727 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
43729         [BZ #431]
43730         * manual/string.texi: Fix strncat and wcsncat.
43732 2013-10-03  Brooks Moses  <bmoses@google.com>
43734         [BZ #15915]
43735         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43736         * Makerules: ...here, and adjust associated comments.
43738 2013-10-02  Will Newton  <will.newton@linaro.org>
43740         * malloc/Makefile: Add tst-pvalloc.
43741         * malloc/tst-pvalloc.c: New file.
43743 2013-10-02  Will Newton  <will.newton@linaro.org>
43745         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
43746         improve test coverage.
43748 2013-10-02  Will Newton  <will.newton@linaro.org>
43750         * malloc/Makefile: Add tst-posix_memalign.
43751         * malloc/tst-posix_memalign.c: New file.
43753 2013-10-01  Eric Blake  <eblake@redhat.com>
43755         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
43756         Use __THROWNL rather than __THROW on static functions.
43758 2013-09-30  Petr Machata  <pmachata@redhat.com>
43760         * elf/elf.h (R_AARCH64_ABS16): New macro.
43761         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
43762         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
43763         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
43764         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
43765         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
43766         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
43767         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
43768         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
43769         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
43770         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
43771         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
43772         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
43773         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
43774         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
43775         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
43776         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
43777         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
43778         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
43779         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
43780         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
43781         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
43782         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
43783         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
43784         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
43785         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
43786         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
43787         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
43788         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
43789         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
43790         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
43791         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
43792         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
43793         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
43794         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
43795         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
43796         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
43797         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
43798         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
43799         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
43800         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
43801         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
43802         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
43803         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
43804         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
43805         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
43806         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
43807         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
43808         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
43809         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
43810         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
43811         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
43812         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
43813         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
43814         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
43815         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
43816         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
43817         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
43818         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
43819         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
43820         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
43821         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
43822         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
43823         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
43824         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
43825         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
43826         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
43827         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
43828         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
43829         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
43830         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
43831         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
43832         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
43833         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
43834         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
43835         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
43836         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
43837         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
43838         (R_AARCH64_TLSDESC_LDR): Likewise.
43839         (R_AARCH64_TLSDESC_ADD): Likewise.
43840         (R_AARCH64_TLSDESC_CALL): Likewise.
43842 2013-09-30  Andreas Schwab  <schwab@suse.de>
43844         [BZ #15048]
43845         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
43846         the nss database lookup.
43847         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43850 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
43852         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
43854 2013-09-28  P. J. McDermott  <pj@pehjota.net>
43856         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
43857         ${Bash-specific parameter/pattern/string} parameter expansion.
43858         * sysdeps/unix/make-syscalls.sh: Likewise.
43860 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43862         * sysdeps/sh/stackguard-macros.h: New file.
43864 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
43866         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43867         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
43868         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
43869         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
43870         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43871         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
43873 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43875         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
43876         Fix thread ID register.
43878 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
43880         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
43881         [POSIX || UNIX98]: Require rather than permitting all symbols from
43882         <time.h>.
43883         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
43884         element of struct sched_param.
43885         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
43886         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
43887         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
43888         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
43889         constant.
43891 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
43893         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
43894         argument calculation.
43896 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43898         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
43899         Expect macro.
43900         [POSIX] (pthread_attr_t): Do not require type.
43901         [POSIX] (pthread_cond_t): Likewise.
43902         [POSIX] (pthread_condattr_t): Likewise.
43903         [POSIX] (pthread_key_t): Likewise.
43904         [POSIX] (pthread_mutex_t): Likewise.
43905         [POSIX] (pthread_mutexattr_t): Likewise.
43906         [POSIX] (pthread_once_t): Likewise.
43907         [POSIX] (pthread_t): Likewise.
43908         [POSIX-based standards] (pthread_atfork): Expect function.
43910 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43911             Richard Sandiford  <richard@codesourcery.com>
43913         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
43914         (swap_endianness_p): New extern variable.
43915         (set_big_endian): New inline function.
43916         (maybe_swap_uint32): Likewise.
43917         (maybe_swap_uint32_array): Likewise.
43918         (maybe_swap_uint32_obstack): Likewise.
43919         * locale/programs/locfile.c: Include <stdbool.h>.
43920         (swap_endianness_p): New variable.
43921         (add_locale_uint32): Call maybe_swap_uint32.
43922         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
43923         (write_locale_data): Call maybe_swap_uint32_array.
43924         * locale/programs/ld-collate.c (obstack_int32_grow): Call
43925         maybe_swap_uint32.
43926         (obstack_int32_grow_fast): Likewise.
43927         (output_weightwc): Call maybe_swap_uint32_obstack.
43928         (collate_output): Likewise.
43929         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
43930         (OPT_LITTLE_ENDIAN): Likewise.
43931         (options): Add --little-endian and --big-endian options.
43932         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43933         * locale/programs/locarchive.c: Include "locfile.h".
43934         (GET): New macro.
43935         (SET): Likewise.
43936         (INC): Likewise.
43937         (create_archive): Use the new macros to access fields of
43938         structures directly mapped from or written to locale archives.
43939         (oldlocrecentcmp): Likewise.
43940         (enlarge_archive): Likewise.
43941         (insert_name): Likewise.
43942         (add_alias): Likewise.
43943         (add_locale): Likewise.
43944         (delete_locales_from_archive): Likewise.
43945         (show_archive_content): Likewise.
43946         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
43947         locale data.
43949 2013-09-24  Roland McGrath  <roland@hack.frob.com>
43951         * manual/freemanuals.texi: Updated from (newly) canonical copy at
43952         http://www.gnu.org/doc/freemanuals.texi.
43953         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43955 2013-09-24  Will Newton  <will.newton@linaro.org>
43957         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43958         macro.
43960 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
43962         * locale/hashval.h (compute_hashval): Interpret bytes of key as
43963         unsigned char.
43965 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
43967         * manual/threads.texi (POSIX Threads): Fix a typo.
43969 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43971         [BZ #14547]
43972         * string/tst-strcoll-overflow.c: New test case.
43973         * string/Makefile (xtests): Add tst-strcoll-overflow.
43974         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43975         cache if string sizes may cause integer overflow.
43977         [BZ #14547]
43978         * string/strcoll_l.c (coll_seq): New members rule, idx,
43979         save_idx and back_us.
43980         (get_next_seq_nocache): New function.
43981         (do_compare_nocache): New function.
43982         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43983         when malloc fails.
43985 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
43987         [BZ #15754]
43988         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43989         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43990         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43992         [BZ #15754]
43993         * elf/Makefile (tests): Add tst-ptrguard1.
43994         (tests-static): Add tst-ptrguard1-static.
43995         (tst-ptrguard1-ARGS): Define.
43996         (tst-ptrguard1-static-ARGS): Define.
43997         * elf/tst-ptrguard1.c: New file.
43998         * elf/tst-ptrguard1-static.c: New file.
43999         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44000         * sysdeps/i386/stackguard-macros.h: Likewise.
44001         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44002         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44003         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44004         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44005         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44006         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44008 2013-09-23  Hector Marco  <hecmargi@upv.es>
44009             Ismael Ripoll  <iripoll@disca.upv.es>
44010             Carlos O'Donell  <carlos@redhat.com>
44012         [BZ #15754]
44013         * sysdeps/generic/stackguard-macros.h: Define
44014         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44015         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44016         Define __pointer_chk_guard_local.
44017         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44018         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44020 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44022         [BZ #15859]
44023         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44025 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44027         * include/string.h (__ffs): Declare as hidden.
44028         * string/ffs.c (__ffs): Define as hidden.
44029         * sysdeps/i386/ffs.c (__ffs): Likewise.
44030         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44031         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44032         * sysdeps/s390/ffs.c (__ffs): Likewise.
44033         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44035 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44037         * NEWS: Mention malloc probes.
44039         * malloc/arena.c (new_heap): New memory_heap_new probe.
44040         (grow_heap): New memory_heap_more probe.
44041         (shrink_heap): New memory_heap_less probe.
44042         (heap_trim): New memory_heap_free probe.
44043         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44044         (systrim): New memory_sbrk_less probe.
44045         * manual/probes.texi: Document them.
44047         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44048         * manual/probes.texi: Document it.
44050         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44051         (__libc_realloc): Add memory_realloc_retry probe.
44052         (__libc_memalign): Add memory_memalign_retry probe.
44053         (__libc_valloc): Add memory_valloc_retry probe.
44054         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44055         (__libc_calloc): Add memory_calloc_retry probe.
44056         * manual/probes.texi: Document them.
44058         * malloc/arena.c (get_free_list): Add probe
44059         memory_arena_reuse_free_list.
44060         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44061         and memory_arena_reuse.
44062         (arena_get2) [!PER_THREAD]: Likewise.
44063         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44064         memory_arena_reuse_realloc.
44065         * manual/probes.texi: Document them.
44067         * malloc/malloc.c (__libc_free): Add
44068         memory_mallopt_free_dyn_thresholds probe.
44069         (__libc_mallopt): Add multiple memory_mallopt probes.
44070         * manual/probes.texi: Document them.
44072         * malloc/malloc.c: Include stap-probe.h.
44073         (__libc_mallopt): Add memory_mallopt probe.
44074         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44075         * manual/probes.texi: New.
44076         * manual/Makefile (chapters): Add probes.
44077         * manual/threads.texi: Set next node.
44079 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44081         [BZ #15963, #13985]
44082         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44083         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44084         Add `Chinese' to `nan' entry name.
44086 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44088         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44089         (POLYNOMIAL): Likewise.
44090         (TAYLOR_SINCOS): Likewise.
44091         (TAYLOR_SLOW): Likewise.
44092         (__sin): Use TAYLOR_SINCOS.
44093         (__cos): Likewise.
44094         (slow): Use TAYLOR_SLOW.
44095         (sloww): Likewise.
44096         (bsloww): Likewise.
44097         (csloww): Likewise.
44099 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44101         * stdlib/strtod_l.c: Fix buffer overrun.
44103 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44105         * benchtests/Makefile (bench): Add sincos.
44106         * benchtests/bench-sincos.c: New file.
44108         * math/libm-test.inc (cos_test_data): New test inputs.
44109         (sin_test_data): Likewise.
44111         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44112         macro.
44113         (__sin): Use it.
44114         (__cos): Likewise.
44115         (slow1): Likewise.
44116         (slow2): Likewise.
44117         (sloww1): Likewise.
44118         (sloww2): Likewise.
44119         (bsloww1): Likewise.
44120         (bsloww2): Likewise.
44121         (cslow2): Likewise.
44122         (csloww1): Likewise.
44123         (csloww2): Likewise.
44125         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44126         function.
44127         (__sin): Use it.
44128         (__cos): Likewise.
44130         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44131         gotos.
44132         (__cos): Likewise.
44134 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44136         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44137         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44138         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44139         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44140         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44141         * elf/cache.c (print_entry): Handle the new cache flags.
44143 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44144             Aldy Hernandez  <aldyh@redhat.com>
44146         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44147         Change condition to [_SOFT_FLOAT].
44148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44156         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44157         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44158         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44159         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44160         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44161         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44162         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44163         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44164         declaration.
44166 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44168         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44169         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44170         (__longjmp): Use LOAD_GP to load saved GPRs.
44171         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44172         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44173         (__sigsetjmp): Use SAVE_GP to save GPRs.
44175         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44176         Do not append -msoft-float.
44177         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44179 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44181         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44183 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44185         [BZ #15966]
44186         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44187         (_FPU_GETCW): Use initial "__" on variable and field names but not
44188         on macro parameter name.
44189         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44190         parentheses around reference to macro parameter.
44192 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44194         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44195         prototype.
44196         (ctype_startup): Use uint32_t in cast and sizeof for
44197         ctype->charnames.
44199 2013-09-11  Jia Liu  <proljc@gmail.com>
44201         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44202         __daddr_t_defined.
44203         [__FreeBSD__]: Likewise.
44205 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44207         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44208         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44209         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44210         (strchr): Remove __strchr_sse42 ifunc selection.
44211         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44212         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44214 2013-09-11  Will Newton  <will.newton@linaro.org>
44216         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44217         parameter to RES. Remove hardcoded 1000 value.
44218         * benchtests/bench-skeleton.c (main): Pass RES parameter
44219         to TIMING_INIT and multiply result by 1000.
44221 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44225 2013-09-11  Andreas Schwab  <schwab@suse.de>
44227         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44228         if not defined.
44229         (O_TMPFILE) [__USE_GNU]: Define.
44230         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44231         Define.
44233 2013-09-11  Will Newton  <will.newton@linaro.org>
44235         [BZ #15857]
44236         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44237         does not overflow.
44239 2013-09-11  Will Newton  <will.newton@linaro.org>
44241         [BZ #15856]
44242         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44243         does not overflow.
44245 2013-09-11  Will Newton  <will.newton@linaro.org>
44247         [BZ #15855]
44248         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44249         does not overflow.
44251 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44253         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44254         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44255         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44256         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44257         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44259 2013-09-10  Allan McRae  <allan@archlinux.org>
44261         [BZ #15748]
44262         * manual/arith.texi (Parsing of Floats): Clarify
44263         cross-reference.
44265         [BZ #15849]
44266         * manual/install.texi (Running make install): Mention
44267         --enable-pt-chown.
44268         * INSTALL: Regenerated.
44270 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44272         * csu/init-first.c (_init): Remove the !SHARED condition around
44273         FPU control word initialization.
44274         * elf/dl-support.c (_dl_fpu_control): New variable.
44275         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44276         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44277         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44278         * math/test-fpucw-static.c: New file.
44279         * math/test-fpucw-ieee.c: New file.
44280         * math/test-fpucw-ieee-static.c: New file.
44281         * math/Makefile (tests): Add `test-fpucw-ieee' and
44282         `$(tests-static)'.
44283         (tests-static): New variable.
44284         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44285         dependency to...
44286         [($(build-shared),yes)]
44287         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44288         ... this.
44289         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44290         New dependency.
44292 2013-09-09  Allan McRae  <allan@archlinux.org>
44294         [BZ #15939]
44295         * manual/string.texi (Collation Functions): Fix typo in
44296         strcoll example.
44297         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44299         [BZ #15893]
44300         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44302         [BZ #15892]
44303         * libio/memstream.c (open_memstream): Fix memory leak.
44304         * libio/wmemstream.c (open_wmemstream): Likewise.
44306         [BZ #15895]
44307         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44309 2013-09-09  Will Newton  <will.newton@linaro.org>
44311         * malloc/Makefile: Add tst-realloc to tests.
44312         * malloc/tst-realloc.c: New file.
44314 2013-09-09  Allan McRae  <allan@archlinux.org>
44316         [BZ #15844]
44317         * COPYING: Update from GNU website to fix FSF address.
44318         * COPYING.LIB: Likewise.
44320 2013-09-06  David S. Miller  <davem@davemloft.net>
44322         * po/zh_TW.po: Update Chinese (traditional) translation from
44323         translation project.
44325 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
44326             Joseph Myers  <joseph@codesourcery.com>
44328         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44329         "localeinfo.h".
44330         (obstack_chunk_alloc): New macro.
44331         (obstack_chunk_free): Likewise.
44332         (record_offset): New function.
44333         (init_locale_data): Likewise.
44334         (align_locale_data): Likewise.
44335         (add_locale_empty): Likewise.
44336         (add_locale_raw_data): Likewise.
44337         (add_locale_raw_obstack): Likewise.
44338         (add_locale_string): Likewise.
44339         (add_locale_wstring): Likewise.
44340         (add_locale_uint32): Likewise.
44341         (add_locale_uint32_array): Likewise.
44342         (add_locale_char): Likewise.
44343         (start_locale_structure): Likewise.
44344         (end_locale_structure): Likewise.
44345         (start_locale_prelude): Likewise.
44346         (end_locale_prelude): Likewise.
44347         (write_locale_data): Take locale_file structure rather than an
44348         iovec.
44349         * locale/programs/locfile.h: Include "obstack.h".
44350         (struct locale_file): Change to store locale file contents instead
44351         of header.
44352         (init_locale_data): New prototype.
44353         (align_locale_data): Likewise.
44354         (add_locale_empty): Likewise.
44355         (add_locale_raw_data): Likewise.
44356         (add_locale_raw_obstack): Likewise.
44357         (add_locale_string): Likewise.
44358         (add_locale_wstring): Likewise.
44359         (add_locale_uint32): Likewise.
44360         (add_locale_uint32_array): Likewise.
44361         (add_locale_char): Likewise.
44362         (start_locale_structure): Likewise.
44363         (end_locale_structure): Likewise.
44364         (start_locale_prelude): Likewise.
44365         (end_locale_prelude): Likewise.
44366         (write_locale_data): Update prototype.
44367         * locale/programs/3level.h (struct TABLE): Remove result field.
44368         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44369         Use new locale_file interface.
44370         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44371         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44372         * locale/programs/ld-address.c (address_output): Use new
44373         locale_file interface.
44374         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44375         NO_ADD_LOCALE.
44376         (collate_finish): Don't call collseq_table_finalize.
44377         (collate_output): Use new locale_file interface.
44378         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44379         in file.
44380         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44381         (TABLE): Move defines earlier in file.
44382         (ELEMENT): Likewise.
44383         (DEFAULT): Likewise.
44384         (wctrans_table_add): Move macro and inline function earlier in
44385         file.
44386         (struct wctype_table): Move type earlier in file.
44387         (add_locale_wctype_table): New static prototype.
44388         (struct locale_ctype_t): Use logical types instead of struct iovec
44389         pointers for members.
44390         (ctype_output): Use new locale_file interface.
44391         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44392         new locale_file interface.
44393         (allocate_arrays): Update for use of new locale_file interface.
44394         * locale/programs/ld-identification.c (identification_output): Use
44395         new locale_file interface.
44396         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44397         * locale/programs/ld-messages.c (messages_output): Likewise.
44398         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44399         * locale/programs/ld-name.c (name_output): Likewise.
44400         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44401         * locale/programs/ld-paper.c (paper_output): Likewise.
44402         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44403         * locale/programs/ld-time.c (time_output): Likewise.
44405 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44407         * benchtests/Makefile: Add memrchr benchmark.
44408         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44409         benchmark as memrchr.
44410         * benchtests/bench-memrchr-ifunc.c: New file.
44411         * benchtests/bench-memrchr.c: New file.
44413 2013-09-06   Will Newton  <will.newton@linaro.org>
44415         * benchtests/Makefile (string-bench): Add memcpy.
44417 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44418             Cong Wang  <amwang@redhat.com>
44420         [BZ #15850]
44421         * sysdeps/unix/sysv/linux/bits/in.h
44422         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44423         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44424         before __USE_KERNEL_IPV6_DEFS uses.
44425         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44426         IPPROTO_BEETPH.
44427         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44428         sockaddr_in6, or ipv6_mreq.
44430 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44432         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44433         memory access for final bytes in some large inputs.
44434         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44436 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44438         * string/test-memrchr.c: New file.
44439         * string/test-memrchr-ifunc.c: New file.
44440         * string/Makefile: Add new memrchr testcase.
44442 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44444         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44445         fanotify_init returns EPERM.
44447 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44449         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44450         errors.
44451         (top level): Treat second token from macro or constant entries for
44452         allowed headers as allowed.
44453         * include/complex.h: Condition internal declarations on
44454         [!_ISOMAC].
44455         * include/fenv.h: Condition include of <stdbool.h> and internal
44456         declarations on [!_ISOMAC].
44458 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44460         [BZ #15923]
44461         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44463 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44465         * configure.in (--enable-versioning): Remove configure option.
44466         (libc_cv_asm_symver_directive): Remove configure test.
44467         (libc_cv_ld_version_script_option): Likewise.
44468         (VERSIONING): Remove variable and AC_SUBST.
44469         (DO_VERSIONING): Remove AC_DEFINE.
44470         * configure: Regenerated.
44471         * config.h.in (DO_VERSIONING): Remove macro.
44472         * Makerules [$(versioning) = yes]: Change conditionals to
44473         [$(build-shared) = yes].
44474         * config.make.in (versioning): Remove variable.
44475         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44476         [$(build-shared) = yes].
44477         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44478         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44479         * elf/Makefile [$(versioning) = yes]: Change conditionals to
44480         [$(build-shared) = yes].
44481         * extra-lib.mk [$(versioning) = yes]: Likewise.
44482         * hurd/Makefile [$(versioning) = yes]: Likewise.
44483         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44484         [SHARED].
44485         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44486         [SHARED].
44487         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44488         [SHARED && !NO_HIDDEN].
44489         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44490         [SHARED].
44491         [SHARED && DO_VERSIONING]: Likewise..
44492         * libio/Makefile [$(versioning) = yes]: Change conditionals to
44493         [$(build-shared) = yes].
44494         * manual/install.texi (--disable-versioning): Remove
44495         documentation.
44496         * INSTALL: Regenerated.
44497         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44498         to [SHARED].
44499         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44500         [$(build-shared) = yes].
44501         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44502         * sysdeps/i386/i686/multiarch/strstr-c.c
44503         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44504         [SHARED && !NO_HIDDEN].
44505         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44506         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44507         * sysdeps/powerpc/powerpc32/dl-machine.c
44508         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44509         * sysdeps/powerpc/powerpc32/sysdep.h
44510         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44511         to [SHARED && PIC && !NO_HIDDEN].
44512         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44513         conditional to [SHARED].
44515 2013-09-04   Will Newton  <will.newton@linaro.org>
44517         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44518         * benchtests/bench-string.h: Include bench-timing.h instead
44519         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44520         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44521         call to HP_TIMING_DIFF_INIT.
44522         * benchtests/bench-memccpy.c: Use bench-timing.h macros
44523         instead of hp-timing.h macros.
44524         * benchtests/bench-memchr.c: Likewise.
44525         * benchtests/bench-memcmp.c: Likewise.
44526         * benchtests/bench-memcpy.c: Likewise.
44527         * benchtests/bench-memmem.c: Likewise.
44528         * benchtests/bench-memmove.c: Likewise.
44529         * benchtests/bench-memset.c: Likewise.
44530         * benchtests/bench-rawmemchr.c: Likewise.
44531         * benchtests/bench-strcasecmp.c: Likewise.
44532         * benchtests/bench-strcasestr.c: Likewise.
44533         * benchtests/bench-strcat.c: Likewise.
44534         * benchtests/bench-strchr.c: Likewise.
44535         * benchtests/bench-strcmp.c: Likewise.
44536         * benchtests/bench-strcpy.c: Likewise.
44537         * benchtests/bench-strcpy_chk.c: Likewise.
44538         * benchtests/bench-strlen.c: Likewise.
44539         * benchtests/bench-strncasecmp.c: Likewise.
44540         * benchtests/bench-strncat.c: Likewise.
44541         * benchtests/bench-strncmp.c: Likewise.
44542         * benchtests/bench-strncpy.c: Likewise.
44543         * benchtests/bench-strnlen.c: Likewise.
44544         * benchtests/bench-strpbrk.c: Likewise.
44545         * benchtests/bench-strrchr.c: Likewise.
44546         * benchtests/bench-strspn.c: Likewise.
44547         * benchtests/bench-strstr.c: Likewise.
44549 2013-09-04  Will Newton  <will.newton@linaro.org>
44551         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44553 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
44555         [BZ #15427]
44556         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44557         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44558         * math/libm-test.inc (lgamma_test_data): Add more tests.
44559         * sysdeps/i386/fpu/libm-test-ulps: Update.
44560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44562 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
44564         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44566         Add ifunc.
44567         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44568         Add strcmp-sse2-unaligned
44569         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44571 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44573         * Versions.def (libc): Add GLIBC_2.19.
44575 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44577         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44578         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44580 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
44582         [BZ #14155]
44583         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44584         intermediate calculations in recurrence.
44585         (__ieee754_ynf): Likewise.
44586         * math/libm-test.inc (jn_test_data): Do not allow spurious
44587         underflow exception.  Add more tests.
44588         (yn_test_data): Add more tests.
44589         * sysdeps/i386/fpu/libm-test-ulps: Update.
44590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44592 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
44594         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44596 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44598         * csu/init-first.c: Fix then/than typos.
44599         * locale/programs/ld-collate.c: Likewise.
44600         * locale/programs/linereader.h: Likewise.
44601         * manual/charset.texi: Likewise.
44602         * manual/filesys.texi: Likewise.
44603         * manual/stdio.texi: Likewise.
44604         * manual/string.texi: Likewise.
44605         * stdlib/fmtmsg.c: Likewise.
44606         * sysdeps/i386/stpncpy.S: Likewise.
44607         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44608         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44609         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44610         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44612 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44614         * elf/dl-open.c: Fix typos.
44615         * iconvdata/gbbig5.c: Likewise.
44616         * iconvdata/iso-2022-jp.c: Likewise.
44617         * iconv/gconv_int.h: Likewise.
44618         * iconv/loop.c: Likewise.
44619         * nis/rpcsvc/nis.h: Likewise.
44620         * resolv/ns_name.c: Likewise.
44621         * stdio-common/vfscanf.c: Likewise.
44622         * streams/stropts.h: Likewise.
44623         * sunrpc/rpc_thread.c: Likewise.
44624         * sysdeps/i386/strpbrk.S: Likewise.
44625         * sysdeps/ieee754/k_standard.c: Likewise.
44626         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44627         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44628         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44629         * sysdeps/mach/hurd/profil.c: Likewise.
44630         * sysdeps/s390/dl-procinfo.h: Likewise.
44631         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44632         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44633         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44634         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44635         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44637 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44639         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44640         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44642 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44644         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44645         aix specific files.
44646         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44647         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44648         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44649         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44650         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44651         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44652         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44653         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44655 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44656             Roland McGrath  <roland@hack.frob.com>
44658         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44659         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44661 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44663         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44664         __executable_start symbol instead of _start.
44666 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44668         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44669         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44670         Move macros to...
44671         * sysdeps/gnu/ldsodefs.h: ... this new file.
44673         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44674         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44675         instead of ELFOSABI_LINUX.
44677         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44678         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44679         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44680         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44681         Likewise.
44682         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44683         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44684         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44685         Likewise.
44686         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44687         (ibm_extended_long_double): Add ieee_nan member.
44688         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44689         (do_test): New function.
44691         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44692         TEST_TRUNC.
44693         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44694         functions, renamed from truncdfsf_test, trunctfsf_test,
44695         trunctfdf_test.
44696         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44697         functions.
44698         (do_test): Run all these.
44700 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
44702         * argp/argp-help.c: Fix typos.
44703         * argp/argp-parse.c: Likewise.
44704         * debug/backtracesyms.c: Likewise.
44705         * elf/elf.h: Likewise.
44706         * malloc/malloc.c: Likewise.
44707         * nis/nis_print.c: Likewise.
44708         * resolv/res_comp.c: Likewise.
44709         * stdlib/stdlib.h: Likewise.
44710         * sunrpc/clnt_tcp.c: Likewise.
44711         * sunrpc/clnt_udp.c: Likewise.
44712         * sunrpc/clnt_unix.c: Likewise.
44713         * sysdeps/unix/bsd/ptsname.c: Likewise.
44714         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44715         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44717         Likewise.
44718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44719         Likewise.
44720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44721         Likewise.
44722         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44724 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44726         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44727         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44729 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
44731         [BZ #15897]
44732         * dlfcn/Makefile (tests): Add bug-dl-leaf.
44733         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44734         ($(objpfx)bug-dl-leaf): New rule.
44735         ($(objpfx)bug-dl-leaf.so): Likewise.
44736         ($(objpfx)bug-dl-leaf.out): Likewise.
44737         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
44738         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
44739         * dlfcn/bug-dl-leaf.c: New test.
44740         * dlfcn/bug-dl-leaf-lib.c: Likewise.
44741         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
44742         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
44743         (dlclose): Likewise.
44744         (dlmopen): Likewise.
44746 2013-08-27  Roland McGrath  <roland@hack.frob.com>
44748         * include/netdb.h [!_ISOMAC]:
44749         Don't include <tls.h>.
44750         (h_errno, __libc_h_errno): Move declaration and macros out of
44751         [_LIBC_REENTRANT].
44753         * include/resolv.h [_RESOLV_H_]:
44754         Don't include <tls.h>.
44755         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
44756         * resolv/res_libc.c: Don't include <tls.h>.
44757         (_res): Use __attribute__ ((nocommon)) in place of
44758         __attribute__ ((section (".bss"))).
44760         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
44761         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
44763         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
44765         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
44766         only under [SIOCGIFCONF && SIOCGIFNETMASK].
44768         * resolv/res_mkquery.c: Include <sys/time.h>.
44770         * inet/ifreq.c: Moved to ...
44771         * sysdeps/unix/ifreq.c: ... here.
44772         * inet/ifreq.c: New file, true stub version.
44774         * socket/sa_len.c: New file.
44775         * socket/Makefile (aux): Add it.
44776         * sysdeps/unix/sysv/linux/Makefile
44777         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
44778         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
44779         and #include <socket/sa_len.c>.
44780         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
44781         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
44783         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
44784         * bits/socket.h: ... here.
44786         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
44787         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
44788         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
44790 2013-08-27  Andreas Schwab  <schwab@suse.de>
44792         [BZ #15736]
44793         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
44794         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
44795         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
44796         * string/test-strcasecmp.c (test_main): Run tests in several
44797         locales.
44798         * string/test-strncasecmp.c (test_main): Likewise.
44800         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
44801         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
44802         to __strcasecmp_nonascii and __strncasecmp_nonascii.
44803         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
44804         (__strncasecmp_ssse3) [PIC]: Likewise.
44806 2013-08-26  Roland McGrath  <roland@hack.frob.com>
44808         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
44810         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
44811         instead of explicitly declaring xdecrypt.
44812         * nis/nss_nis/nis-publickey.c: Likewise.
44814 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44816         [BZ #15890]
44817         * nscd/aicache.c: Include res_hconf.h.
44818         (addhstaiX): Initialize res_hconf.
44820 2013-08-26  Andreas Schwab  <schwab@suse.de>
44822         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
44823         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
44825 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44827         * nscd/aicache.c (addhstaiX): Fix indentation.
44829 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
44831         * configure.ac: Quote $build_pt_chown test.
44832         * configure: Regenerated.
44834 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
44836         [BZ #15532]
44837         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
44838         * math/s_cexpf.c (__cexpf): Likewise.
44839         * math/s_cexpl.c (__cexpl): Likewise.
44840         * math/libm-test.inc (cexp_test_data): Correct expected return
44841         value for NaN + i0.  Add another test.
44843 2013-08-22  David S. Miller  <davem@davemloft.net>
44845         * po/ca.po: Update Catalan translation from translation project.
44846         * po/uk.po: Add Ukrainian translations from translation project.
44848 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
44850         [BZ #15797]
44851         * math/s_fdim.c (__fdim): Check for infinite arguments if result
44852         is infinite, not alongside NaN test.
44853         * math/s_fdimf.c (__fdimf): Likewise.
44854         * math/s_fdiml.c (__fdiml): Likewise.
44855         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
44856         errno is unchanged.
44858 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
44860         * argp/argp-help.c: Fix typos.
44861         * crypt/speeds.c: Likewise.
44862         * csu/check_fds.c: Likewise.
44863         * elf/dl-load.c: Likewise.
44864         * elf/dl-open.c: Likewise.
44865         * elf/reldep3.c: Likewise.
44866         * elf/reldep.c: Likewise.
44867         * elf/sprof.c: Likewise.
44868         * iconv/iconv_charmap.c: Likewise.
44869         * iconv/skeleton.c: Likewise.
44870         * iconv/strtab.c: Likewise.
44871         * io/lockf64.c: Likewise.
44872         * libio/libioP.h: Likewise.
44873         * resolv/gai_notify.c: Likewise.
44874         * resolv/ns_name.c: Likewise.
44875         * resolv/ns_samedomain.c: Likewise.
44876         * resolv/res_send.c: Likewise.
44877         * stdlib/random.c: Likewise.
44878         * sunrpc/rpc/xdr.h: Likewise.
44879         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
44880         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44881         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44882         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44883         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44884         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44885         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44886         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44887         * sysdeps/mach/hurd/check_fds.c: Likewise.
44888         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44889         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44890         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44891         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44892         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44893         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44894         * sysdeps/pthread/aio_notify.c: Likewise.
44895         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
44896         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
44897         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
44898         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44899         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44901 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44903         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
44904         version if bit_Slow_SSE4_2 is set.
44905         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44906         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44908 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44910         [BZ #15867]
44911         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
44912         trampoline stack frame information.
44913         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
44914         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
44915         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
44916         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
44917         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
44918         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44919         (_libc_vdso_platform_setup): Initialize the signal trampolines.
44920         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
44921         sa_flags value.
44922         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
44923         interrupting a syscall and set with option SA_SIGINFO.
44925 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44927         [BZ #15531]
44928         * math/s_cproj.c (__cproj): Only return an infinity if one part of
44929         argument is infinite.
44930         * math/s_cprojf.c (__cprojf): Likewise.
44931         * math/s_cprojl.c (__cprojl): Likewise.
44932         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
44933         * math/libm-test.inc (cproj_test_data): Add more tests.
44935         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
44937         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
44938         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
44939         size.  Use __ffs to determine corresponding shift.
44941 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44942             Roland McGrath  <roland@hack.frob.com>
44944         * Makefile (INSTALL): Remove trailing blank lines from output of
44945         makeinfo.
44947 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44949         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44950         Align 32 bit compat elf_greg to 8 bytes.
44952 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
44954         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44956 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44958         * string/strcoll_l.c (coll_seq): New structure.
44959         (get_next_seq_cached): New function.
44960         (get_next_seq): New function.
44961         (do_compare): New function.
44962         (STRCOLL): Use GNU style definition.  Simplify implementation
44963         by using get_next_seq, get_next_seq_cached and do_compare.
44965 2013-08-16  Florian Weimer  <fweimer@redhat.com>
44967         [BZ #14699]
44968         CVE-2013-4237
44969         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44970         member.
44971         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44972         member.
44973         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44974         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44975         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
44976         conditional.
44977         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44978         GETDENTS_64BIT_ALIGNED.
44979         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44980         * manual/filesys.texi (Reading/Closing Directory): Document
44981         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
44982         strongly.
44983         * manual/conf.texi (Limits for Files): Add portability note to
44984         NAME_MAX, PATH_MAX.
44985         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44987 2013-08-13  Andreas Schwab  <schwab@suse.de>
44989         [BZ #15749]
44990         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44991         of fabs.
44992         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44993         LDBL_MAX_EXP >= 16384]: Add tests for it.
44995 2013-08-12  David S. Miller  <davem@davemloft.net>
44997         * version.h (RELEASE): Set to "development".
44998         (VERSION): Set to "2.18.90".
44999         * NEWS: Add 2.19 section.
45001 2013-08-03  David S. Miller  <davem@davemloft.net>
45003         * po/ko.po: Update Korean translation from translation project.
45005 2013-08-01  David S. Miller  <davem@davemloft.net>
45007         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45008         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45009         Bilka.
45011 2013-07-30  David S. Miller  <davem@davemloft.net>
45013         * po/fr.po: Update French translation from translation project.
45015 2013-07-28  David S. Miller  <davem@davemloft.net>
45017         * po/cs.po: Update Czech translation from translation project.
45019         * po/sv.po: Update Swedish translation from translation project.
45021 2013-07-27  David S. Miller  <davem@davemloft.net>
45023         * po/eo.po: Update Esperanto translation from translation project.
45025         * po/vi.po: Update Vietnamese translation from translation project.
45027         * po/de.po: Update German translation from translation project.
45029 2013-07-26  David S. Miller  <davem@davemloft.net>
45031         * po/bg.po: Update Bulgarian translation from translation project.
45033         * po/nl.po: Update Dutch translation from translation project.
45034         * po/pl.po: Update Polish translation from translation project.
45035         * po/ru.po: Update Russian translation from translation project.
45037 2013-07-24  David S. Miller  <davem@davemloft.net>
45039         * po/libc.pot: Update.
45041 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45043         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45044         variable page size.
45045         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45046         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45047         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45049 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45051         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45053 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45054             Andreas Schwab  <schwab@suse.de>
45055             Roland McGrath  <roland@hack.frob.com>
45056             Joseph Myers  <joseph@codesourcery.com>
45057             Carlos O'Donell  <carlos@redhat.com>
45059         [BZ #15755]
45060         * config.h.in: Define HAVE_PT_CHOWN.
45061         * config.make.in (build-pt-chown): New variable.
45062         * configure.in (--enable-pt_chown): New configure option.
45063         * configure: Regenerate.
45064         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45065         build-pt-chown is enabled.
45066         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45067         pt_chown to fix pty ownership.
45068         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45069         CLOSE_ALL_FDS.
45070         * manual/install.texi (Configuring and compiling): Mention
45071         --enable-pt_chown. Add @findex for grantpt.
45072         * INSTALL: Regenerate.
45074 2013-07-20  David S. Miller  <davem@davemloft.net>
45076         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45077         difference between 32-bit and 64-bit.
45079 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45081         [BZ #15711]
45082         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45083         Avoid system header dependency with -ffreestanding.
45084         ($(objpfx)bits/syscall%d): Likewise.
45086 2013-07-13  David S. Miller  <davem@davemloft.net>
45088         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45089         underflows from atanl/atan2l due to bug 15319.
45090         (casinh_test_data): Likewise.
45092 2013-07-07  David S. Miller  <davem@davemloft.net>
45094         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45096 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45098         * sysdeps/i386/fpu/libm-test-ulps: Update.
45099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45101 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45103         * configure.in (--enable-lock-elision): Fix message text.
45104         * INSTALL: Regenerate.
45105         * configure: Regenerate.
45107 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45111 2013-07-03  Andreas Jaeger  <aj@suse.de>
45113         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45114         define.
45115         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45116         (ptrace_peeksiginfo_args): Add.
45117         (__ptrace_peeksiginfo_flags): Add.
45118         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45119         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45120         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45122 2013-07-03  Allan McRae  <allan@archlinux.org>
45124         * sysdeps/i386/fpu/libm-test-ulps: Update.
45126 2013-07-02  David S. Miller  <davem@davemloft.net>
45128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45130 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45132         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45134 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45136         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45139 2013-07-02  Andi Kleen <ak@linux.intel.com>
45141         * config.h.in (ENABLE_LOCK_ELISION): Add.
45142         * configure.in (--enable-lock-elision): Add option.
45143         * manual/install.texi: Document --enable lock elision.
45144         * configure: Regenerate
45145         * INSTALL: Regenerate.
45147 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45149         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45150         SSE4.2 strcasecmp for libc.a.
45151         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45153 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45155         [BZ #13304]
45156         * soft-fp/op-common.h (_FP_FMA): New macro.
45157         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45158         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45159         (_FP_MUL_MEAT_1_imm): ... here.
45160         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45161         (_FP_MUL_MEAT_1_wide): ... here.
45162         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45163         (_FP_MUL_MEAT_1_hard): ... here.
45164         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45165         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45166         (_FP_MUL_MEAT_2_wide): ... here.
45167         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45168         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45169         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45170         (_FP_MUL_MEAT_2_gmp): ... here.
45171         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45172         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45173         (_FP_MUL_MEAT_4_wide): ... here.
45174         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45175         (_FP_MUL_MEAT_4_gmp): ... here.
45176         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45177         (_FP_WFRACBITS_DW_S): Likewise.
45178         (_FP_WFRACXBITS_DW_S): Likewise.
45179         (_FP_HIGHBIT_DW_S): Likewise.
45180         (FP_FMA_S): Likewise.
45181         (_FP_FRAC_HIGH_DW_S): Likewise.
45182         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45183         (_FP_WFRACBITS_DW_D): Likewise.
45184         (_FP_WFRACXBITS_DW_D): Likewise.
45185         (_FP_HIGHBIT_DW_D): Likewise.
45186         (FP_FMA_D): Likewise.
45187         (_FP_FRAC_HIGH_DW_D): Likewise.
45188         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45189         (_FP_WFRACBITS_DW_E): Likewise.
45190         (_FP_WFRACXBITS_DW_E): Likewise.
45191         (_FP_HIGHBIT_DW_E): Likewise.
45192         (FP_FMA_E): Likewise.
45193         (_FP_FRAC_HIGH_DW_E): Likewise.
45194         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45195         (_FP_WFRACBITS_DW_Q): Likewise.
45196         (_FP_WFRACXBITS_DW_Q): Likewise.
45197         (_FP_HIGHBIT_DW_Q): Likewise.
45198         (FP_FMA_Q): Likewise.
45199         (_FP_FRAC_HIGH_DW_Q): Likewise.
45200         * soft-fp/fmasf4.c: New file.
45201         * soft-fp/fmadf4.c: Likewise.
45202         * soft-fp/fmatf4.c: Likewise.
45204 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45206         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45207         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45208         Silvermont.
45209         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45210         macro.
45211         (index_Slow_SSE4_2): Likewise.
45212         (index_Prefer_PMINUB_for_stringop): Likewise.
45213         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45214         bit_Slow_SSE4_2 is set.
45215         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45216         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45218 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45220         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45221         rtld_global._dl_hwcap2.
45222         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45223         POWER8.
45224         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45225         POWER8 feature descriptions defined in _dl_hwcap2.
45226         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45227         string handling for POWER8 feature bits.
45228         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45229         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45230         _dl_powerpc_cap_flags.
45231         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45232         * sysdeps/powerpc/rtld-global-offsets.sym
45233         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45234         _dl_hwcap2 in the rtld_global_ro structure.
45236 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45238         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45239         hardware capabilities in support of AT_HWCAP2.
45240         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45241         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45242         GLRO(dl_hwcap2).
45243         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45244         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45245         explicitly the unknown a_type display mechanism is used.
45246         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45247         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45248         struct member.
45249         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45250         to macro prototype for AT_HWCAP2 support.
45251         * sysdeps/i386/dl-procinfo.h: Likewise.
45252         * sysdeps/s390/dl-procinfo.h: Likewise.
45253         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45254         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45255         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45256         return -1 for unknown a_type display fallback.
45257         * sysdeps/sparc/dl-procinfo.h: Likewise.
45258         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45259         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45261 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45263         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45264         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45266 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45268         [BZ #12492]
45269         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45270         mprotect making __stack_prot writable.
45272 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45273             Joseph Myers  <joseph@codesourcery.com>
45275         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45276         as being properly aligned.
45278 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45280         * dlfcn/modstatic5.c: New file.
45281         * dlfcn/tststatic5.c: New file.
45282         * dlfcn/Makefile (tests): Add tststatic5.
45283         (tests-static): Likewise.
45284         (modules-names): Add modstatic5.
45285         (tststatic5-ENV): New variable.
45286         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45288         [BZ #15022]
45289         * elf/dl-support.c (_dl_main_map): New variable.
45290         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45291         (_dl_nns, _dl_load_adds): Set to 1.
45292         (_dl_initial_searchlist): Refer to _dl_main_map.
45293         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45294         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45295         call to _dl_get_origin.
45296         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45297         around call_map.
45298         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45299         * dlfcn/modstatic3.c: New file.
45300         * dlfcn/tststatic3.c: New file.
45301         * dlfcn/tststatic4.c: New file.
45302         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45303         (tests-static): Likewise.
45304         (modules-names): Add modstatic3.
45305         (tststatic3-ENV, tststatic4-ENV): New variables.
45306         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45307         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45309 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45311         * configure.in (CC): Require GCC version 4.4 or later.
45312         * configure: Regenerated.
45313         * manual/install.texi (Tools for Compilation): Update GCC version
45314         requirement.
45315         * INSTALL: Regenerated.
45317 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45319         [BZ #15674]
45320         * string/test-memcmp.c (check2): New.
45321         (main): Call check2.
45323         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45325 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
45327         [BZ #15022]
45328         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45329         over to...
45330         (dl_open_worker) [!SHARED]: ... here.
45332 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45334         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45336 2013-06-25  Richard Henderson  <rth@redhat.com>
45338         * locale/programs/locarchive.c: Include <libc-internal.h>
45340 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
45342         * manual/texinfo.tex: Update to version 2013-06-21.17, with
45343         trailing whitespace removed.
45345 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45347         [BZ #10283]
45348         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45349         * locale/programs/locarchive.c: Include libc-mmap.h.
45350         (prepare_address_space): Take two new outputs (the mmap base and len).
45351         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
45352         values.
45353         (create_archive): Declare new mmap base and len values for
45354         prepare_address_space, and store the result in ah.
45355         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45356         (enlarge_archive): If ah->mmap_base is not NULL, use that and
45357         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45358         Declare new mmap base and len values for
45359         prepare_address_space, and store the result in new_ah.
45360         (open_archive): Declare new mmap base and len values for
45361         prepare_address_space, and store the result in ah.
45362         (close_archive): If ah->mmap_base is not NULL, use that and
45363         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45364         * sysdeps/generic/libc-mmap.h: New file.
45366 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45368         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45369         (ALIGN_UP): Likewise.
45370         (PTR_ALIGN_DOWN): Likewise.
45371         (PTR_ALIGN_UP): Likewise.
45373 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45375         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45376         entry mapped to PPC_PLATFORM_POWER8.
45377         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45378         POWER8.
45379         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45380         (_dl_string_platform): Add case for exporting platform position for
45381         POWER8.
45382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45383         search path to sysdeps/powerpc/powerpc32/power8 directory.
45384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45385         search path to sysdeps/powerpc/powerpc64/power8 directory.
45386         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45387         power7 directories.
45388         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45389         power7 directories.
45391 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45393         * INSTALL: Regenerate.
45395         * nscd/connections.c (nscd_init): Fix comment.
45397 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45399         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45401         [BZ #15667]
45402         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45403         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45405 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45407         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45408         DL_DST_REQ_STATIC.
45409         (DL_DST_REQ_STATIC): Remove macro.
45411 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45413         [BZ #7006]
45414         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45415         with a shift of 0 bits.
45417 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45419         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45420         $(tststatic-ENV).
45422 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45424         [BZ #15655]
45425         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45427 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45429         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45430         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45431         accepts -fno-tree-loop-distribute-patterns.
45432         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45433         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45434         recursive call.
45435         * string/memset.c (memset): Likewise.
45436         * string/test-memmove.c (simple_memmove): Disable loop transformation
45437         to library calls.
45438         * string/test-memset.c (simple_memset): Likewise.
45439         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45440         * benchtests/bench-memset.c (simple_memset): Likewise.
45441         * configure: Regenerated.
45443 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45445         * math/test-misc.c (main): Ignore fesetround failure when failures
45446         of subsequent rounding tests would be ignored.
45448         [BZ #15654]
45449         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45450         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45451         * math/fegetenv.c (__fegetenv): Return 0.
45452         * math/fegetexcept.c (fegetexcept): Return 0.
45453         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45454         FE_TONEAREST.
45455         * math/feholdexcpt.c (feholdexcept): Return 0.
45456         * math/fesetenv.c (__fesetenv): Return 0.
45457         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45458         argument FE_TONEAREST.
45459         * math/feupdateenv.c (__feupdateenv): Return 0.
45460         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45462 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45464         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45465         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45466         ($(objpfx)rtld-%.os rules): Use them.
45468 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45470         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45471         fields.
45473 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45475         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45476         length of target pattern, then descending length of dependency pattern.
45477         * configure.in (AWK): Require gawk 3.1.2 or newer.
45478         * manual/install.texi (Tools for Compilation): Say that we do.
45479         * configure: Regenerated.
45481         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45482         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45483         * scripts/sysd-rules.awk: ... this new script.
45484         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45485         than a glob-style pattern.
45487 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
45489         * math/test-misc.c (main): Do not treat incorrectly rounded
45490         conversions as failure unless ROUNDING_TESTS passes.
45492 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
45494         [BZ #15631]
45495         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45496         restore exception state around main square root computation, then
45497         check for inexactness explicitly.
45499         * math/libm-test.inc (fma_test_data): Add another test.
45501 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45503         * manual/threads.texi (Non-POSIX Extensions): New document
45504         node.  Document pthread_getattr_default_np and
45505         pthread_setattr_default_np.
45507         * Versions.def (libpthread): Add GLIBC_2.18.
45508         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45510         Likewise.
45511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45512         Likewise.
45513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45514         Likewise.
45515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45516         Likewise.
45517         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45518         Likewise.
45519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45520         Likewise.
45521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45522         Likewise.
45523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45524         Likewise.
45525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45526         Likewise.
45528 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45531         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45533 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45534             H.J. Lu  <hjl.tools@gmail.com>
45536         [BZ #15627]
45537         * sysdeps/x86_64/rtld-memset.c: Remove file.
45538         * sysdeps/x86_64/rtld-memset.S: New file.
45540 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
45542         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45543         (test_in_one_mode): Take arguments for whether the rounding mode
45544         is supported for each floating-point type.
45545         (do_test): Pass new arguments to test_in_one_mode using
45546         ROUNDING_TESTS.
45548 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45550         * posix/tst-waitid.c (do_test): Distinguish different instances of
45551         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
45552         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45553         before entering the kernel for waitpid.
45555 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45557         * NEWS: Fix note on clock function precision.  Text by Roland
45558         McGrath.
45560 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45562         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45563         it into place only when and if the sanity check passes.
45565 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
45567         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45568         output for whether conversion result is exact.  Take argument
45569         indicating whether type is IBM long double.
45570         (round_for_all): Change need_exact field to ibm_ld.
45571         * stdlib/tst-strtod-round.c (struct exactness): New type.
45572         (struct test): Change bool ld_ok field to struct exactness exact.
45573         (TEST): Update all definitions for change to field.
45574         (tests): Regenerate array contents.
45575         (test_in_one_mode): Take pointer to new field instead of old ld_ok
45576         field value.  Check for IBM long double here.
45577         (do_test): Update calls to test_in_one_mode.
45579 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45581         [BZ #12515]
45582         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45583         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45585 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45587         [BZ #15605]
45588         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45589         generated by the compiler on loop optimizations.
45590         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45591         general definitions.
45593 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
45595         * math/bug-nextafter.c: Include <math-tests.h>.
45596         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45597         the relevant type.
45598         * math/bug-nexttoward.c: Include <math-tests.h>.
45599         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45600         the relevant type.
45601         * math/test-misc.c: Include <math-tests.h>.
45602         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45603         the relevant type.
45605 2013-06-12  Andreas Jaeger  <aj@suse.de>
45607         * po/ia.po: Update Interlingua translation from translation
45608         project.
45610 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45612         * include/fenv.h: Include stdbool.h.
45613         (struct rm_ctx): New structure.
45614         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45615         Define macro.
45616         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45617         (SET_RESTORE_ROUNDF): Likewise.
45618         (SET_RESTORE_ROUNDL): Likewise.
45619         (SET_RESTORE_ROUND_NOEX): Likewise.
45620         (SET_RESTORE_ROUND_NOEXF): Likewise.
45621         (SET_RESTORE_ROUND_NOEXL): Likewise.
45622         (SET_RESTORE_ROUND_53BIT): Likewise.
45623         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45624         (libc_feresetround_noexf_ctx): Likewise.
45625         (libc_feresetround_noexl_ctx): Likewise.
45626         (libc_feholdsetround_53bit_ctx): Likewise.
45627         (libc_feresetround_53bit_ctx): Likewise.
45628         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45629         (libc_feholdexcept_setround_sse_ctx): New function.
45630         (libc_fesetenv_sse_ctx): Likewise.
45631         (libc_feupdateenv_sse_ctx): Likewise.
45632         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45633         (libc_feholdexcept_setround_387_ctx): Likewise.
45634         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45635         (libc_feholdsetround_387_prec_ctx): Likewise.
45636         (libc_feholdsetround_387_ctx): Likewise.
45637         (libc_feholdsetround_387_53bit_ctx): Likewise.
45638         (libc_feholdsetround_sse_ctx): Likewise.
45639         (libc_feresetround_sse_ctx): Likewise.
45640         (libc_feresetround_387_ctx): Likewise.
45641         (libc_feupdateenv_387_ctx): Likewise.
45642         (libc_feholdexcept_setroundf_ctx): Define macro.
45643         (libc_fesetenvf_ctx): Likewise.
45644         (libc_feupdateenvf_ctx): Likewise.
45645         (libc_feholdsetroundf_ctx): Likewise.
45646         (libc_feresetroundf_ctx): Likewise.
45647         (libc_feholdexcept_setround_ctx): Likewise.
45648         (libc_fesetenv_ctx): Likewise.
45649         (libc_feupdateenv_ctx): Likewise.
45650         (libc_feholdsetround_ctx): Likewise.
45651         (libc_feresetround_ctx): Likewise.
45652         (libc_feholdexcept_setroundl_ctx): Likewise.
45653         (libc_feupdateenvl_ctx): Likewise.
45654         (libc_feholdsetroundl_ctx): Likewise.
45655         (libc_feresetroundl_ctx): Likewise.
45656         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45657         (libc_feresetround_53bit_ctx): Likewise.
45659 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45661         * locale/iso-639.def: Convert to UTF-8.
45663 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45665         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45666         (EXCEPTION_TESTS_double): Likewise.
45667         (EXCEPTION_TESTS_long_double): Likewise.
45668         (EXCEPTION_TESTS): Likewise.
45669         * math/libm-test.inc (test_exceptions): Only test exceptions if
45670         EXCEPTION_TESTS (FLOAT).
45672 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45674         * benchtests/Makefile (string-bench): Add strcpy_chk and
45675         stpcpy_chk.
45676         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45677         * benchtests/bench-stpcpy_chk.c: New file.
45678         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45679         * benchtests/bench-strcpy_chk.c: New file.
45680         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45681         code.
45682         (do_test): Likewise.
45684 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45686         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45687         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45688         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45689         with tabs where appropriate.
45690         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45691         dl-procinfo.h.
45692         [PPC_PLATFORM_PPC440]: Likewise.
45693         [PPC_PLATFORM_PPC464]: Likewise.
45694         [PPC_PLATFORM_PPC476]: Likewise.
45695         (_dl_string_platform): Add support for detecting ppc405, ppc440,
45696         ppc464, and ppc476 platform strings merging from ports/
45697         dl-procinfo.h.
45699 2013-06-11  Andreas Schwab  <schwab@suse.de>
45701         [BZ #14991]
45702         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45703         (from_ucs4_idx): Regenerate.
45704         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45705         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45706         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45707         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45708         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45709         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45710         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45711         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45712         from FROM_LOOP and TO_LOOP specific macros.
45713         (BODY): Handle combining characters.
45714         * iconvdata/BIG5HKSCS.irreversible: Update.
45715         * iconvdata/BIG5HKSCS.precomposed: New file.
45716         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45717         characters.
45718         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45720 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45722         * include/sys/time.h: Fix indentation and add copyright header.
45724         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45725         (do_test): Likewise.
45726         * string/test-memchr.c (do_one_test): Likewise.
45727         (do_test): Likewise.
45728         * string/test-memcmp.c (do_one_test): Likewise.
45729         (do_test): Likewise.
45730         * string/test-memcpy.c (do_one_test): Likewise.
45731         (do_test): Likewise.
45732         * string/test-memmem.c (do_one_test): Likewise.
45733         (do_test): Likewise.
45734         (do_random_tests): Likewise.
45735         * string/test-memmove.c (do_one_test): Likewise.
45736         (do_test): Likewise.
45737         * string/test-memset.c (do_one_test): Likewise.
45738         (do_test): Likewise.
45739         * string/test-rawmemchr.c (do_one_test): Likewise.
45740         (do_test): Likewise.
45741         * string/test-strcasecmp.c (do_one_test): Likewise.
45742         (do_test): Likewise.
45743         * string/test-strcasestr.c (do_one_test): Likewise.
45744         (do_test): Likewise.
45745         * string/test-strcat.c (do_one_test): Likewise.
45746         (do_test): Likewise.
45747         * string/test-strchr.c (do_one_test): Likewise.
45748         (do_test): Likewise.
45749         * string/test-strcmp.c (do_one_test): Likewise.
45750         (do_test): Likewise.
45751         * string/test-strcpy.c (do_one_test): Likewise.
45752         (do_test): Likewise.
45753         * string/test-string.h: Likewise.
45754         (test_init): Likewise.
45755         * string/test-strlen.c (do_one_test): Likewise.
45756         (do_test): Likewise.
45757         * string/test-strncasecmp.c (do_one_test): Likewise.
45758         (do_test): Likewise.
45759         * string/test-strncat.c (do_one_test): Likewise.
45760         (do_test): Likewise.
45761         * string/test-strncmp.c (do_one_test): Likewise.
45762         (do_test_limit): Likewise.
45763         (do_test): Likewise.
45764         * string/test-strncpy.c (do_one_test): Likewise.
45765         (do_test): Likewise.
45766         * string/test-strnlen.c (do_one_test): Likewise.
45767         (do_test): Likewise.
45768         * string/test-strpbrk.c (do_one_test): Likewise.
45769         (do_test): Likewise.
45770         * string/test-strrchr.c (do_one_test): Likewise.
45771         (do_test): Likewise.
45772         * string/test-strspn.c (do_one_test): Likewise.
45773         (do_test): Likewise.
45774         * string/test-strstr.c (do_one_test): Likewise.
45775         (do_test): Likewise.
45777         * benchtests/Makefile (string-bench): Add string benchmarks.
45778         * benchtests/bench-bcopy-ifunc.c: New file.
45779         * benchtests/bench-bcopy.c: New file.
45780         * benchtests/bench-bzero-ifunc.c: New file.
45781         * benchtests/bench-bzero.c: New file.
45782         * benchtests/bench-memccpy-ifunc.c: New file.
45783         * benchtests/bench-memccpy.c: New file.
45784         * benchtests/bench-memchr-ifunc.c: New file.
45785         * benchtests/bench-memchr.c: New file.
45786         * benchtests/bench-memcmp-ifunc.c: New file.
45787         * benchtests/bench-memcmp.c: New file.
45788         * benchtests/bench-memmem-ifunc.c: New file.
45789         * benchtests/bench-memmem.c: New file.
45790         * benchtests/bench-memmove-ifunc.c: New file.
45791         * benchtests/bench-memmove.c: New file.
45792         * benchtests/bench-mempcpy-ifunc.c: New file.
45793         * benchtests/bench-mempcpy.c: New file.
45794         * benchtests/bench-memset-ifunc.c: New file.
45795         * benchtests/bench-memset.c: New file.
45796         * benchtests/bench-rawmemchr-ifunc.c: New file.
45797         * benchtests/bench-rawmemchr.c: New file.
45798         * benchtests/bench-stpcpy-ifunc.c: New file.
45799         * benchtests/bench-stpcpy.c: New file.
45800         * benchtests/bench-stpncpy-ifunc.c: New file.
45801         * benchtests/bench-stpncpy.c: New file.
45802         * benchtests/bench-strcasecmp-ifunc.c: New file.
45803         * benchtests/bench-strcasecmp.c: New file.
45804         * benchtests/bench-strcasestr-ifunc.c: New file.
45805         * benchtests/bench-strcasestr.c: New file.
45806         * benchtests/bench-strcat-ifunc.c: New file.
45807         * benchtests/bench-strcat.c: New file.
45808         * benchtests/bench-strchr-ifunc.c: New file.
45809         * benchtests/bench-strchr.c: New file.
45810         * benchtests/bench-strchrnul-ifunc.c: New file.
45811         * benchtests/bench-strchrnul.c: New file.
45812         * benchtests/bench-strcmp-ifunc.c: New file.
45813         * benchtests/bench-strcmp.c: New file.
45814         * benchtests/bench-strcpy-ifunc.c: New file.
45815         * benchtests/bench-strcpy.c: New file.
45816         * benchtests/bench-strcspn-ifunc.c: New file.
45817         * benchtests/bench-strcspn.c: New file.
45818         * benchtests/bench-strlen-ifunc.c: New file.
45819         * benchtests/bench-strlen.c: New file.
45820         * benchtests/bench-strncasecmp-ifunc.c: New file.
45821         * benchtests/bench-strncasecmp.c: New file.
45822         * benchtests/bench-strncat-ifunc.c: New file.
45823         * benchtests/bench-strncat.c: New file.
45824         * benchtests/bench-strncmp-ifunc.c: New file.
45825         * benchtests/bench-strncmp.c: New file.
45826         * benchtests/bench-strncpy-ifunc.c: New file.
45827         * benchtests/bench-strncpy.c: New file.
45828         * benchtests/bench-strnlen-ifunc.c: New file.
45829         * benchtests/bench-strnlen.c: New file.
45830         * benchtests/bench-strpbrk-ifunc.c: New file.
45831         * benchtests/bench-strpbrk.c: New file.
45832         * benchtests/bench-strrchr-ifunc.c: New file.
45833         * benchtests/bench-strrchr.c: New file.
45834         * benchtests/bench-strspn-ifunc.c: New file.
45835         * benchtests/bench-strspn.c: New file.
45836         * benchtests/bench-strstr-ifunc.c: New file.
45837         * benchtests/bench-strstr.c: New file.
45839         * benchtests/Makefile: Disable parallel execution of targets.
45840         (string-bench): Add memcpy.
45841         (benchset): New variable to store a list of benchmark sets.
45842         (bench-func): Renamed from bench.
45843         (bench-set): New target.
45844         (bench): Depend on bench-func and bench-set.
45845         * benchtests/README: Add section on benchmark sets.
45846         * benchtests/bench-memcpy-ifunc.c: New file.
45847         * benchtests/bench-memcpy.c: New file.
45848         * benchtests/bench-string.h: New file.
45850 2013-06-11  Andreas Schwab  <schwab@suse.de>
45852         [BZ #15577]
45853         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
45854         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
45855         values in the triple.
45856         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
45857         terminator in the group key.
45859 2013-06-11  Andreas Jaeger  <aj@suse.de>
45861         * po/zh_TW.po: Update Chinese (traditional) translation from
45862         translation project.
45864 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45866         * include/time.h (__clock_gettime): Add libc_hidden_proto.
45867         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
45868         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
45869         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45870         (clock_getcpuclockid): Likewise.
45871         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
45872         Add weak_alias and libc_hidden_def.
45873         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
45874         * rt/clock_gettime.c (clock_gettime): Rename to
45875         __clock_gettime.  Add weak_alias and libc_hidden_def.
45876         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
45877         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
45878         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
45879         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
45880         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
45881         Likewise.
45882         * rt/clock_settime.c (clock_settime): Rename to
45883         __clock_settime.  Add weak_alias and libc_hidden_def.
45884         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
45886 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
45888         * mach/err_boot.sub: Remove trailing whitespace.
45889         * mach/err_ipc.sub: Likewise.
45890         * mach/err_mach.sub: Likewise.
45892         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
45893         (ROUNDING_TESTS_double): Likewise.
45894         (ROUNDING_TESTS_long_double): Likewise.
45895         (ROUNDING_TESTS): Likewise.
45896         * math/libm-test.inc: Include <math-tests.h>.
45897         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
45898         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45899         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45900         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45902 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45904         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
45905         of assigning.
45907 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
45909         * sysdeps/gnu/errlist.awk: Do not generate space at end of
45910         otherwise empty TRANS lines.
45911         * sysdeps/gnu/errlist.c: Regenerated.
45913         * catgets/gencat.c (error_print): Use (void) in function
45914         definition.
45915         * crypt/crypt_util.c (__init_des): Likewise.
45916         * crypt/speeds.c (Stop): Likewise.
45917         (main): Likewise.
45918         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
45919         * inet/ruserpass.c (token): Likewise.
45920         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
45921         * intl/localealias.c (extend_alias_table): Likewise.
45922         * intl/plural-exp.c (init_germanic_plural): Likewise.
45923         * libio/fcloseall.c (__fcloseall): Likewise.
45924         * libio/genops.c (_IO_flush_all): Likewise.
45925         (_IO_flush_all_linebuffered): Likewise.
45926         (_IO_cleanup): Likewise.
45927         (_IO_iter_begin): Likewise.
45928         (_IO_iter_end): Likewise.
45929         (_IO_list_lock): Likewise.
45930         (_IO_list_unlock): Likewise.
45931         (_IO_list_resetlock): Likewise.
45932         * libio/getchar.c (getchar): Likewise.
45933         * libio/getchar_u.c (getchar_unlocked): Likewise.
45934         * libio/getwchar.c (getwchar): Likewise.
45935         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
45936         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
45937         * login/getpt.c (__getpt): Likewise.
45938         * login/tst-utmp.c (main): Likewise.
45939         * malloc/hooks.c (__malloc_check_init): Likewise.
45940         * malloc/malloc.c (__malloc_stats): Likewise.
45941         * malloc/mtrace.c (tr_break): Likewise.
45942         (mtrace): Likewise.
45943         (muntrace): Likewise.
45944         * misc/fstab.c (endfsent): Likewise.
45945         * misc/getclktck.c (__getclktck): Likewise.
45946         * misc/getdtsz.c (__getdtablesize): Likewise.
45947         * misc/gethostid.c (gethostid): Likewise.
45948         * misc/getpagesize.c (__getpagesize): Likewise.
45949         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45950         (__get_nprocs): Likewise.
45951         (__get_phys_pages): Likewise.
45952         (__get_avphys_pages): Likewise.
45953         * misc/getttyent.c (getttyent): Likewise.
45954         (setttyent): Likewise.
45955         (endttyent): Likewise.
45956         * misc/getusershell.c (getusershell): Likewise.
45957         (endusershell): Likewise.
45958         (setusershell): Likewise.
45959         (initshells): Likewise.
45960         * misc/hsearch.c (__hdestroy): Likewise.
45961         * misc/sync.c (sync): Likewise.
45962         * misc/syslog.c (closelog_internal): Likewise.
45963         (closelog): Likewise.
45964         * misc/ttyslot.c (ttyslot): Likewise.
45965         * misc/vhangup.c (vhangup): Likewise.
45966         * posix/fork.c (__fork): Likewise.
45967         * posix/getegid.c (__getegid): Likewise.
45968         * posix/geteuid.c (__geteuid): Likewise.
45969         * posix/getgid.c (__getgid): Likewise.
45970         * posix/getpid.c (__getpid): Likewise.
45971         * posix/getppid.c (__getppid): Likewise.
45972         * posix/getuid.c (__getuid): Likewise.
45973         * posix/pause.c (pause): Likewise.
45974         * posix/setpgrp.c (setpgrp): Likewise.
45975         * posix/setsid.c (__setsid): Likewise.
45976         * posix/test-vfork.c (noop): Likewise.
45977         * resolv/gethnamaddr.c (_endhtent): Likewise.
45978         (_gethtent): Likewise.
45979         (ht_endhostent): Likewise.
45980         (gethostent): Likewise.
45981         (dns_service): Likewise.
45982         * stdlib/drand48.c (drand48): Likewise.
45983         * stdlib/lrand48.c (lrand48): Likewise.
45984         * stdlib/mrand48.c (mrand48): Likewise.
45985         * stdlib/rand.c (rand): Likewise.
45986         * stdlib/random.c (__random): Likewise.
45987         * stdlib/setenv.c (clearenv): Likewise.
45988         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45989         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45990         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45991         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45992         (__get_nprocs): Likewise.
45993         (__get_phys_pages): Likewise.
45994         (__get_avphys_pages): Likewise.
45995         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45996         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45997         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45998         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45999         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46000         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46001         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46002         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46003         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46004         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46005         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46006         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46007         * sysdeps/posix/clock.c (clock): Likewise.
46008         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46009         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46010         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46011         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46012         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46013         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46014         (__get_nprocs_conf): Likewise.
46015         (__get_phys_pages): Likewise.
46016         (__get_avphys_pages): Likewise.
46017         * time/clock.c (clock): Likewise.
46018         * time/tzset.c (__tzname_max): Likewise.
46020 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46022         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46023         (__bswap_32): Do not use "register".
46024         * crypt/crypt.c (_ufc_doit_r): Likewise.
46025         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46026         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46027         * gmon/gmon.c (__monstartup): Likewise.
46028         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46029         * hurd/hurdmalloc.c (more_memory): Likewise.
46030         (malloc): Likewise.
46031         (free): Likewise.
46032         (realloc): Likewise.
46033         (malloc_fork_prepare): Likewise.
46034         (malloc_fork_parent): Likewise.
46035         (malloc_fork_child): Likewise.
46036         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46037         (_svcauth_des): Likewise.
46038         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46039         * inet/inet_net.c (inet_network): Likewise.
46040         * inet/inet_netof.c (inet_netof): Likewise.
46041         * inet/rcmd.c (__validuser2_sa): Likewise.
46042         * io/fts.c (fts_open): Likewise.
46043         (fts_load): Likewise.
46044         (fts_close): Likewise.
46045         (fts_read): Likewise.
46046         (fts_children): Likewise.
46047         (fts_build): Likewise.
46048         (fts_stat): Likewise.
46049         (fts_sort): Likewise.
46050         (fts_alloc): Likewise.
46051         (fts_lfree): Likewise.
46052         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46053         (_IO_file_xsgetn): Likewise.
46054         (_IO_file_xsgetn_mmap): Likewise.
46055         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46056         (_IO_cookie_write): Likewise.
46057         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46058         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46059         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46060         * malloc/obstack.c (_obstack_begin): Likewise.
46061         (_obstack_begin_1): Likewise.
46062         (_obstack_newchunk): Likewise.
46063         (_obstack_allocated_p): Likewise.
46064         (obstack_free): Likewise.
46065         (_obstack_memory_used): Likewise.
46066         * misc/getttyent.c (getttynam): Likewise.
46067         (getttyent): Likewise.
46068         (skip): Likewise.
46069         (value): Likewise.
46070         * misc/getusershell.c (initshells): Likewise.
46071         * misc/syslog.c (__vsyslog_chk): Likewise.
46072         * misc/ttyslot.c (ttyslot): Likewise.
46073         * nis/nis_hash.c (__nis_hash): Likewise.
46074         * posix/fnmatch_loop.c (FCT): Likewise.
46075         * posix/getconf.c (print_all): Likewise.
46076         (main): Likewise.
46077         * posix/getopt.c (exchange): Likewise.
46078         * posix/glob.c (globfree): Likewise.
46079         (prefix_array): Likewise.
46080         (__glob_pattern_type): Likewise.
46081         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46082         (NS_GET32): Likewise.
46083         (NS_PUT16): Likewise.
46084         (NS_PUT32): Likewise.
46085         * resolv/gethnamaddr.c (getanswer): Likewise.
46086         (gethostbyname2): Likewise.
46087         (gethostbyaddr): Likewise.
46088         (_gethtent): Likewise.
46089         (_gethtbyname2): Likewise.
46090         (_gethtbyaddr): Likewise.
46091         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46092         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46093         * resolv/res_init.c (__res_vinit): Likewise.
46094         (net_mask): Likewise.
46095         * resolv/res_mkquery.c (outchar): Likewise.
46096         (PRINT): Likewise.
46097         * stdio-common/printf_fp.c (outchar): Likewise.
46098         (PRINT): Likewise.
46099         * stdio-common/printf_fphex.c (outchar): Likewise.
46100         (PRINT): Likewise.
46101         * stdio-common/printf_size.c (outchar): Likewise.
46102         (PRINT): Likewise.
46103         * stdio-common/test_rdwr.c (main): Likewise.
46104         * stdio-common/tfformat.c (matches): Likewise.
46105         * stdio-common/vfprintf.c (outchar): Likewise.
46106         (printf_unknown): Likewise.
46107         (buffered_vfprintf): Likewise.
46108         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46109         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46110         (ReadFile): Likewise.
46111         * stdlib/qsort.c (SWAP): Likewise.
46112         (_quicksort): Likewise.
46113         * stdlib/setenv.c (__add_to_environ): Likewise.
46114         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46115         * stdlib/strtol_l.c (__strtol_l): Likewise.
46116         * stdlib/tst-strtod.c (main): Likewise.
46117         * stdlib/tst-strtol.c (main): Likewise.
46118         * stdlib/tst-strtoll.c (main): Likewise.
46119         * string/bits/string2.h (__strcmp_cc): Likewise.
46120         (__strcmp_cg): Likewise.
46121         (__strcspn_c1): Likewise.
46122         (__strcspn_c2): Likewise.
46123         (__strcspn_c3): Likewise.
46124         (__strspn_c1): Likewise.
46125         (__strspn_c2): Likewise.
46126         (__strspn_c3): Likewise.
46127         (__strsep_1c): Likewise.
46128         (__strsep_2c): Likewise.
46129         (__strsep_3c): Likewise.
46130         * string/memccpy.c (__memccpy): Likewise.
46131         * string/stpcpy.c (__stpcpy): Likewise.
46132         * string/strcmp.c (strcmp): Likewise.
46133         * string/strrchr.c (strrchr): Likewise.
46134         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46135         Likewise.
46136         * sysdeps/mach/hurd/getcwd.c
46137         (_hurd_canonicalize_directory_name_internal): Likewise.
46138         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46139         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46140         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46141         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46142         Likewise, in both definitions.
46143         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46144         definitions.
46145         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46146         64] (__bswap_64): Likewise.
46147         * time/test_time.c (main): Likewise.
46148         * time/tzfile.c (__tzfile_read): Likewise.
46149         (__tzfile_compute): Likewise.
46150         * time/tzset.c (__tzset_parse_tz): Likewise.
46151         (tzset_internal): Likewise.
46152         (compute_change): Likewise.
46153         * wcsmbs/wcscat.c (__wcscat): Likewise.
46154         * wcsmbs/wcschr.c (wcschr): Likewise.
46155         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46156         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46157         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46158         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46159         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46160         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46161         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46162         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46163         * wcsmbs/wmemset.c (wmemset): Likewise.
46165 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46167         * scripts/config.guess: Update to version 2013-05-16.
46168         * scripts/config.sub: Update to version 2013-04-24.
46169         * scripts/install-sh: Update to version 2011-11-20.07.
46170         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46171         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46173 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46175         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46176         * elf/sln.c: Likewise.
46177         * hurd/hurd/ioctl.h: Likewise.
46178         * hurd/hurdmalloc.c: Likewise.
46179         * hurd/xattr.c: Likewise.
46180         * include/shlib-compat.h: Likewise.
46181         * inet/ruserpass.c: Likewise.
46182         * libio/iofgets_u.c: Likewise.
46183         * libio/iofgetws_u.c: Likewise.
46184         * locale/programs/ld-identification.c: Likewise.
46185         * locale/programs/ld-time.c: Likewise.
46186         * mach/msg-destroy.c: Likewise.
46187         * nss/nss_files/files-netgrp.c: Likewise.
46188         * resolv/res_data.c: Likewise.
46189         * soft-fp/op-1.h: Likewise.
46190         * soft-fp/op-2.h: Likewise.
46191         * soft-fp/op-4.h: Likewise.
46192         * soft-fp/op-common.h: Likewise.
46193         * stdio-common/printf_fphex.c: Likewise.
46194         * stdlib/strtod_l.c: Likewise.
46195         * sunrpc/rpc/clnt.h: Likewise.
46196         * sysdeps/generic/framestate.c: Likewise.
46197         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46198         * sysdeps/i386/bsd-setjmp.S: Likewise.
46199         * sysdeps/i386/__longjmp.S: Likewise.
46200         * sysdeps/i386/setjmp.S: Likewise.
46201         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46202         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46203         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46204         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46205         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46206         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46207         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46208         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46209         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46210         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46211         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46212         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46213         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46214         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46215         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46216         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46217         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46218         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46219         * sysdeps/ieee754/support.c: Likewise.
46220         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46221         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46222         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46223         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46224         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46225         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46226         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46227         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46228         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46229         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46230         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46231         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46232         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46233         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46234         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46235         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46236         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46239 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46241         * posix/transbug.c: Remove executable mode.
46243 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46245         * crypt/speeds.c: Remove trailing whitespace.
46246         * dlfcn/default.c: Likewise.
46247         * elf/ifuncdep2.c: Likewise.
46248         * elf/ifuncmain1.c: Likewise.
46249         * elf/ifuncmain1vis.c: Likewise.
46250         * elf/testobj.h: Likewise.
46251         * elf/tst-stackguard1.c: Likewise.
46252         * gmon/sys/gmon.h: Likewise.
46253         * hurd/hurdmsg.c: Likewise.
46254         * hurd/new-fd.c: Likewise.
46255         * hurd/ports-get.c: Likewise.
46256         * iconvdata/ibm1008_420.c: Likewise.
46257         * inet/tst-getni1.c: Likewise.
46258         * inet/tst-getni2.c: Likewise.
46259         * libio/ioungetc.c: Likewise.
46260         * libio/wfiledoalloc.c: Likewise.
46261         * manual/libm-err-tab.pl: Likewise.
46262         * math/w_dremf.c: Likewise.
46263         * misc/ftruncate.c: Likewise.
46264         * posix/bug-glob2.c: Likewise.
46265         * posix/tst-pcre.c: Likewise.
46266         * posix/wait4.c: Likewise.
46267         * resolv/README: Likewise.
46268         * resolv/res_debug.h: Likewise.
46269         * resolv/tst-inet_ntop.c: Likewise.
46270         * setjmp/bug269-setjmp.c: Likewise.
46271         * soft-fp/extended.h: Likewise.
46272         * soft-fp/op-1.h: Likewise.
46273         * soft-fp/op-2.h: Likewise.
46274         * soft-fp/op-4.h: Likewise.
46275         * soft-fp/op-8.h: Likewise.
46276         * soft-fp/testit.c: Likewise.
46277         * stdio-common/bug16.c: Likewise.
46278         * stdlib/random.c: Likewise.
46279         * sunrpc/rpcsvc/rquota.x: Likewise.
46280         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46281         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46282         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46283         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46284         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46285         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46286         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46287         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46288         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46289         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46290         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46291         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46292         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46293         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46294         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46295         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46296         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46297         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46298         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46299         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46300         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46301         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46302         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46303         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46304         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46305         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46306         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46307         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46308         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46309         * sysdeps/ieee754/s_lib_version.c: Likewise.
46310         * sysdeps/mach/hurd/check_fds.c: Likewise.
46311         * sysdeps/mach/hurd/getsockname.c: Likewise.
46312         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46313         * sysdeps/mach/hurd/recvfrom.c: Likewise.
46314         * sysdeps/powerpc/bits/link.h: Likewise.
46315         * sysdeps/powerpc/dl-procinfo.c: Likewise.
46316         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46317         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46318         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46319         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46320         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46321         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46322         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46323         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46324         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46325         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46326         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46327         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46328         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46329         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46330         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46331         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46332         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46333         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46334         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46335         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46336         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46337         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46338         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46339         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46340         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46341         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46342         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46343         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46344         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46345         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46346         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46347         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46348         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46349         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46350         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46351         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46352         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46353         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46354         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46355         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46356         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46357         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46358         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46359         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46360         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46361         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46362         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46363         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46364         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46365         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46366         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46367         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46368         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46369         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46370         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46371         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46372         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46373         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46374         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46375         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46376         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46377         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46378         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46379         * sysdeps/powerpc/sysdep.h: Likewise.
46380         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46381         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46382         * sysdeps/sh/dl-trampoline.S: Likewise.
46383         * sysdeps/sh/memset.S: Likewise.
46384         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46385         * sysdeps/sh/strlen.S: Likewise.
46386         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46387         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46388         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46389         * sysdeps/sparc/sparc32/rem.S: Likewise.
46390         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46391         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46392         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46393         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46394         * sysdeps/sparc/sparc32/urem.S: Likewise.
46395         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46396         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46397         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46398         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46399         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46400         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46401         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46402         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46403         * sysdeps/unix/bsd/times.c: Likewise.
46404         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46405         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46409         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46410         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46411         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46412         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46413         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46414         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46415         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46416         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46417         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46418         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46419         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46420         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46421         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46422         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46423         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46424         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46425         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46426         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46427         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46428         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46429         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46430         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46431         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46432         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46433         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46434         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46435         * sysdeps/x86_64/strcspn.S: Likewise.
46437 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46439         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46440         generated file.  Regenerate properly from gen-translit.pl.
46441         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46442         locale/C-translit.h.
46444 2013-06-05  Andreas Schwab  <schwab@suse.de>
46446         [BZ #15100]
46447         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46448         week as 6 instead of -1.
46449         * time/tst-strptime.c (day_tests): Add test case.
46451 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46453         * sysdeps/generic/math_private.h
46454         (libc_feholdexcept_setround_53bit): Replace with
46455         libc_feholdsetround_53bit.
46456         (libc_feupdateenv_53bit): Replace with
46457         libc_feresetround_53bit.
46458         (SET_RESTORE_ROUND_53BIT): Adjust.
46460 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46462         * string/test-strchrnul.c: Add copyright header.
46464         * posix/tst-getaddrinfo4.c: Increase test timeout.
46466 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46468         [BZ #15536]
46469         * math/libm-test.inc (MAX_EXP): Remove
46470         (MIN_EXP): Define.
46471         (ulp): Use MIN_EXP - MANT_DIG.
46472         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46474 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46476         * po/be.po: Revert last change.
46477         * po/zh_CN.po: Likewise.
46478         * po/header.pot: Likewise.
46480 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
46482         * Makefile ($(common-objpfx)linkobj/libc.so): Define
46483         link-libc-deps to empty as target-specific variable.
46484         * Makerules (link-libc-args): New variable.
46485         (libc-for-link): Likewise.
46486         (link-libc-deps): Likewise.
46487         (lib%.so): Depend on $(link-libc-deps).  Link with
46488         $(link-libc-args).
46489         (build-module): Link with $(link-libc-args).
46490         (build-module-asneeded): Likewise.
46491         (build-module-helper-objlist): Filter out $(link-libc-deps) from
46492         list of objects.
46493         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46494         target-specific variable.
46495         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46496         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46497         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46498         libc.
46499         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46500         libc and ld.so.
46501         ($(objpfx)libpcprofile.so): Likewise.
46502         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46503         libc_nonshared.a.
46504         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46505         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46506         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46507         $(link-libc-deps).
46508         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46509         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46510         * login/Makefile ($(objpfx)libutil.so): Likewise.
46511         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46512         * math/Makefile ($(objpfx)libm.so): Likewise.
46513         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46514         $(objpfx)libnsl.so): Define libc-for-link as target-specific
46515         variable instead of depending directly on libc.
46516         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46517         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46518         $(link-libc-deps).
46519         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46520         libc.
46521         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46522         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46523         ($(objpfx)libanl.so): Likewise.
46524         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46525         ld.so.
46526         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46527         $(link-libc-deps).
46528         * sysdeps/i386/fpu/Makefile: Remove file.
46529         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46530         ($(objpfx)libm.so): Remove dependency on ld.so.
46532 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
46534         [BZ # 15553]
46535         * nis/yp_xdr.c (XDRMAXNAME): Define.
46536         (XDRMAXRECORD): Define.
46537         (xdr_domainname): Use XDRMAXNAME.
46538         (xdr_mapname): Likewise.
46539         (xdr_peername): Likewise.
46540         (xdr_keydat): Use XDRMAXRECORD.
46541         (xdr_valdat): Likewise.
46543 2013-05-30  Jeff Law  <law@redhat.com>
46545         [BZ #14256]
46546         * manual/errno.texi (ESTALE): Update to account for more than
46547         just NFS file systems.
46548         * sysdeps/gnu/errlist.c: Regenerated.
46550 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46552         [BZ #15465]
46553         * elf/Makefile (tests): Add tst-null-argv.
46554         (modules-names):  Add tst-null-argv-lib.
46555         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46556         (tst-null-argv-ENV): Set environment for tst-null-argv.
46557         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46558         (RTLD_PROGNAME): New macro.
46559         * elf/tst-null-argv.c: New test case.
46560         * elf/tst-null-argv-lib.c: Library for test case.
46561         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46562         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46563         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46564         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46565         * elf/dl-init.c (call_init): Likewise.
46566         (_dl_init): Likewise.
46567         * elf/dl-load.c (print_search_path): Likewise.
46568         (_dl_map_object): Likewise.
46569         * elf/dl-lookup.c (do_lookup_x): Likewise.
46570         (add_dependency): Likewise.
46571         (_dl_lookup_symbol_x): Likewise.
46572         (_dl_debug_bindings): Likewise.
46573         * elf/dl-open.c (_dl_show_scope): Likewise.
46574         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46575         * elf/dl-version.c (match_symbol): Likewise.
46576         (_dl_check_map_versions): Likewise.
46577         * elf/rtld.c (dl_main): Likewise.
46578         (print_unresolved): Use RTLD_PROGNAME.
46579         (print_missing_version): Likewise.
46580         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46581         (elf_machine_rela): Likewise.
46582         * sysdeps/powerpc/powerpc32/dl-machine.c
46583         (__process_machine_rela): Likewise.
46584         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46585         Likewise.
46586         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46587         Likewise.
46588         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46589         Likewise.
46590         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46591         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46592         Likewise.
46593         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46594         Likewise.
46595         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46597 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
46599         * po/be.po: Add descriptive title.
46600         * po/zh_CN.po: Likewise.
46601         * po/header.pot: Likewise.
46603 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
46605         * locale/programs/locarchive.c (create_archive): Inlucde fname in
46606         error message.
46607         (enlarge_archive): Likewise.
46609 2013-05-28  Ben North  <ben@redfrontdoor.org>
46611         * manual/arith.texi (frexp): It is the magnitude of the return
46612         value which lies in [0.5, 1), not the return value itself.
46614 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46618 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46620         * stdio-common/bug26.c (main): Correct fscanf template.
46622         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46623         declare _dl_skip_args.
46625         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46626         Don't declare.
46628         * manual/platform.texi: Add missing @end deftypefun.
46630 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46632         [BZ #15529]
46633         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46634         bit of mantissa of 2^16382.
46635         * math/libm-test.inc (hypot_test_data): Add more tests.
46637         * math/libm-test.inc: Add drem and pow10 to list of tested
46638         functions.
46639         (pow10_test): New function.
46640         (drem_test): Likewise.
46641         (drem_test_tonearest): Likewise.
46642         (drem_test_towardzero): Likewise.
46643         (drem_test_downward): Likewise.
46644         (drem_test_upward): Likewise.
46645         (main): Call the new functions.
46647         * math/libm-test.inc (finite_test_data): Remove.
46648         (finite_test): Run tests from isfinite_test_data.
46649         (gamma_test_data): Remove.
46650         (gamma_test): Run tests from lgamma_test_data.
46651         * sysdeps/i386/fpu/libm-test-ulps: Update.
46652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46654 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46656         * manual/platform.texi: Add PowerPC PPR function set documentation.
46657         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46658         implementation.
46660 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46662         * math/libm-test.inc (MAX_EXP): Define.
46663         (ULPDIFF): Define.
46664         (ulp): New function.
46665         (check_float_internal): Use ULPDIFF.
46666         (cpow_test): Disable failing test.
46667         (check_ulp): Test ulp() implemetnation.
46668         (main): Call check_ulp before starting tests.
46670 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46672         * math/gen-libm-test.pl (generate_testfile): Do not handle
46673         START_DATA and END_DATA.
46674         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46675         END_DATA.
46676         (acos_tonearest_test_data): Likewise.
46677         (acos_towardzero_test_data): Likewise.
46678         (acos_downward_test_data): Likewise.
46679         (acos_upward_test_data): Likewise.
46680         (acosh_test_data): Likewise.
46681         (asin_test_data): Likewise.
46682         (asin_tonearest_test_data): Likewise.
46683         (asin_towardzero_test_data): Likewise.
46684         (asin_downward_test_data): Likewise.
46685         (asin_upward_test_data): Likewise.
46686         (asinh_test_data): Likewise.
46687         (atan_test_data): Likewise.
46688         (atanh_test_data): Likewise.
46689         (atan2_test_data): Likewise.
46690         (cabs_test_data): Likewise.
46691         (cacos_test_data): Likewise.
46692         (cacosh_test_data): Likewise.
46693         (carg_test_data): Likewise.
46694         (casin_test_data): Likewise.
46695         (casinh_test_data): Likewise.
46696         (catan_test_data): Likewise.
46697         (catanh_test_data): Likewise.
46698         (cbrt_test_data): Likewise.
46699         (ccos_test_data): Likewise.
46700         (ccosh_test_data): Likewise.
46701         (ceil_test_data): Likewise.
46702         (cexp_test_data): Likewise.
46703         (cimag_test_data): Likewise.
46704         (clog_test_data): Likewise.
46705         (clog10_test_data): Likewise.
46706         (conj_test_data): Likewise.
46707         (copysign_test_data): Likewise.
46708         (cos_test_data): Likewise.
46709         (cos_tonearest_test_data): Likewise.
46710         (cos_towardzero_test_data): Likewise.
46711         (cos_downward_test_data): Likewise.
46712         (cos_upward_test_data): Likewise.
46713         (cosh_test_data): Likewise.
46714         (cosh_tonearest_test_data): Likewise.
46715         (cosh_towardzero_test_data): Likewise.
46716         (cosh_downward_test_data): Likewise.
46717         (cosh_upward_test_data): Likewise.
46718         (cpow_test_data): Likewise.
46719         (cproj_test_data): Likewise.
46720         (creal_test_data): Likewise.
46721         (csin_test_data): Likewise.
46722         (csinh_test_data): Likewise.
46723         (csqrt_test_data): Likewise.
46724         (ctan_test_data): Likewise.
46725         (ctan_tonearest_test_data): Likewise.
46726         (ctan_towardzero_test_data): Likewise.
46727         (ctan_downward_test_data): Likewise.
46728         (ctan_upward_test_data): Likewise.
46729         (ctanh_test_data): Likewise.
46730         (ctanh_tonearest_test_data): Likewise.
46731         (ctanh_towardzero_test_data): Likewise.
46732         (ctanh_downward_test_data): Likewise.
46733         (ctanh_upward_test_data): Likewise.
46734         (erf_test_data): Likewise.
46735         (erfc_test_data): Likewise.
46736         (exp_test_data): Likewise.
46737         (exp_tonearest_test_data): Likewise.
46738         (exp_towardzero_test_data): Likewise.
46739         (exp_downward_test_data): Likewise.
46740         (exp_upward_test_data): Likewise.
46741         (exp10_test_data): Likewise.
46742         (exp2_test_data): Likewise.
46743         (expm1_test_data): Likewise.
46744         (fabs_test_data): Likewise.
46745         (fdim_test_data): Likewise.
46746         (finite_test_data): Likewise.
46747         (floor_test_data): Likewise.
46748         (fma_test_data): Likewise.
46749         (fma_towardzero_test_data): Likewise.
46750         (fma_downward_test_data): Likewise.
46751         (fma_upward_test_data): Likewise.
46752         (fmax_test_data): Likewise.
46753         (fmin_test_data): Likewise.
46754         (fmod_test_data): Likewise.
46755         (fpclassify_test_data): Likewise.
46756         (frexp_test_data): Likewise.
46757         (gamma_test_data): Likewise.
46758         (hypot_test_data): Likewise.
46759         (ilogb_test_data): Likewise.
46760         (isfinite_test_data): Likewise.
46761         (isgreater_test_data): Likewise.
46762         (isgreaterequal_test_data): Likewise.
46763         (isinf_test_data): Likewise.
46764         (isless_test_data): Likewise.
46765         (islessequal_test_data): Likewise.
46766         (islessgreater_test_data): Likewise.
46767         (isnan_test_data): Likewise.
46768         (isnormal_test_data): Likewise.
46769         (issignaling_test_data): Likewise.
46770         (isunordered_test_data): Likewise.
46771         (j0_test_data): Likewise.
46772         (j1_test_data): Likewise.
46773         (jn_test_data): Likewise.
46774         (ldexp_test_data): Likewise.
46775         (lgamma_test_data): Likewise.
46776         (lrint_test_data): Likewise.
46777         (lrint_tonearest_test_data): Likewise.
46778         (lrint_towardzero_test_data): Likewise.
46779         (lrint_downward_test_data): Likewise.
46780         (lrint_upward_test_data): Likewise.
46781         (llrint_test_data): Likewise.
46782         (llrint_tonearest_test_data): Likewise.
46783         (llrint_towardzero_test_data): Likewise.
46784         (llrint_downward_test_data): Likewise.
46785         (llrint_upward_test_data): Likewise.
46786         (log_test_data): Likewise.
46787         (log10_test_data): Likewise.
46788         (log1p_test_data): Likewise.
46789         (log2_test_data): Likewise.
46790         (logb_test_data): Likewise.
46791         (logb_downward_test_data): Likewise.
46792         (lround_test_data): Likewise.
46793         (llround_test_data): Likewise.
46794         (modf_test_data): Likewise.
46795         (nearbyint_test_data): Likewise.
46796         (nextafter_test_data): Likewise.
46797         (nexttoward_test_data): Likewise.
46798         (pow_test_data): Likewise.
46799         (pow_tonearest_test_data): Likewise.
46800         (pow_towardzero_test_data): Likewise.
46801         (pow_downward_test_data): Likewise.
46802         (pow_upward_test_data): Likewise.
46803         (remainder_test_data): Likewise.
46804         (remainder_tonearest_test_data): Likewise.
46805         (remainder_towardzero_test_data): Likewise.
46806         (remainder_downward_test_data): Likewise.
46807         (remainder_upward_test_data): Likewise.
46808         (remquo_test_data): Likewise.
46809         (rint_test_data): Likewise.
46810         (rint_tonearest_test_data): Likewise.
46811         (rint_towardzero_test_data): Likewise.
46812         (rint_downward_test_data): Likewise.
46813         (rint_upward_test_data): Likewise.
46814         (round_test_data): Likewise.
46815         (scalb_test_data): Likewise.
46816         (scalbn_test_data): Likewise.
46817         (scalbln_test_data): Likewise.
46818         (signbit_test_data): Likewise.
46819         (sin_test_data): Likewise.
46820         (sin_tonearest_test_data): Likewise.
46821         (sin_towardzero_test_data): Likewise.
46822         (sin_downward_test_data): Likewise.
46823         (sin_upward_test_data): Likewise.
46824         (sincos_test_data): Likewise.
46825         (sinh_test_data): Likewise.
46826         (sinh_tonearest_test_data): Likewise.
46827         (sinh_towardzero_test_data): Likewise.
46828         (sinh_downward_test_data): Likewise.
46829         (sinh_upward_test_data): Likewise.
46830         (sqrt_test_data): Likewise.
46831         (tan_test_data): Likewise.
46832         (tan_tonearest_test_data): Likewise.
46833         (tan_towardzero_test_data): Likewise.
46834         (tan_downward_test_data): Likewise.
46835         (tan_upward_test_data): Likewise.
46836         (tanh_test_data): Likewise.
46837         (tgamma_test_data): Likewise.
46838         (trunc_test_data): Likewise.
46839         (y0_test_data): Likewise.
46840         (y1_test_data): Likewise.
46841         (yn_test_data): Likewise.
46842         (significand_test_data): Likewise.
46844         * math/gen-libm-test.pl (@functions): Remove variable.
46845         (generate_testfile): Don't handle START and END lines.
46846         * math/libm-test.inc (START): New macro.
46847         (END): Likewise.
46848         (END_COMPLEX): Likewise.
46849         (acos_test): Use END macro without arguments.
46850         (acos_test_tonearest): Likewise.
46851         (acos_test_towardzero): Likewise.
46852         (acos_test_downward): Likewise.
46853         (acos_test_upward): Likewise.
46854         (acosh_test): Likewise.
46855         (asin_test): Likewise.
46856         (asin_test_tonearest): Likewise.
46857         (asin_test_towardzero): Likewise.
46858         (asin_test_downward): Likewise.
46859         (asin_test_upward): Likewise.
46860         (asinh_test): Likewise.
46861         (atan_test): Likewise.
46862         (atanh_test): Likewise.
46863         (atan2_test): Likewise.
46864         (cabs_test): Likewise.
46865         (cacos_test): Use END_COMPLEX macro without arguments.
46866         (cacosh_test): Likewise.
46867         (carg_test): Use END macro without arguments.
46868         (casin_test): Use END_COMPLEX macro without arguments.
46869         (casinh_test): Likewise.
46870         (catan_test): Likewise.
46871         (catanh_test): Likewise.
46872         (cbrt_test): Use END macro without arguments.
46873         (ccos_test): Use END_COMPLEX macro without arguments.
46874         (ccosh_test): Likewise.
46875         (ceil_test): Use END macro without arguments.
46876         (cexp_test): Use END_COMPLEX macro without arguments.
46877         (cimag_test): Use END macro without arguments.
46878         (clog_test): Use END_COMPLEX macro without arguments.
46879         (clog10_test): Likewise.
46880         (conj_test): Likewise.
46881         (copysign_test): Use END macro without arguments.
46882         (cos_test): Likewise.
46883         (cos_test_tonearest): Likewise.
46884         (cos_test_towardzero): Likewise.
46885         (cos_test_downward): Likewise.
46886         (cos_test_upward): Likewise.
46887         (cosh_test): Likewise.
46888         (cosh_test_tonearest): Likewise.
46889         (cosh_test_towardzero): Likewise.
46890         (cosh_test_downward): Likewise.
46891         (cosh_test_upward): Likewise.
46892         (cpow_test): Use END_COMPLEX macro without arguments.
46893         (cproj_test): Likewise.
46894         (creal_test): Use END macro without arguments.
46895         (csin_test): Use END_COMPLEX macro without arguments.
46896         (csinh_test): Likewise.
46897         (csqrt_test): Likewise.
46898         (ctan_test): Likewise.
46899         (ctan_test_tonearest): Likewise.
46900         (ctan_test_towardzero): Likewise.
46901         (ctan_test_downward): Likewise.
46902         (ctan_test_upward): Likewise.
46903         (ctanh_test): Likewise.
46904         (ctanh_test_tonearest): Likewise.
46905         (ctanh_test_towardzero): Likewise.
46906         (ctanh_test_downward): Likewise.
46907         (ctanh_test_upward): Likewise.
46908         (erf_test): Use END macro without arguments.
46909         (erfc_test): Likewise.
46910         (exp_test): Likewise.
46911         (exp_test_tonearest): Likewise.
46912         (exp_test_towardzero): Likewise.
46913         (exp_test_downward): Likewise.
46914         (exp_test_upward): Likewise.
46915         (exp10_test): Likewise.
46916         (exp2_test): Likewise.
46917         (expm1_test): Likewise.
46918         (fabs_test): Likewise.
46919         (fdim_test): Likewise.
46920         (finite_test): Likewise.
46921         (floor_test): Likewise.
46922         (fma_test): Likewise.
46923         (fma_test_towardzero): Likewise.
46924         (fma_test_downward): Likewise.
46925         (fma_test_upward): Likewise.
46926         (fmax_test): Likewise.
46927         (fmin_test): Likewise.
46928         (fmod_test): Likewise.
46929         (fpclassify_test): Likewise.
46930         (frexp_test): Likewise.
46931         (gamma_test): Likewise.
46932         (hypot_test): Likewise.
46933         (ilogb_test): Likewise.
46934         (isfinite_test): Likewise.
46935         (isgreater_test): Likewise.
46936         (isgreaterequal_test): Likewise.
46937         (isinf_test): Likewise.
46938         (isless_test): Likewise.
46939         (islessequal_test): Likewise.
46940         (islessgreater_test): Likewise.
46941         (isnan_test): Likewise.
46942         (isnormal_test): Likewise.
46943         (issignaling_test): Likewise.
46944         (isunordered_test): Likewise.
46945         (j0_test): Likewise.
46946         (j1_test): Likewise.
46947         (jn_test): Likewise.
46948         (ldexp_test): Likewise.
46949         (lgamma_test): Likewise.
46950         (lrint_test): Likewise.
46951         (lrint_test_tonearest): Likewise.
46952         (lrint_test_towardzero): Likewise.
46953         (lrint_test_downward): Likewise.
46954         (lrint_test_upward): Likewise.
46955         (llrint_test): Likewise.
46956         (llrint_test_tonearest): Likewise.
46957         (llrint_test_towardzero): Likewise.
46958         (llrint_test_downward): Likewise.
46959         (llrint_test_upward): Likewise.
46960         (log_test): Likewise.
46961         (log10_test): Likewise.
46962         (log1p_test): Likewise.
46963         (log2_test): Likewise.
46964         (logb_test): Likewise.
46965         (logb_test_downward): Likewise.
46966         (lround_test): Likewise.
46967         (llround_test): Likewise.
46968         (modf_test): Likewise.
46969         (nearbyint_test): Likewise.
46970         (nextafter_test): Likewise.
46971         (nexttoward_test): Likewise.
46972         (pow_test): Likewise.
46973         (pow_test_tonearest): Likewise.
46974         (pow_test_towardzero): Likewise.
46975         (pow_test_downward): Likewise.
46976         (pow_test_upward): Likewise.
46977         (remainder_test): Likewise.
46978         (remainder_test_tonearest): Likewise.
46979         (remainder_test_towardzero): Likewise.
46980         (remainder_test_downward): Likewise.
46981         (remainder_test_upward): Likewise.
46982         (remquo_test): Likewise.
46983         (rint_test): Likewise.
46984         (rint_test_tonearest): Likewise.
46985         (rint_test_towardzero): Likewise.
46986         (rint_test_downward): Likewise.
46987         (rint_test_upward): Likewise.
46988         (round_test): Likewise.
46989         (scalb_test): Likewise.
46990         (scalbn_test): Likewise.
46991         (scalbln_test): Likewise.
46992         (signbit_test): Likewise.
46993         (sin_test): Likewise.
46994         (sin_test_tonearest): Likewise.
46995         (sin_test_towardzero): Likewise.
46996         (sin_test_downward): Likewise.
46997         (sin_test_upward): Likewise.
46998         (sincos_test): Likewise.
46999         (sinh_test): Likewise.
47000         (sinh_test_tonearest): Likewise.
47001         (sinh_test_towardzero): Likewise.
47002         (sinh_test_downward): Likewise.
47003         (sinh_test_upward): Likewise.
47004         (sqrt_test): Likewise.
47005         (tan_test): Likewise.
47006         (tan_test_tonearest): Likewise.
47007         (tan_test_towardzero): Likewise.
47008         (tan_test_downward): Likewise.
47009         (tan_test_upward): Likewise.
47010         (tanh_test): Likewise.
47011         (tgamma_test): Likewise.
47012         (trunc_test): Likewise.
47013         (y0_test): Likewise.
47014         (y1_test): Likewise.
47015         (yn_test): Likewise.
47016         (significand_test): Likewise.
47018 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47020         [BZ #15381]
47021         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47023 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47025         [BZ #14894]
47026         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47027         __ppc_mdoio and __ppc_mdoom.
47028         * manual/platform.texi: Document new functions __ppc_yield,
47029         __ppc_mdoio and __ppc_mdoom.
47031 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47033         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47034         (main): Mention "tls" pseudo-hwcap is legacy.
47035         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47037 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47039         * math/gen-libm-test.pl (parse_args): Output only string of
47040         arguments as text for test name, not full call or descriptions of
47041         tests for extra outputs.
47042         (generate_testfile): Do not pass function name to parse_args.
47043         Generate this_func variable from START.
47044         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47045         field to arg_str.
47046         (struct test_ff_f_data): Likewise.
47047         (test_ff_f_data_nexttoward): Likewise.
47048         (struct test_fi_f_data): Likewise.
47049         (struct test_fl_f_data): Likewise.
47050         (struct test_if_f_data): Likewise.
47051         (struct test_fff_f_data): Likewise.
47052         (struct test_c_f_data): Likewise.
47053         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47054         (struct test_fF_f1_data): Likewise.
47055         (struct test_ffI_f1_data): Likewise.
47056         (struct test_c_c_data): Rename test_name field to arg_str.
47057         (struct test_cc_c_data): Likewise.
47058         (struct test_f_i_data): Likewise.
47059         (struct test_ff_i_data): Likewise.
47060         (struct test_f_l_data): Likewise.
47061         (struct test_f_L_data): Likewise.
47062         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47063         and extra2_name.
47064         (COMMON_TEST_SETUP): New macro.
47065         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47066         (COMMON_TEST_CLEANUP): Likewise.
47067         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47068         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47069         macros.
47070         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47071         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47072         macros.
47073         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47074         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47075         cleanup macros.
47076         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47077         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47078         macros.
47079         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47080         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47081         macros.
47082         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47083         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47084         cleanup macros.
47085         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47086         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47087         cleanup macros.
47088         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47089         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47090         cleanup macros.
47091         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47092         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47093         macros.
47094         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47095         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47096         macros.
47097         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47098         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47099         macros.
47100         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47101         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47102         cleanup macros.
47103         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47104         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47105         cleanup macros.
47106         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47107         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47108         macros.
47109         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47110         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47111         cleanup macros.
47112         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47113         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47114         macros.
47115         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47116         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47117         macros.
47118         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47119         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47120         cleanup macros.
47121         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47123 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47125         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47126         to _sifields.sigfault.
47127         (si_addr_lsb): Define new macro.
47128         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47129         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47130         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47132 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47134         [BZ #15441]
47135         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47136         returns -1.
47137         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47138         null return -1.
47139         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47140         loading the domain.
47142 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47144         * math/gen-libm-test.pl (parse_args): Do not include expected
47145         result in test name.
47146         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47147         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47148         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47149         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47150         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47153 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47155         * benchtests/Makefile: Sort function entries.
47157         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47158         tanh, asinh, acosh, atanh.
47159         * benchtests/acos-inputs: New file.
47160         * benchtests/acosh-inputs: New file.
47161         * benchtests/asin-inputs: New file.
47162         * benchtests/asinh-inputs: New file.
47163         * benchtests/atanh-inputs: New file.
47164         * benchtests/cosh-inputs: New file.
47165         * benchtests/log-inputs: New file.
47166         * benchtests/sinh-inputs: New file.
47167         * benchtests/tanh-inputs: New file.
47169 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47171         [BZ #15339]
47172         * posix/tst-getaddrinfo4.c: New test.
47173         * posix/Makefile (tests): Add it.
47175 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47177         [BZ #15339]
47178         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47179         when no services were used.
47180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47181         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47183 2013-05-21  Andreas Schwab  <schwab@suse.de>
47185         [BZ #15014]
47186         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47187         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47188         successful.
47189         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47190         redundant variable declarations and reallocation of buffer when
47191         parsing as IPv6 address.  Always set NSS status when called from
47192         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47193         buffer too small.  Correct computation of needed size.
47194         * nss/Makefile (tests): Add test-digits-dots.
47195         * nss/test-digits-dots.c: New test.
47197 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47199         * benchtests/Makefile: Remove instructions for adding
47200         benchmark tests.
47201         * benchtests/README: New file to explain how to execute and
47202         enhance the benchmark tests.
47204 2013-05-21  Andreas Schwab  <schwab@suse.de>
47206         [BZ #15493]
47207         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47208         * setjmp/tst-sigsetjmp.c: New test.
47210 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47212         * sysdeps/x86_64/memset.S (memset): New implementation.
47213         (__bzero): Likewise.
47214         (__memset_tail): New function.
47216 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47218         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47219         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47220         __memcpy_sse2_unaligned ifunc selection.
47221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47222         Add memcpy-sse2-unaligned.S.
47223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47224         Add: __memcpy_sse2_unaligned.
47226 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47228         [BZ #15490]
47229         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47230         math_force_eval before restoring floating-point envrionment.
47231         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47232         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47233         Likewise.
47234         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47235         <math_private.h>.
47236         (__nearbyintl): Use math_force_eval before restoring
47237         floating-point environment.
47238         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47240         * math/gen-libm-test.pl (special_functions): Remove.
47241         (parse_args): Don't handle TEST_extra.  Handle functions with no
47242         return value.
47243         * math/libm-test.inc (struct test_sincos_data): Replace with
47244         struct test_fFF_11_data.
47245         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47246         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47247         (sincos_test_data): Change element type to struct
47248         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47249         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47250         RUN_TEST_LOOP_sincos.
47251         * math/README.libm-test: Don't mention special handling of
47252         individual functions.
47253         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47254         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47255         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47256         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47257         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47260         * math/gen-libm-test.pl (get_variable): Remove function.
47261         (parse_args): Don't show pointer parameters to call in test
47262         names.  Use "extra output N" in test names for extra outputs
47263         rather than naming variables.
47265 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47267         [BZ #15488]
47268         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47269         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47270         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47271         double tests.
47272         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47273         disable.
47274         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47275         check_long_double.
47277         * math/gen-libm-test.pl (@tests): Remove variable.
47278         ($count): Likewise.
47279         (new_test): Remove function.
47280         (show_exceptions): New function.
47281         (special_functions): Use show_exceptions instead of new_test.
47282         (parse_args): Likewise.
47283         (generate_testfile): Pass only function name in generated call to
47284         print_max_error or print_complex_max_error.
47285         (get_ulps): Do not handle complex tests specially.
47286         (output_test): Rename to ...
47287         (get_all_ulps_for_test): ... this.  Return a string rather than
47288         printing to a file.  Require ulps to be present.
47289         (output_ulps): Generate arrays rather than #defines.
47290         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47291         (struct ulp_data): New type.
47292         (BUILD_COMPLEX_ULP): Remove macro.
47293         (compare_ulp_data): New function.
47294         (find_ulps): Likewise.
47295         (find_test_ulps): Likewise.
47296         (find_function_ulps): Likewise.
47297         (find_complex_function_ulps): Likewise.
47298         (print_max_error): Determine allowed ulps using
47299         find_function_ulps.
47300         (print_complex_max_error): Determine allowed ulps using
47301         find_complex_function_ulps.
47302         (check_float_internal): Determine max ulps using find_test_ulps.
47303         (check_float): Do not take max_ulp parameter.  Update call to
47304         check_float_internal.
47305         (check_complex): Likewise.
47306         (check_int): Do not take max_ulp parameter.
47307         (check_long): Likewise.
47308         (check_bool): Likewise.
47309         (check_longlong): Likewise.
47310         (struct test_f_f_data): Remove max_ulp field.
47311         (struct test_ff_f_data): Likewise.
47312         (struct test_ff_f_data_nexttoward): Likewise.
47313         (struct test_fi_f_data): Likewise.
47314         (struct test_fl_f_data): Likewise.
47315         (struct test_if_f_data): Likewise.
47316         (struct test_fff_f_data): Likewise.
47317         (struct test_c_f_data): Likewise.
47318         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47319         (struct test_fF_f1_data): Likewise.
47320         (struct test_ffI_f1_data): Likewise.
47321         (struct test_c_c_data): Remove max_ulp field.
47322         (struct test_cc_c_data): Likewise.
47323         (struct test_f_i_data): Likewise.
47324         (struct test_ff_i_data): Likewise.
47325         (struct test_f_l_data): Likewise.
47326         (struct test_f_L_data): Likewise.
47327         (struct test_sincos_data): Likewise.
47328         (RUN_TEST_f_f): Do not handle ulps.
47329         (RUN_TEST_LOOP_f_f): Likewise.
47330         (RUN_TEST_2_f): Likewise.
47331         (RUN_TEST_LOOP_2_f): Likewise.
47332         (RUN_TEST_fff_f): Likewise.
47333         (RUN_TEST_LOOP_fff_f): Likewise.
47334         (RUN_TEST_c_f): Likewise.
47335         (RUN_TEST_LOOP_c_f): Likewise.
47336         (RUN_TEST_f_f1): Likewise.
47337         (RUN_TEST_LOOP_f_f1): Likewise.
47338         (RUN_TEST_fF_f1): Likewise.
47339         (RUN_TEST_LOOP_fF_f1): Likewise.
47340         (RUN_TEST_fI_f1): Likewise.
47341         (RUN_TEST_LOOP_fI_f1): Likewise.
47342         (RUN_TEST_ffI_f1): Likewise.
47343         (RUN_TEST_LOOP_ffI_f1): Likewise.
47344         (RUN_TEST_c_c): Likewise.
47345         (RUN_TEST_LOOP_c_c): Likewise.
47346         (RUN_TEST_cc_c): Likewise.
47347         (RUN_TEST_LOOP_cc_c): Likewise.
47348         (RUN_TEST_f_i): Likewise.
47349         (RUN_TEST_LOOP_f_i): Likewise.
47350         (RUN_TEST_f_i_tg): Likewise.
47351         (RUN_TEST_LOOP_f_i_tg): Likewise.
47352         (RUN_TEST_ff_i_tg): Likewise.
47353         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47354         (RUN_TEST_f_b): Likewise.
47355         (RUN_TEST_LOOP_f_b): Likewise.
47356         (RUN_TEST_f_b_tg): Likewise.
47357         (RUN_TEST_LOOP_f_b_tg): Likewise.
47358         (RUN_TEST_f_l): Likewise.
47359         (RUN_TEST_LOOP_f_l): Likewise.
47360         (RUN_TEST_f_L): Likewise.
47361         (RUN_TEST_LOOP_f_L): Likewise.
47362         (RUN_TEST_sincos): Likewise.
47363         (RUN_TEST_LOOP_sincos): Likewise.
47365 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
47367         [BZ #15480]
47368         [BZ #15485]
47369         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47370         main case of finite arguments, set rounding mode to FE_TONEAREST
47371         and discard exceptions.
47372         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47373         exceptions.
47374         (remainder_tonearest_test_data): New variable.
47375         (remainder_test_tonearest): New function.
47376         (remainder_towardzero_test_data): New variable.
47377         (remainder_test_towardzero): New function.
47378         (remainder_downward_test_data): New variable.
47379         (remainder_test_downward): New function.
47380         (remainder_upward_test_data): New variable.
47381         (remainder_test_upward): New function.
47382         (main): Call the new test functions.
47384         * math/libm-test.inc (struct test_f_f1_data): Remove field
47385         extra_init.
47386         (struct test_fF_f1_data): Likewise.
47387         (struct test_ffI_f1_data): Likewise.
47388         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47389         based on value of EXTRA_EXPECTED.
47390         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47391         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47392         EXTRA_VAR based on value of EXTRA_EXPECTED.
47393         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47394         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47395         EXTRA_VAR based on value of EXTRA_EXPECTED.
47396         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47397         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47398         EXTRA_VAR based on value of EXTRA_EXPECTED.
47399         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47400         * math/gen-libm-test.pl (parse_args): Don't output initializers
47401         for extra output values.
47403         * math/libm-test.inc (check_int): Expect result to be exactly
47404         equal to expected value and do not handle ulps.
47405         (check_long): Likewise.
47406         (check_longlong): Likewise.
47408         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47409         exceptions.
47410         (cimag_test_data): Likewise.
47411         (conj_test_data): Likewise.
47412         (copysign_test_data): Likewise.
47413         (cproj_test_data): Likewise.
47414         (creal_test_data): Likewise.
47415         (fabs_test_data): Likewise.
47416         (fdim_test_data): Likewise.
47417         (finite_test_data): Likewise.
47418         (floor_test_data): Likewise.
47419         (fmax_test_data): Likewise.
47420         (fmin_test_data): Likewise.
47421         (fmod_test_data): Likewise.
47422         (fpclassify_test_data): Likewise.
47423         (frexp_test_data): Likewise.
47424         (ilogb_test_data): Likewise.
47425         (isfinite_test_data): Likewise.
47426         (isgreater_test_data): Likewise.
47427         (isgreaterequal_test_data): Likewise.
47428         (isinf_test_data): Likewise.
47429         (isless_test_data): Likewise.
47430         (islessequal_test_data): Likewise.
47431         (islessgreater_test_data): Likewise.
47432         (isnan_test_data): Likewise.
47433         (isnormal_test_data): Likewise.
47434         (issignaling_test_data): Likewise.
47435         (isunordered_test_data): Likewise.
47436         (ldexp_test_data): Likewise.
47437         (lrint_test_data): Likewise.
47438         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47439         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47440         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47441         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47442         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47443         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47444         test input.
47445         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47446         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47447         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47448         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47449         that test input.
47450         (lrint_downward_test_data): Test for "inexact" exceptions.
47451         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47452         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47453         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47454         test input.
47455         (lrint_upward_test_data): Test for "inexact" exceptions.
47456         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47457         test input.
47458         (llrint_test_data): Test for "inexact" exceptions.
47459         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47460         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47461         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47462         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47463         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47464         (llrint_downward_test_data): Test for "inexact" exceptions.
47465         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47466         (llrint_upward_test_data): Test for "inexact" exceptions.
47467         (logb_test_data): Likewise.
47468         (logb_downward_test_data): Likewise.
47469         (nextafter_test_data): Likewise.
47470         (nexttoward_test_data): Likewise.
47471         (remainder_test_data): Likewise.
47472         (remquo_test_data): Likewise.
47473         (scalbn_test_data): Likewise.
47474         (scalbln_test_data): Likewise.
47475         (signbit_test_data): Likewise.
47476         (sqrt_test_data): Likewise.
47477         (significand_test_data): Likewise.
47479 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47481         [BZ #15424]
47482         * benchtests/bench-modf.c (struct args): Mark arg0 as
47483         volatile.
47484         * scripts/bench.pl: Mark members of struct args as volatile.
47486 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47488         [BZ # 15497]
47489         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47490         negative infinity on POWER6 or lower.
47491         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47493 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47495         [BZ #15442]
47496         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47497         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47498         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47499         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47500         (_FP_SETQNAN): New macro.
47501         (_FP_SETQNAN_SEMIRAW): Likewise.
47502         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47503         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47504         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47505         (FP_EXTEND): Use _FP_FRAC_SNANP.
47506         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47507         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47508         into account.
47509         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47510         New macro.
47511         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47512         Likewise.
47514 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47516         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47517         with DIVIDE_BY_ZERO_EXCEPTION.
47518         (gamma_test_data): Likewise.
47519         (lgamma_test_data): Likewise.
47520         (log_test_data): Likewise.
47521         (log10_test_data): Likewise.
47522         (log2_test_data): Likewise.
47523         (tgamma_test_data): Likewise.
47525         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47526         (acos_test_tonearest): Likewise.
47527         (acos_test_towardzero): Likewise.
47528         (acos_test_downward): Likewise.
47529         (acos_test_upward): Likewise.
47530         (acosh_test): Likewise.
47531         (asin_test): Likewise.
47532         (asin_test_tonearest): Likewise.
47533         (asin_test_towardzero): Likewise.
47534         (asin_test_downward): Likewise.
47535         (asin_test_upward): Likewise.
47536         (asinh_test): Likewise.
47537         (atan_test): Likewise.
47538         (atanh_test): Likewise.
47539         (atan2_test): Likewise.
47540         (cabs_test): Likewise.
47541         (cacos_test): Likewise.
47542         (cacosh_test): Likewise.
47543         (casin_test): Likewise.
47544         (casinh_test): Likewise.
47545         (catan_test): Likewise.
47546         (catanh_test): Likewise.
47547         (cbrt_test): Likewise.
47548         (ccos_test): Likewise.
47549         (ccosh_test): Likewise.
47550         (cexp_test): Likewise.
47551         (clog_test): Likewise.
47552         (clog10_test): Likewise.
47553         (cos_test): Likewise.
47554         (cos_test_tonearest): Likewise.
47555         (cos_test_towardzero): Likewise.
47556         (cos_test_downward): Likewise.
47557         (cos_test_upward): Likewise.
47558         (cosh_test): Likewise.
47559         (cosh_test_tonearest): Likewise.
47560         (cosh_test_towardzero): Likewise.
47561         (cosh_test_downward): Likewise.
47562         (cosh_test_upward): Likewise.
47563         (cpow_test): Likewise.
47564         (csin_test): Likewise.
47565         (csinh_test): Likewise.
47566         (csqrt_test): Likewise.
47567         (ctan_test): Likewise.
47568         (ctan_test_tonearest): Likewise.
47569         (ctan_test_towardzero): Likewise.
47570         (ctan_test_downward): Likewise.
47571         (ctan_test_upward): Likewise.
47572         (ctanh_test): Likewise.
47573         (ctanh_test_tonearest): Likewise.
47574         (ctanh_test_towardzero): Likewise.
47575         (ctanh_test_downward): Likewise.
47576         (ctanh_test_upward): Likewise.
47577         (erf_test): Likewise.
47578         (erfc_test): Likewise.
47579         (exp_test): Likewise.
47580         (exp_test_tonearest): Likewise.
47581         (exp_test_towardzero): Likewise.
47582         (exp_test_downward): Likewise.
47583         (exp_test_upward): Likewise.
47584         (exp10_test): Likewise.
47585         (exp2_test): Likewise.
47586         (expm1_test): Likewise.
47587         (fmod_test): Likewise.
47588         (gamma_test): Likewise.
47589         (hypot_test): Likewise.
47590         (j0_test): Likewise.
47591         (j1_test): Likewise.
47592         (jn_test): Likewise.
47593         (lgamma_test): Likewise.
47594         (log_test): Likewise.
47595         (log10_test): Likewise.
47596         (log1p_test): Likewise.
47597         (log2_test): Likewise.
47598         (logb_test_downward): Likewise.
47599         (pow_test): Likewise.
47600         (pow_test_tonearest): Likewise.
47601         (pow_test_towardzero): Likewise.
47602         (pow_test_downward): Likewise.
47603         (pow_test_upward): Likewise.
47604         (remainder_test): Likewise.
47605         (remquo_test): Likewise.
47606         (sin_test): Likewise.
47607         (sin_test_tonearest): Likewise.
47608         (sin_test_towardzero): Likewise.
47609         (sin_test_downward): Likewise.
47610         (sin_test_upward): Likewise.
47611         (sincos_test): Likewise.
47612         (sinh_test): Likewise.
47613         (sinh_test_tonearest): Likewise.
47614         (sinh_test_towardzero): Likewise.
47615         (sinh_test_downward): Likewise.
47616         (sinh_test_upward): Likewise.
47617         (sqrt_test): Likewise.
47618         (tan_test): Likewise.
47619         (tan_test_tonearest): Likewise.
47620         (tan_test_towardzero): Likewise.
47621         (tan_test_downward): Likewise.
47622         (tan_test_upward): Likewise.
47623         (tanh_test): Likewise.
47624         (tgamma_test): Likewise.
47625         (y0_test): Likewise.
47626         (y1_test): Likewise.
47627         (yn_test): Likewise.
47629         * math/gen-libm-test.pl (adjust_arg): Remove function.
47630         (special_function): Remove argument $in_func.  Only handle
47631         generating output for tables of tests, not inside functions.
47632         (parse_args): Likewise.
47633         (generate_testfile): Remove variable $in_func.  Update call to
47634         parse_args.
47635         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47636         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47637         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47638         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47639         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47640         (MAX_VALUE_INIT): Rename macro to max_value.
47641         (MIN_VALUE_INIT): Rename macro to min_value.
47642         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47643         (plus_zero): Remove variable.
47644         (minus_zero): Likewise.
47645         (plus_infty): Likewise.
47646         (minus_infty): Likewise.
47647         (qnan_value): Likewise.
47648         (max_value): Likewise.
47649         (min_value): Likewise.
47650         (min_subnorm_value): Likewise.
47652 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47654         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47655         uint64_t or uint32_t usage.
47656         * crypt/sha256-block.c: Likewise.
47657         * crypt/sha256-crypt.c: Likewise.
47658         * crypt/sha256.c: Likewise.
47659         * crypt/sha512-block.c: Likewise.
47660         * crypt/sha512-crypt.c: Likewise.
47661         * crypt/sha512.c: Likewise.
47662         * debug/backtrace-tst.c: Likewise.
47663         * debug/pcprofiledump.c: Likewise.
47664         * elf/cache.c: Likewise.
47665         * elf/dl-cache.c: Likewise.
47666         * elf/dl-misc.c: Likewise.
47667         * elf/dl-profile.c: Likewise.
47668         * elf/dl-support.c: Likewise.
47669         * elf/ldconfig.c: Likewise.
47670         * elf/sprof.c: Likewise.
47671         * iconv/dummy-repertoire.c: Likewise.
47672         * iconv/iconv_charmap.c: Likewise.
47673         * iconv/skeleton.c: Likewise.
47674         * iconvdata/8bit-generic.c: Likewise.
47675         * iconvdata/cp737.h: Likewise.
47676         * iconvdata/cp775.h: Likewise.
47677         * iconvdata/ibm1008.h: Likewise.
47678         * iconvdata/ibm1025.h: Likewise.
47679         * iconvdata/ibm1046.h: Likewise.
47680         * iconvdata/ibm1097.h: Likewise.
47681         * iconvdata/ibm1112.h: Likewise.
47682         * iconvdata/ibm1122.h: Likewise.
47683         * iconvdata/ibm1123.h: Likewise.
47684         * iconvdata/ibm1124.h: Likewise.
47685         * iconvdata/ibm1129.h: Likewise.
47686         * iconvdata/ibm1130.h: Likewise.
47687         * iconvdata/ibm1132.h: Likewise.
47688         * iconvdata/ibm1133.h: Likewise.
47689         * iconvdata/ibm1137.h: Likewise.
47690         * iconvdata/ibm1140.h: Likewise.
47691         * iconvdata/ibm1141.h: Likewise.
47692         * iconvdata/ibm1142.h: Likewise.
47693         * iconvdata/ibm1143.h: Likewise.
47694         * iconvdata/ibm1144.h: Likewise.
47695         * iconvdata/ibm1145.h: Likewise.
47696         * iconvdata/ibm1146.h: Likewise.
47697         * iconvdata/ibm1147.h: Likewise.
47698         * iconvdata/ibm1148.h: Likewise.
47699         * iconvdata/ibm1149.h: Likewise.
47700         * iconvdata/ibm1153.h: Likewise.
47701         * iconvdata/ibm1154.h: Likewise.
47702         * iconvdata/ibm1155.h: Likewise.
47703         * iconvdata/ibm1156.h: Likewise.
47704         * iconvdata/ibm1157.h: Likewise.
47705         * iconvdata/ibm1158.h: Likewise.
47706         * iconvdata/ibm1160.h: Likewise.
47707         * iconvdata/ibm1161.h: Likewise.
47708         * iconvdata/ibm1162.h: Likewise.
47709         * iconvdata/ibm1163.h: Likewise.
47710         * iconvdata/ibm1164.h: Likewise.
47711         * iconvdata/ibm1166.h: Likewise.
47712         * iconvdata/ibm1167.h: Likewise.
47713         * iconvdata/ibm12712.h: Likewise.
47714         * iconvdata/ibm1390.h: Likewise.
47715         * iconvdata/ibm1399.h: Likewise.
47716         * iconvdata/ibm16804.h: Likewise.
47717         * iconvdata/ibm4517.h: Likewise.
47718         * iconvdata/ibm4899.h: Likewise.
47719         * iconvdata/ibm4909.h: Likewise.
47720         * iconvdata/ibm4971.h: Likewise.
47721         * iconvdata/ibm5347.h: Likewise.
47722         * iconvdata/ibm803.h: Likewise.
47723         * iconvdata/ibm856.h: Likewise.
47724         * iconvdata/ibm901.h: Likewise.
47725         * iconvdata/ibm902.h: Likewise.
47726         * iconvdata/ibm9030.h: Likewise.
47727         * iconvdata/ibm9066.h: Likewise.
47728         * iconvdata/ibm921.h: Likewise.
47729         * iconvdata/ibm922.h: Likewise.
47730         * iconvdata/ibm9448.h: Likewise.
47731         * iconvdata/isiri-3342.h: Likewise.
47732         * iconvdata/jis0201.h: Likewise.
47733         * include/link.h: Likewise.
47734         * include/netdb.h: Likewise.
47735         * inet/check_native.c: Likewise.
47736         * inet/check_pf.c: Likewise.
47737         * inet/getipv4sourcefilter.c: Likewise.
47738         * inet/getnameinfo.c: Likewise.
47739         * inet/getsourcefilter.c: Likewise.
47740         * inet/htonl.c: Likewise.
47741         * inet/setipv4sourcefilter.c: Likewise.
47742         * inet/setsourcefilter.c: Likewise.
47743         * inet/test-inet6_opt.c: Likewise.
47744         * inet/tst-network.c: Likewise.
47745         * locale/C-collate.c: Likewise.
47746         * locale/C-ctype.c: Likewise.
47747         * locale/C-time.c: Likewise.
47748         * locale/C-translit.h: Likewise.
47749         * locale/loadarchive.c: Likewise.
47750         * locale/programs/3level.h: Likewise.
47751         * locale/programs/charmap.c: Likewise.
47752         * locale/programs/charmap.h: Likewise.
47753         * locale/programs/ld-address.c: Likewise.
47754         * locale/programs/ld-collate.c: Likewise.
47755         * locale/programs/ld-ctype.c: Likewise.
47756         * locale/programs/ld-identification.c: Likewise.
47757         * locale/programs/ld-measurement.c: Likewise.
47758         * locale/programs/ld-messages.c: Likewise.
47759         * locale/programs/ld-monetary.c: Likewise.
47760         * locale/programs/ld-name.c: Likewise.
47761         * locale/programs/ld-numeric.c: Likewise.
47762         * locale/programs/ld-paper.c: Likewise.
47763         * locale/programs/ld-telephone.c: Likewise.
47764         * locale/programs/ld-time.c: Likewise.
47765         * locale/programs/linereader.c: Likewise.
47766         * locale/programs/locale.c: Likewise.
47767         * locale/programs/locarchive.c: Likewise.
47768         * locale/programs/locfile.h: Likewise.
47769         * locale/programs/repertoire.c: Likewise.
47770         * locale/programs/simple-hash.c: Likewise.
47771         * locale/programs/simple-hash.h: Likewise.
47772         * malloc/memusage.c: Likewise.
47773         * malloc/memusagestat.c: Likewise.
47774         * nis/nis_defaults.c: Likewise.
47775         * nis/nis_hash.c: Likewise.
47776         * nis/nis_print.c: Likewise.
47777         * nis/nis_xdr.c: Likewise.
47778         * nscd/connections.c: Likewise.
47779         * nscd/hstcache.c: Likewise.
47780         * nscd/nscd_gethst_r.c: Likewise.
47781         * nscd/nscd_getserv_r.c: Likewise.
47782         * nscd/nscd_helper.c: Likewise.
47783         * nscd/servicescache.c: Likewise.
47784         * nss/makedb.c: Likewise.
47785         * nss/nss_db/db-XXX.c: Likewise.
47786         * nss/nss_db/db-initgroups.c: Likewise.
47787         * nss/nss_db/db-netgrp.c: Likewise.
47788         * nss/nss_files/files-network.c: Likewise.
47789         * nss/nss_files/files-parse.c: Likewise.
47790         * posix/bug-regex5.c: Likewise.
47791         * posix/fnmatch_loop.c: Likewise.
47792         * posix/regcomp.c: Likewise.
47793         * posix/regexec.c: Likewise.
47794         * posix/tst-rfc3484-2.c: Likewise.
47795         * posix/tst-rfc3484-3.c: Likewise.
47796         * posix/tst-rfc3484.c: Likewise.
47797         * resolv/nss_dns/dns-canon.c: Likewise.
47798         * resolv/nss_dns/dns-network.c: Likewise.
47799         * resolv/res_init.c: Likewise.
47800         * resolv/res_mkquery.c: Likewise.
47801         * resolv/tst-aton.c: Likewise.
47802         * stdlib/cxa_atexit.c: Likewise.
47803         * stdlib/cxa_finalize.c: Likewise.
47804         * stdlib/gen-fpioconst.c: Likewise.
47805         * stdlib/strtol_l.c: Likewise.
47806         * string/tst-endian.c: Likewise.
47807         * sunrpc/auth_des.c: Likewise.
47808         * sunrpc/clnt_udp.c: Likewise.
47809         * sunrpc/rtime.c: Likewise.
47810         * sunrpc/svcauth_des.c: Likewise.
47811         * sunrpc/xdr.c: Likewise.
47812         * sunrpc/xdr_intXX_t.c: Likewise.
47813         * sunrpc/xdr_rec.c: Likewise.
47814         * sysdeps/generic/ldconfig.h: Likewise.
47815         * sysdeps/generic/ldsodefs.h: Likewise.
47816         * sysdeps/generic/memusage.h: Likewise.
47817         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47818         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
47819         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
47820         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47821         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47822         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47823         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47824         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47825         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47826         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47827         * sysdeps/posix/getaddrinfo.c: Likewise.
47828         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47829         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47830         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47831         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47832         * sysdeps/powerpc/test-gettimebase.c: Likewise.
47833         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47834         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
47835         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
47836         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47837         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
47838         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47839         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47840         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
47841         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
47842         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
47843         * sysdeps/x86_64/dl-tls.h: Likewise.
47844         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
47845         * time/alt_digit.c: Likewise.
47846         * time/era.c: Likewise.
47847         * wcsmbs/tst-c16c32-1.c: Likewise.
47849 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47851         * math/libm-test.inc (struct test_sincos_data): New type.
47852         (RUN_TEST_LOOP_sincos): New macro.
47853         (sincos_test_data): New variable.
47854         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
47856 2013-05-16  Richard Henderson  <rth@redhat.com>
47858         * math/atest-exp2.c (LIMB64): New macro.
47859         (CONSTSZ): New macro.
47860         (mp_exp1, mp_exp_m1, mp_log2): New variables.
47861         (hexdig): Move ...
47862         (print_mpn_fp): ... to function scope.
47863         (read_mpn_hex): Remove.
47864         (get_log2): Remove.
47865         (exp2_mpn): Use mp_log2.
47866         (main): Use mp_exp1.
47868 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47870         * math/libm-test.inc: Remove comment about not testing "inexact"
47871         exceptions.
47872         (INEXACT_EXCEPTION): New macro.
47873         (NO_INEXACT_EXCEPTION): Likewise.
47874         (INVALID_EXCEPTION_OK): Update value.
47875         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47876         (OVERFLOW_EXCEPTION_OK): Likewise.
47877         (UNDERFLOW_EXCEPTION_OK): Likewise.
47878         (IGNORE_ZERO_INF_SIGN): Likewise.
47879         (ERRNO_UNCHANGED): Likewise.
47880         (ERRNO_EDOM): Likewise.
47881         (ERRNO_ERANGE): Likewise.
47882         (test_exceptions): Handle testing "inexact" exceptions.
47883         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
47884         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
47885         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
47886         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
47887         INEXACT_EXCEPTION.
47888         (rint_towardzero_test_data): Likewise.
47889         (rint_downward_test_data): Likewise.
47890         (rint_upward_test_data): Likewise.
47892         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
47893         with OVERFLOW_EXCEPTION.
47894         (exp10_test_data): Likewise.
47895         (exp2_test_data): Likewise.
47896         (expm1_test_data): Likewise.
47897         (lgamma_test_data): Likewise.
47898         (pow_test_data): Likewise.
47899         (tgamma_test_data): Likewise.
47900         (yn_test_data): Remove duplicate test of overflow.
47902         * math/libm-test.inc (struct test_cc_c_data): New type.
47903         (RUN_TEST_LOOP_cc_c): New macro.
47904         (cpow_test_data): New variable.
47905         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
47907         * math/libm-test.inc (struct test_f_L_data): New type.
47908         (RUN_TEST_LOOP_f_L): New macro.
47909         (llrint_test_data): New variable.
47910         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
47911         (llrint_tonearest_test_data): New variable.
47912         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
47913         (llrint_towardzero_test_data): New variable.
47914         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
47915         (llrint_downward_test_data): New variable.
47916         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
47917         (llrint_upward_test_data): New variable.
47918         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
47919         (llround_test_data): New variable.
47920         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
47922 2013-05-13  Peter Collingbourne  <pcc@google.com>
47924         * math/atest-exp2.c (get_log2): Remove const attribute.
47926 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47928         * math/libm-test.inc (struct test_f_l_data): New type.
47929         (RUN_TEST_LOOP_f_l): New macro.
47930         (lrint_test_data): New variable.
47931         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
47932         (lrint_tonearest_test_data): New variable.
47933         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
47934         (lrint_towardzero_test_data): New variable.
47935         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47936         (lrint_downward_test_data): New variable.
47937         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
47938         (lrint_upward_test_data): New variable.
47939         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
47940         (lround_test_data): New variable.
47941         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47943 2013-05-15  Peter Collingbourne  <pcc@google.com>
47945         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47946         (EXTRACT_WORDS64) Use where appropriate.
47947         (INSERT_WORDS64) Likewise.
47949         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47950         constraints with x constraints.
47951         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47953         * malloc/obstack.c (_obstack_compat): Add initializer.
47955 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47957         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47958         si_trapno and add si_addr_lsb to _sifields.sigfault.
47959         (si_trapno): Remove macro.
47960         (si_addr_lsb): Define new macro.
47961         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47963 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47965         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47966         instead of TEST_f_l.
47967         (llrint_test_tonearest): Likewise.
47968         (llrint_test_towardzero): Likewise.
47969         (llrint_test_downward): Likewise.
47970         (llrint_test_upward): Likewise.
47971         (llround_test): Likewise.
47973         * math/libm-test.inc (struct test_f_i_data): Add comment.
47974         (RUN_TEST_LOOP_f_b): New macro.
47975         (RUN_TEST_LOOP_f_b_tg): Likewise.
47976         (finite_test_data): New variable.
47977         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47978         (isfinite_test_data): New variable.
47979         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47980         (isinf_test_data): New variable.
47981         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47982         (isnan_test_data): New variable.
47983         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47984         (isnormal_test_data): New variable.
47985         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47986         (issignaling_test_data): New variable.
47987         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47988         (signbit_test_data): New variable.
47989         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47991         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47992         with INVALID_EXCEPTION.
47993         (acosh_test_data): Likewise.
47994         (asin_test_data): Likewise.
47995         (atanh_test_data): Likewise.
47996         (fmod_test_data): Likewise.
47997         (log_test_data): Likewise.
47998         (log10_test_data): Likewise.
47999         (log2_test_data): Likewise.
48000         (pow_test_data): Likewise.
48001         (sqrt_test_data): Likewise.
48002         (y0_test_data): Likewise.
48003         (y1_test_data): Likewise.
48004         (yn_test_data): Likewise.
48006         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48007         function contents.
48009         * math/libm-test.inc (struct test_ff_i_data): New type.
48010         (RUN_TEST_LOOP_ff_i_tg): New macro.
48011         (isgreater_test_data): New variable.
48012         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48013         (isgreaterequal_test_data): New variable.
48014         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48015         (isless_test_data): New variable.
48016         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48017         (islessequal_test_data): New variable.
48018         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48019         (islessgreater_test_data): New variable.
48020         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48021         (isunordered_test_data): New variable.
48022         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48024 2013-05-14  David S. Miller  <davem@davemloft.net>
48026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48028 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48030         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48032         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48033         extra_test to int.
48034         (struct test_f_i_data): Change type of max_ulp to int.
48036         * math/libm-test.inc (test_ffI_f1_data): New type.
48037         (RUN_TEST_LOOP_ffI_f1): New macro.
48038         (remquo_test_data): New variable.
48039         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48041         * setjmp/tst-setjmp-fp.c: New file.
48042         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48043         (link-libm): New variable.
48044         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48046         * math/libm-test.inc (struct test_f_i_data): New type.
48047         (RUN_TEST_LOOP_f_i): New macro.
48048         (RUN_TEST_LOOP_f_i_tg): Likewise.
48049         (fpclassify_test_data): New variable.
48050         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48051         (ilogb_test_data): New variable.
48052         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48054         * math/libm-test.inc (scalbln_test): Correct function name in END
48055         call.
48057         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48058         (RUN_TEST_LOOP_fI_f1): New macro.
48059         (frexp_test_data): New variable.
48060         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48062         * math/libm-test.inc (struct test_fF_f1_data): New type.
48063         (RUN_TEST_LOOP_fF_f1): New macro.
48064         (modf_test_data): New variable.
48065         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48067         * math/libm-test.inc (struct test_f_f1_data): New type.
48068         (RUN_TEST_LOOP_f_f1): New macro.
48069         (gamma_test_data): New variable.
48070         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48071         (lgamma_test_data): New variable.
48072         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48074 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48076         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48077         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48078         (main): Comment "tls" pseudo-hwcap.
48080 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48082         * math/libm-test.inc (struct test_fl_f_data): New type.
48083         (RUN_TEST_LOOP_fl_f): New variable.
48084         (scalbln_test_data): New variable.
48085         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48087         * math/libm-test.inc (struct test_fi_f_data): New type.
48088         (RUN_TEST_LOOP_fi_f): New macro.
48089         (ldexp_test_data): New variable.
48090         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48091         (scalbn_test_data): New variable.
48092         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48094         * math/libm-test.inc (struct test_c_f_data): New type.
48095         (RUN_TEST_LOOP_c_f): New macro.
48096         (cabs_test_data): New variable.
48097         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48098         (carg_test_data): New variable.
48099         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48100         (cimag_test_data): New variable.
48101         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48102         (creal_test_data): New variable.
48103         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48105         * math/libm-test.inc (struct test_if_f_data): New type.
48106         (RUN_TEST_LOOP_if_f): New macro.
48107         (jn_test_data): New variable.
48108         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48109         (yn_test_data): New variable.
48110         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48112         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48114 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48116         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48117         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48119 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48121         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48122         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48123         (bench-deps): Add bench-timing.h.
48124         * benchtests-bench-skeleton.c: Include bench-timing.h.
48125         (main): Use TIMING_* macros instead of clock_gettime.
48126         * benchtests/bench-timing.h: New file.
48128         [BZ #14582]
48129         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48130         Renamed from _LIB_VERSION.
48131         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48133 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48135         * math/libm-test.inc (struct test_fff_f_data): New type.
48136         (RUN_TEST_LOOP_fff_f): New macro.
48137         (fma_test_data): New variable.
48138         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48139         (fma_towardzero_test_data): New variable.
48140         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48141         (fma_downward_test_data): New variable.
48142         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48143         (fma_upward_test_data): New variable.
48144         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48146         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48147         (struct test_c_c_data): New type.
48148         (RUN_TEST_LOOP_c_c): New macro.
48149         (cacos_test_data): New variable.
48150         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48151         (cacosh_test_data): New variable.
48152         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48153         (casin_test_data): New variable.
48154         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48155         (casinh_test_data): New variable.
48156         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48157         (catan_test_data): New variable.
48158         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48159         (catanh_test_data): New variable.
48160         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48161         (ccos_test_data): New variable.
48162         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48163         (ccosh_test_data): New variable.
48164         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48165         (cexp_test_data): New variable.
48166         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48167         (clog_test_data): New variable.
48168         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48169         (clog10_test_data): New variable.
48170         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48171         (conj_test_data): New variable.
48172         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48173         (cproj_test_data): New variable.
48174         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48175         (csin_test_data): New variable.
48176         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48177         (csinh_test_data): New variable.
48178         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48179         (csqrt_test_data): New variable.
48180         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48181         (ctan_test_data): New variable.
48182         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48183         (ctan_tonearest_test_data): New variable.
48184         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48185         (ctan_towardzero_test_data): New variable.
48186         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48187         (ctan_downward_test_data): New variable.
48188         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48189         (ctan_upward_test_data): New variable.
48190         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48191         (ctanh_test_data): New variable.
48192         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48193         (ctanh_tonearest_test_data): New variable.
48194         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48195         (ctanh_towardzero_test_data): New variable.
48196         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48197         (ctanh_downward_test_data): New variable.
48198         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48199         (ctanh_upward_test_data): New variable.
48200         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48201         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48202         of BUILD_COMPLEX.
48204         * math/libm-test.inc (struct test_ff_f_data): New type.
48205         (struct test_ff_f_data_nexttoward): Likewise.
48206         (RUN_TEST_LOOP_2_f): New macro.
48207         (RUN_TEST_LOOP_ff_f): Likewise.
48208         (atan2_test_data): New variable.
48209         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48210         (copysign_test_data): New variable.
48211         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48212         (fdim_test_data): New variable.
48213         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48214         (fmax_test_data): New variable.
48215         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48216         (fmin_test_data): New variable.
48217         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48218         (fmod_test_data): New variable.
48219         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48220         (hypot_test_data): New variable.
48221         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48222         (nextafter_test_data): New variable.
48223         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48224         (nexttoward_test_data): New variable.
48225         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48226         (pow_test_data): New variable.
48227         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48228         (pow_tonearest_test_data): New variable.
48229         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48230         (pow_towardzero_test_data): New variable.
48231         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48232         (pow_downward_test_data): New variable.
48233         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48234         (pow_upward_test_data): New variable.
48235         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48236         (remainder_test_data): New variable.
48237         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48238         (scalb_test_data): New variable.
48239         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48240         * sysdeps/i386/fpu/libm-test-ulps: Update.
48242 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48244         * math/libm-test.inc (fma_test): Use max_value instead of local
48245         variable fltmax.
48246         (nextafter_test): Likewise.
48248         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48249         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48250         (acos_downward_test_data): New variable.
48251         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48252         (acos_upward_test_data): New variable.
48253         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48254         (acosh_test_data): New variable.
48255         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48256         (asin_test_data): New variable.
48257         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48258         (asin_tonearest_test_data): New variable.
48259         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48260         (asin_towardzero_test_data): New variable.
48261         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48262         (asin_downward_test_data): New variable.
48263         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48264         (asin_upward_test_data): New variable.
48265         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48266         (asinh_test_data): New variable.
48267         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48268         (atan_test_data): New variable.
48269         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48270         (atanh_test_data): New variable.
48271         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48272         (cbrt_test_data): New variable.
48273         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48274         (ceil_test_data): New variable.
48275         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48276         (cos_test_data): New variable.
48277         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48278         (cos_tonearest_test_data): New variable.
48279         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48280         (cos_towardzero_test_data): New variable.
48281         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48282         (cos_downward_test_data): New variable.
48283         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48284         (cos_upward_test_data): New variable.
48285         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48286         (cosh_test_data): New variable.
48287         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48288         (cosh_tonearest_test_data): New variable.
48289         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48290         (cosh_towardzero_test_data): New variable.
48291         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48292         (cosh_downward_test_data): New variable.
48293         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48294         (cosh_upward_test_data): New variable.
48295         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48296         (erf_test_data): New variable.
48297         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48298         (erfc_test_data): New variable.
48299         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48300         (exp_test_data): New variable.
48301         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48302         (exp_tonearest_test_data): New variable.
48303         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48304         (exp_towardzero_test_data): New variable.
48305         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48306         (exp_downward_test_data): New variable.
48307         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48308         (exp_upward_test_data): New variable.
48309         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48310         (exp10_test_data): New variable.
48311         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48312         (exp2_test_data): New variable.
48313         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48314         (expm1_test_data): New variable.
48315         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48316         (fabs_test_data): New variable.
48317         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48318         (floor_test_data): New variable.
48319         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48320         (j0_test_data): New variable.
48321         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48322         (j1_test_data): New variable.
48323         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48324         (log_test_data): New variable.
48325         (log_test): Run tests with RUN_TEST_LOOP_f_f.
48326         (log10_test_data): New variable.
48327         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48328         (log1p_test_data): New variable.
48329         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48330         (log2_test_data): New variable.
48331         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48332         (logb_test_data): New variable.
48333         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48334         (logb_downward_test_data): New variable.
48335         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48336         (nearbyint_test_data): New variable.
48337         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48338         (rint_test_data): New variable.
48339         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48340         (rint_tonearest_test_data): New variable.
48341         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48342         (rint_towardzero_test_data): New variable.
48343         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48344         (rint_downward_test_data): New variable.
48345         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48346         (rint_upward_test_data): New variable.
48347         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48348         (round_test_data): New variable.
48349         (round_test): Run tests with RUN_TEST_LOOP_f_f.
48350         (sin_test_data): New variable.
48351         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48352         (sin_tonearest_test_data): New variable.
48353         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48354         (sin_towardzero_test_data): New variable.
48355         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48356         (sin_downward_test_data): New variable.
48357         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48358         (sin_upward_test_data): New variable.
48359         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48360         (sinh_test_data): New variable.
48361         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48362         (sinh_tonearest_test_data): New variable.
48363         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48364         (sinh_towardzero_test_data): New variable.
48365         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48366         (sinh_downward_test_data): New variable.
48367         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48368         (sinh_upward_test_data): New variable.
48369         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48370         (sqrt_test_data): New variable.
48371         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48372         (tan_test_data): New variable.
48373         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48374         (tan_tonearest_test_data): New variable.
48375         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48376         (tan_towardzero_test_data): New variable.
48377         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48378         (tan_downward_test_data): New variable.
48379         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48380         (tan_upward_test_data): New variable.
48381         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48382         (tanh_test_data): New variable.
48383         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48384         (tgamma_test_data): New variable.
48385         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48386         (trunc_test_data): New variable.
48387         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48388         (y0_test_data): New variable.
48389         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48390         (y1_test_data): New variable.
48391         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48392         (significand_test_data): New variable.
48393         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48395 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48397         [BZ #12387]
48398         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48400 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48402         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48404 2013-05-10  Andreas Jaeger  <aj@suse.de>
48406         [BZ #15448]
48407         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48408         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48410 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48412         * math/gen-libm-test.pl (adjust_arg): New function.
48413         (special_functions): Handle generating output in both functions
48414         and arrays.
48415         (parse_args): Likewise.
48416         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48417         $in_func argument to parse_args.
48418         * math/libm-test.inc (struct test_f_f_data): New type.
48419         (IF_ROUND_INIT_): New macro.
48420         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48421         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48422         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48423         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48424         (ROUND_RESTORE_): Likewise.
48425         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48426         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48427         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48428         (ROUND_RESTORE_FE_UPWARD): Likewise.
48429         (RUN_TEST_LOOP_f_f): New macro.
48430         (acos_test_data): New variable.
48431         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48432         (acos_tonearest_test_data): New variable.
48433         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48435 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48437         * benchtests/bench-skeleton.c (startup): Fix coding style.
48439 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48441         [BZ #6809]
48442         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48443         negative infinity argument.
48444         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48445         negative infinity argument.
48446         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48447         negative infinity argument.
48448         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48449         domain errors.
48451 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48453         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48454         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48455         * iconv/iconv_prog.c (main): Likewise.
48456         * locale/programs/charmap-dir.c (charmap_readdir)
48457         (fopen_uncompressed): Likewise.
48458         * locale/programs/locfile.c (siblings_uncached)
48459         (write_locale_data): Use lstat64 instead of lstat.
48460         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48461         stat.
48463 2013-05-10  Andreas Jaeger  <aj@suse.de>
48465         [BZ #15395]
48466         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48467         localization.
48468         Include <locale.h>.
48470 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48472         * elf/dl-close.c (_dl_close_worker): Add comments.
48474 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48476         [BZ #15359]
48477         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48478         high part of pi/2.
48479         (__ieee754_rem_pio2l): Update comments.
48481         [BZ #15429]
48482         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48483         high part of pi/2.
48484         (__ieee754_rem_pio2l): Update comments.
48486         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48487         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48489         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48490         M_PI_4l.
48492         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48493         (M_PI_34_LOG10El): Likewise.
48494         (M_PI2_LOG10El): Likewise.
48495         (M_PI4_LOG10El): Likewise.
48496         (M_PI_LOG10El): Likewise.
48498 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48502 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
48504         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48505         (MINUS_ZERO_INIT): Likewise.
48506         (PLUS_INFTY_INIT): Likewise.
48507         (MINUS_INFTY_INIT): Likewise.
48508         (QNAN_VALUE_INIT): Likewise.
48509         (MAX_VALUE_INIT): Likewise.
48510         (MIN_VALUE_INIT): Likewise.
48511         (MIN_SUBNORM_VALUE_INIT): Likewise.
48512         (plus_zero): Initialize with PLUS_ZERO_INIT.
48513         (minus_zero): Initialize with MINUS_ZERO_INIT.
48514         (plus_infty): Initialize with PLUS_INFTY_INIT.
48515         (minus_infty): Initialize with MINUS_INFTY_INIT.
48516         (qnan_value): Initialize with QNAN_VALUE_INIT.
48517         (max_value): Initialize with MAX_VALUE_INIT.
48518         (min_value): Initialize with MIN_VALUE_INIT.
48519         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48521         * math/libm-test.inc (RUN_TEST_if_f): New macro.
48522         (jn_test): Use TEST_if_f instead of TEST_ff_f.
48523         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48524         (yn_test): Use TEST_if_f instead of TEST_ff_f.
48526         * math/libm-test.inc (RUN_TEST_f_f): New macro.
48527         (RUN_TEST_2_f): Likewise.
48528         (RUN_TEST_ff_f): Likewise.
48529         (RUN_TEST_fi_f): Likewise.
48530         (RUN_TEST_fl_f): Likewise.
48531         (RUN_TEST_fff_f): Likewise.
48532         (RUN_TEST_c_f): Likewise.
48533         (RUN_TEST_f_f1): Likewise.
48534         (RUN_TEST_fF_f1): Likewise.
48535         (RUN_TEST_fI_f1): Likewise.
48536         (RUN_TEST_ffI_f1): Likewise.
48537         (RUN_TEST_c_c): Likewise.
48538         (RUN_TEST_cc_c): Likewise.
48539         (RUN_TEST_f_i): Likewise.
48540         (RUN_TEST_f_i_tg): Likewise.
48541         (RUN_TEST_ff_i_tg): Likewise.
48542         (RUN_TEST_f_b): Likewise.
48543         (RUN_TEST_f_b_tg): Likewise.
48544         (RUN_TEST_f_l): Likewise.
48545         (RUN_TEST_f_L): Likewise.
48546         (RUN_TEST_sincos): Likewise.
48547         * math/gen-libm-test.pl (new_test): Take new argument to indicate
48548         whether to show exceptions.  Do not include ");\n" in return
48549         value.
48550         (special_functions): Output call to RUN_TEST_sincos instead of
48551         check_float calls.  Update calls to new_test.
48552         (parse_args): Output call to single RUN_TEST_* macro instead of
48553         check_* calls and other assignments.  Update calls to new_test.
48555         [BZ #2546]
48556         [BZ #2560]
48557         [BZ #5159]
48558         [BZ #15426]
48559         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48560         input to result for tgamma overflow.
48561         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48562         (gamma_coeff): New variable.
48563         (NCOEFF): New macro.
48564         (gamma_positive): New function.
48565         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48566         underflow here.  Use gamma_positive instead of exp (lgamma) for
48567         other arguments.
48568         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48569         (gamma_coeff): New variable.
48570         (NCOEFF): New macro.
48571         (gammaf_positive): New function.
48572         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48573         underflow here.  Use gamma_positive instead of exp (lgamma) for
48574         other arguments.
48575         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48576         (gamma_coeff): New variable.
48577         (NCOEFF): New macro.
48578         (gammal_positive): New function.
48579         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48580         underflow here.  Use gamma_positive instead of exp (lgamma) for
48581         other arguments.
48582         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48583         (gamma_coeff): New variable.
48584         (NCOEFF): New macro.
48585         (gammal_positive): New function.
48586         (__ieee754_gammal_r): Handle positive infinity, overflow and
48587         underflow here.  Handle NaN the same as positive infinity.  Remove
48588         check x < 0xffffffff for negative integers.  Use gamma_positive
48589         instead of exp (lgamma) for other arguments.
48590         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48591         (gamma_coeff): New variable.
48592         (NCOEFF): New macro.
48593         (gammal_positive): New function.
48594         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48595         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48596         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48597         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48598         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48599         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48600         * sysdeps/generic/math_private.h (__gamma_productf): New
48601         prototype.
48602         (__gamma_product): Likewise.
48603         (__gamma_productl): Likewise.
48604         * math/Makefile (libm-calls): Add gamma_product.
48605         * math/libm-test.inc (tgamma_test): Add more tests.
48606         * sysdeps/i386/fpu/libm-test-ulps: Update.
48607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48609 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
48611         * benchtests/bench-skeleton.c (main): Preheat CPU.
48613 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
48615         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48617 2013-05-07  Roland McGrath  <roland@hack.frob.com>
48619         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48620         and _dl_skip_args_internal.
48622 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
48624         * manual/message.texi (Message Translation): Talk about users.
48625         Message to key mapping impacts design.
48627 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48629         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48631         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48633         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48634         * sysdeps/wordsize-64/glob64.c: ... here.
48636         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48637         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48638         New macros.
48640         * debug/getlogin_r_chk.c: Moved to ...
48641         * login/getlogin_r_chk.c: ... here.
48642         * debug/Makefile (routines): Move getlogin_r_chk to ...
48643         * login/Makefile (routines): ... here.
48644         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48645         * login/Versions (libc: GLIBC_2.4): ... here.
48647         * io/poll.c (__poll): Renamed from poll.
48648         Add libc_hidden_def.
48649         (poll): Define as weak alias.
48651         * debug/ptsname_r_chk.c: Moved to ...
48652         * login/ptsname_r_chk.c: ... here.
48653         * debug/Makefile (routines): Move ptsname_r_chk to ...
48654         * login/Makefile (routines): ... here.
48655         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48656         * login/Versions (libc: GLIBC_2.4): ... here.
48658         * posix/getlogin.c: Moved to ...
48659         * login/getlogin.c: ... here.
48660         * posix/getlogin_r.c: Moved to ...
48661         * login/getlogin_r.c: ... here.
48662         * posix/getlogin_r.c: Moved to ...
48663         * login/getlogin_r.c: ... here.
48664         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48665         * login/Makefile (routines): ... here.
48666         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48667         * login/Versions (libc: GLIBC_2.0): ... here.
48669         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48670         (setrlimit): Define as weak alias.
48672         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48673         Call __ names for open, ftruncate, and close.
48674         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48675         (truncate): Define as weak alias.
48677 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48679         * math/gen-libm-test.pl (parse_args): Initialize x before each
48680         test of frexp, modf and remquo.
48682         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48683         test signgam value.
48685 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48687         [BZ #15418]
48688         [BZ #15419]
48689         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48690         internal tests.
48691         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48693 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48695         * elf/dl-writev.h: New file.
48696         * elf/dl-misc.c: Include it.
48697         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48698         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48700 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
48702         * math/libm-test.inc (noXFails): Remove variable.
48703         (noXPasses): Likewise.
48704         (BUILD_COMPLEX_INT): Remove macro.
48705         (print_screen): Remove xfail argument.
48706         (print_screen_max_error): Likewise.
48707         (update_stats): Likewise.
48708         (print_max_error): Likewise.  Update calls to other affected
48709         functions.
48710         (print_complex_max_error): Likewise.
48711         (test_single_exception): Update calls to print_screen.
48712         (test_single_errno): Likewise.
48713         (check_float_internal): Remove xfail argument.  Update calls to
48714         other affected functions.
48715         (check_float): Likewise.
48716         (check_complex): Likewise.
48717         (check_int): Likewise.
48718         (check_long): Likewise.
48719         (check_bool): Likewise.
48720         (check_longlong): Likewise.
48721         (main): Don't print noXFails and noXPasses.
48722         * math/gen-libm-test.pl (top level): Don't mention expected
48723         failure handling in comment.
48724         (new_test): Don't handle expected failures.
48725         (parse_args): Don't mention expected failure handling in comment.
48726         (generate_testfile): Don't handle expected failures.
48727         (parse_ulps): Likewise.
48728         (print_ulps_file): Likewise.
48729         (get_failure): Remove function.
48730         (output_test): Don't handle expected failures.
48731         * make/README.libm-test: Don't mention expected failure handling.
48733         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
48734         (minus_zero): Likewise.
48735         (plus_infty): Likewise.
48736         (minus_infty): Likewise.
48737         (qnan_value): Likewise.
48738         (max_value): Likewise.
48739         (min_value): Likewise.
48740         (min_subnorm_value): Likewise.
48741         (initialize): Do not initialize those variables dynamically.
48743 2013-05-03  Roland McGrath  <roland@hack.frob.com>
48745         * io/open.c (__open_2): Moved to ...
48746         * io/open_2.c: ... this new file.
48747         * io/open64.c (__open64_2): Moved to ...
48748         * io/open64_2.c: ... this new file.
48749         * io/openat.c (__openat_2): Moved to ...
48750         * io/openat_2.c: ... this new file.
48751         * io/openat64.c (__openat64_2): Moved to ...
48752         * io/openat64_2.c: ... this new file.
48753         * io/Makefile (routines): Add them.
48754         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
48755         * sysdeps/unix/sysv/linux/open_2.c: File removed.
48756         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
48757         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
48758         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
48759         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
48760         (__openat64): Add hidden_ver.
48761         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
48762         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
48764         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
48765         Separately conditionalize setting of GLRO(dl_sysinfo) so
48766         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
48767         as well, but the actual setting is only under [NEED_DL_SYSINFO].
48769 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48771         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
48772         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
48773         definition.
48774         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
48775         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48776         (_libc_vdso_platform_setup): Add __vdso_time initialization.
48777         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
48778         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
48780 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
48782         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
48783         test signgam value.
48785         * math/libm-test.inc (hypot_test): Do not use
48786         IGNORE_ZERO_INF_SIGN.
48788 2013-05-03  Andreas Jaeger  <aj@suse.de>
48790         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
48791         Linux 3.9.
48792         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
48793         (PF_MAX): Adjust for VSOCK change.
48795 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48799 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
48801         [BZ #15264]
48802         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
48803         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
48804         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
48806 2013-05-02  David S. Miller  <davem@davemloft.net>
48808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48810 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
48812         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
48814 2013-05-01  Roland McGrath  <roland@hack.frob.com>
48816         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
48818 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
48820         [BZ #14952]
48821         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
48822         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48823         Use __attribute__ ((__gnu_inline__)).
48824         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48825         Don't use __attribute__ ((__gnu_inline__)).
48827 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
48829         [BZ #15423]
48830         * math/s_catan.c (__catan): Handle small real or imaginary part of
48831         input specially to avoid spurious underflow.
48832         * math/s_catanf.c (__catanf): Likewise.
48833         * math/s_catanh.c (__catanh): Likewise.
48834         * math/s_catanhf.c (__catanhf): Likewise.
48835         * math/s_catanhl.c (__catanhl): Likewise.
48836         * math/s_catanl.c (__catanl): Likewise.
48837         * math/libm-test.inc (catan_test): Add more tests.
48838         (catanh_test): Likewise.
48839         * sysdeps/i386/fpu/libm-test-ulps: Update.
48840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48842 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48846 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
48848         [BZ #15416]
48849         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
48850         accurately for denominator in atan2.
48851         * math/s_catanf.c (__catanf): Likewise.
48852         * math/s_catanh.c (__catanh): Likewise.
48853         * math/s_catanhf.c (__catanhf): Likewise.
48854         * math/s_catanhl.c (__catanhl): Likewise.
48855         * math/s_catanl.c (__catanl): Likewise.
48856         * math/libm-test.inc (catan_test): Add more tests.
48857         (catanh_test): Likewise.
48858         * sysdeps/i386/fpu/libm-test-ulps: Update.
48859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48861 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48863         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
48865         * benchtests/Makefile (bench): Remove slow benchmarks.
48866         * benchtests/atan-inputs: Add slow benchmark inputs.
48867         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
48868         (BENCH_FUNC): Accept variant offset.
48869         (VARIANT): Define.
48870         * benchtests/bench-skeleton.c (main): Run benchmark for each
48871         variant.
48872         * benchtests/cos-inputs: Add slow benchmark inputs.
48873         * benchtests/exp-inputs: Likewise.
48874         * benchtests/pow-inputs: Likewise.
48875         * benchtests/sin-inputs: Likewise.
48876         * benchtests/slowatan-inputs: Remove.
48877         * benchtests/slowatan.c: Remove.
48878         * benchtests/slowcos-inputs: Remove.
48879         * benchtests/slowcos.c: Remove.
48880         * benchtests/slowexp-inputs: Remove.
48881         * benchtests/slowexp.c: Remove.
48882         * benchtests/slowpow-inputs: Remove.
48883         * benchtests/slowpow.c: Remove.
48884         * benchtests/slowsin-inputs: Remove.
48885         * benchtests/slowsin.c: Remove.
48886         * benchtests/slowtan-inputs: Remove.
48887         * benchtests/slowtan.c: Remove.
48888         * benchtests/tan-inputs: Add slow benchmark inputs.
48889         * scripts/bench.pl: Parse comments and directives.
48891         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
48892         in CPPFLAGS.
48893         ($(objpfx)bench-%.c): Remove *-ITER.
48894         * benchtests/bench-modf.c: Remove definition of ITER.
48895         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
48896         (main): Loop for DURATION seconds instead of fixed number of
48897         iterations.
48898         * scripts/bench.pl: Don't expect iterations in parameters.
48900 2013-04-29  Roland McGrath  <roland@hack.frob.com>
48902         * io/fchdir.c (__fchdir): Renamed from fchdir.
48903         (fchdir): Define as weak alias.
48905 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48907         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
48908         (ERRNO_EDOM): Likewise.
48909         (ERRNO_ERANGE): Likewise.
48910         (noErrnoTests): New variable.
48911         (init_max_error): Set errno to 0.
48912         (test_single_errno): New function.
48913         (test_errno): Likewise.
48914         (check_float_internal): Call test_errno.  Set errno to 0.
48915         (check_complex): Refer to errno tests in comment.
48916         (check_int): Call test_errno.  Set errno to 0.
48917         (check_long): Likewise.
48918         (check_bool): Likewise.
48919         (check_longlong): Likewise.
48920         (cos_test): Use ERRNO_* flags for errno tests instead of
48921         check_int.
48922         (expm1_test): Likewise.
48923         (fmod_test): Likewise.
48924         (ilogb_test): Likewise.
48925         (lgamma_test): Likewise.
48926         (pow_test): Likewise.
48927         (remainder_test): Likewise.
48928         (sin_test): Likewise.
48929         (tan_test): Likewise.
48930         (yn_test): Likewise.
48931         (initialize): Set errno to 0.
48932         (main): Print number of errno tests.
48933         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
48935 2013-04-29  Andreas Jaeger  <aj@suse.de>
48937         [BZ #15084]
48938         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
48939         and RES_USEVC.
48941         [BZ #15085]
48942         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48943         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48944         unimplemented.
48946         [BZ #15380]
48947         * stdlib/random.c (__initstate): Return NULL if
48948         __initstate fails.
48950         [BZ #15086]
48951         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48952         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48953         RES_SNGLKUPREOP.
48955 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48959 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48961         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48962         of individual tests.
48963         (casin_test): Likewise.
48964         (casinh_test): Likewise.
48966 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
48968         [BZ #15409]
48969         * math/s_catan.c (__catan): Handle arguments with large real or
48970         imaginary part separately without squaring.
48971         * math/s_catanf.c (__catanf): Likewise.
48972         * math/s_catanh.c (__catanh): Likewise.
48973         * math/s_catanhf.c (__catanhf): Likewise.
48974         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48975         and redefine.
48976         (__catanhl): Handle arguments with large real or imaginary part
48977         separately without squaring.
48978         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48979         and redefine.
48980         (__catanl): Handle arguments with large real or imaginary part
48981         separately without squaring.
48982         * math/libm-test.inc (catan_test): Add more tests.
48983         (catanh_test): Likewise.
48984         * sysdeps/i386/fpu/libm-test-ulps: Update.
48985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48987 2013-04-27  Andreas Jaeger  <aj@suse.de>
48989         [BZ #15007]
48990         * stdlib/stdlib.h: Update guards for qecvt.
48991         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48992         <stdlib.h>.
48994 2013-04-27  Allan McRae  <allan@archlinux.org>
48996         * sysdeps/i386/fpu/libm-test-ulps: Update.
48998 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49000         [BZ #15406]
49001         * math/s_catan.c: Include <float.h>.
49002         (__catan): Ensure underflow exception occurs for underflowed
49003         result.
49004         * math/s_catanf.c: Include <float.h>.
49005         (__catanf): Ensure underflow exception occurs for underflowed
49006         result.
49007         * math/s_catanh.c: Include <float.h>.
49008         (__catanh): Ensure underflow exception occurs for underflowed
49009         result.
49010         * math/s_catanhf.c: Include <float.h>.
49011         (__catanhf): Ensure underflow exception occurs for underflowed
49012         result.
49013         * math/s_catanhl.c: Include <float.h>.
49014         (__catanhl): Ensure underflow exception occurs for underflowed
49015         result.
49016         * math/s_catanl.c: Include <float.h>.
49017         (__catanl): Ensure underflow exception occurs for underflowed
49018         result.
49019         * math/libm-test.inc (catan_test): Add more tests.
49020         (catanh_test): Likewise.
49022         [BZ #15405]
49023         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49024         underflowed result.
49025         * math/s_ccoshf.c (__ccoshf): Likewise.
49026         * math/s_ccoshl.c (__ccoshl): Likewise.
49027         * math/s_csin.c (__csin): Likewise.
49028         * math/s_csinf.c (__csinf): Likewise.
49029         * math/s_csinh.c (__csinh): Likewise.
49030         * math/s_csinhf.c (__csinhf): Likewise.
49031         * math/s_csinhl.c (__csinhl): Likewise.
49032         * math/s_csinl.c (__csinl): Likewise.
49033         * math/libm-test.inc (ccos_test): Add more tests.
49034         (ccosh_test): Likewise.
49035         (csin_test): Likewise.
49036         (csinh_test): Likewise.
49038 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49040         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49041         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49042         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49043         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49044         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49045         powerpc/power5+/fpu folders.
49046         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49049 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49051         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49053 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49055         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49056         additions to variable.
49057         [$(config-machine) = x86_64] (modules-names): Likewise.
49058         ($(objpfx)tst-audit3): Remove dependency.
49059         ($(objpfx)tst-audit3.out): Likewise.
49060         ($(objpfx)tst-audit4): Likewise.
49061         ($(objpfx)tst-audit4.out): Likewise.
49062         ($(objpfx)tst-audit5): Likewise.
49063         ($(objpfx)tst-audit5.out): Likewise.
49064         ($(objpfx)tst-audit6): Likewise.
49065         ($(objpfx)tst-audit6.out): Likewise.
49066         ($(objpfx)tst-audit7): Likewise.
49067         ($(objpfx)tst-audit7.out): Likewise.
49068         (tst-audit3-ENV): Remove variable.
49069         (tst-audit4-ENV): Likewise.
49070         (tst-audit5-ENV): Likewise.
49071         (tst-audit6-ENV): Likewise.
49072         (tst-audit7-ENV): Likewise.
49073         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49074         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49075         addition to variable.
49076         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49077         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49078         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49079         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49080         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49081         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49082         tst-audit3, tst-audit4 and tst-audit5.
49083         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49084         tst-audit6 and tst-audit7.
49085         [$(subdir) = elf] (modules-names): Add audit modules for those
49086         tests.
49087         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49088         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49089         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49090         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49091         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49092         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49093         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49094         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49095         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49096         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49097         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49098         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49099         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49100         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49101         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49102         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49103         Likewise.
49104         [$(subdir) = elf && $(config-cflags-avx) = yes]
49105         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49106         [$(subdir) = elf && $(config-cflags-avx) = yes]
49107         (CFLAGS-tst-auditmod4a.c): Likewise.
49108         [$(subdir) = elf && $(config-cflags-avx) = yes]
49109         (CFLAGS-tst-auditmod4b.c): Likewise.
49110         [$(subdir) = elf && $(config-cflags-avx) = yes]
49111         (CFLAGS-tst-auditmod6b.c): Likewise.
49112         [$(subdir) = elf && $(config-cflags-avx) = yes]
49113         (CFLAGS-tst-auditmod6c.c): Likewise.
49114         [$(subdir) = elf && $(config-cflags-avx) = yes]
49115         (CFLAGS-tst-auditmod7b.c): Likewise.
49116         * elf/tst-audit3.c: Move to ...
49117         * sysdeps/x86_64/tst-audit3.c: ... here.
49118         * elf/tst-audit4.c: Move to ...
49119         * sysdeps/x86_64/tst-audit4.c: ... here.
49120         * elf/tst-audit5.c: Move to ...
49121         * sysdeps/x86_64/tst-audit5.c: ... here.
49122         * elf/tst-audit6.c: Move to ...
49123         * sysdeps/x86_64/tst-audit6.c: ... here.
49124         * elf/tst-audit7.c: Move to ...
49125         * sysdeps/x86_64/tst-audit7.c: ... here.
49126         * elf/tst-auditmod3a.c: Move to ...
49127         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49128         * elf/tst-auditmod3b.c: Move to ...
49129         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49130         * elf/tst-auditmod4a.c: Move to ...
49131         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49132         * elf/tst-auditmod4b.c: Move to ...
49133         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49134         * elf/tst-auditmod5a.c: Move to ...
49135         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49136         * elf/tst-auditmod5b.c: Move to ...
49137         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49138         * elf/tst-auditmod6a.c: Move to ...
49139         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49140         * elf/tst-auditmod6b.c: Move to ...
49141         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49142         * elf/tst-auditmod6c.c: Move to ...
49143         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49144         * elf/tst-auditmod7a.c: Move to ...
49145         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49146         * elf/tst-auditmod7b.c: Move to ...
49147         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49149 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49151         [BZ #15366]
49152         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49153         define unconditionally.
49154         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49155         define unconditionally.
49156         (INT8_C, INT16_C, etc.): Likewise.
49158 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49160         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49161         __ehdr_start with hidden visibility.
49163         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49165 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49167         * math/libm-test.inc (cos_test): Use accurate hex constants.
49168         (sincost_test): Likewise.
49170 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49172         * math/libm-test.inc (catan_test): Add more tests.
49173         (catanh_test): Likewise.
49175         * math/s_catanf.c (__catanf): Use suffixed floating-point
49176         constants.
49177         * math/s_catanhf.c (__catanhf): Likewise.
49178         * math/s_catanhl.c (__catanhl): Likewise.
49179         * math/s_catanl.c (__catanl): Likewise.
49181         [BZ #15394]
49182         * math/s_catan.c (__catan): Calculate imaginary part of result
49183         with log1p not log unless computing log of number close to 0.
49184         * math/s_catanf.c (__catanf): Likewise.
49185         * math/s_catanl.c (__catanl): Likewise.
49186         * math/s_catanh.c (__catanh): Calculate real part of result with
49187         log1p not log unless computing log of number close to 0.
49188         * math/s_catanhf.c (__catanhf): Likewise.
49189         * math/s_catanhl.c (__catanhl): Likewise.
49190         * math/libm-test.inc (catan_test): Add more tests.
49191         (catanh_test): Likewise.
49192         * sysdeps/i386/fpu/libm-test-ulps: Update.
49193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49195 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49197         * benchtests/Makefile: Mention files in which fast and slow
49198         paths of math functions are implemented.
49200 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49202         * sysdeps/posix/timespec_get.c: New file.
49204 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49206         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49207         POWER.
49208         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49209         for POWER.
49210         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49211         powerpc/power5/fpu folders.
49212         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49213         * benchtests/Makefile: Add modf testcase.
49214         * benchtests/bench-modf.c: New file: Benchmark test for mo
49216 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49218         [BZ #14888]
49219         * time/Makefile (tests): Add tst-strptime-whitespace.
49220         * time/strptime_l.c (get_number): Use ISSPACE.
49221         (__strptime_internal): Likewise.
49222         * time/tst-strptime-whitespace.c: New test case.
49224 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49226         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49227         member.
49228         (_nss_files_init): Set it here.
49230 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49232         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49233         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49234         unsigned.
49236 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49238         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49240 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49242         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49243         size just once.
49245 2013-04-21  David S. Miller  <davem@davemloft.net>
49247         * po/ru.po: Update Russion translation from translation project.
49249 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49251         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49252         and setfsgid.
49254 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49256         * configure.in: Remove i386 configure warning. Remove i386 case.
49257         * configure: Regenerate.
49258         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49259         Add example to error message.
49260         * sysdeps/i386/configure: Regenerate.
49262 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49264         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49265         slowtan.
49266         * benchtests/cos-inputs: New file.
49267         * benchtests/slowcos-inputs: New file.
49268         * benchtests/slowcos.c: New file.
49269         * benchtests/slowtan-inputs: New file.
49270         * benchtests/slowtan.c: New file.
49271         * benchtests/tan-inputs: New file.
49273 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49275         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49276         considered kosher.
49278 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49280         * benchtests/Makefile: Include cppflags-iterator.mk to add
49281         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49283         * Makefile.in (bench-clean): New target.
49284         * benchtests/Makefile (bench-clean): Likewise.
49286 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49288         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49290 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49292         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49294 2013-04-15  Andreas Schwab  <schwab@suse.de>
49296         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49297         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49298         * nscd/pwdcache.c (cache_addpw): Likewise.
49299         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49300         more than recsize.
49302 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49304         * benchtests/Makefile (bench): Write all output to
49305         bench-out.tmp together.
49307 2013-04-15  Andreas Schwab  <schwab@suse.de>
49309         * nscd/nscd.c (main): Don't fork again after closing files.
49311 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49313         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49315         * benchtests/Rules (bench-deps): Collect dependencies into a
49316         single variable.  Add Makefile to dependencies.
49317         ($(objpfx)bench-%.c): Depend on bench-deps.
49319 2013-04-12  Roland McGrath  <roland@hack.frob.com>
49320             Xavier Roche  <roche+kml2@exalead.com>
49322         [BZ #15361]
49323         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49324         just that it's a file descriptor.
49325         * manual/llio.texi (Synchronizing AIO Operations): Update description
49326         for EBADF error from aio_fsync.
49328 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49330         * Rules (bench): Move target definition...
49331         * benchtests/Makefile: ... here.
49333 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
49335         * math/libm-test.inc (cos_test): Fix PI/2 test.
49336         (sincos_test): Likewise.
49337         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49338         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49340 2013-04-11  Andreas Schwab  <schwab@suse.de>
49342         [BZ #13988]
49343         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49344         accept exponent character only when digits were seen.
49345         * stdio-common/Makefile (tests): Add bug26.
49346         * stdio-common/bug26.c: New file.
49348         [BZ #14293]
49349         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49350         non-freeable.
49352 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49354         * Makeconfig (rtld-prefix): Define built linker prefix.
49355         * Rules (run-bench): Use it.
49356         * math/Makefile (run-regen-ulps): Likewise.
49358         * Rules (bench): Remove eval.
49360 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49361             Roland McGrath  <roland@hack.frob.com>
49362             Ondrej Bilka  <neleai@seznam.cz>
49364         [BZ #15346]
49365         * time/getdate.c: Include ctype.h and alloca.h.
49366         (__getdate_r): Trim leading and trailing spaces of input.
49367         * time/tst-getdate.c (tests): Add tests with leading and
49368         trailing spaces.
49370 2013-04-08  Roland McGrath  <roland@hack.frob.com>
49372         [BZ #14280]
49373         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49374         when computing value.
49376 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49378         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49379         Use testrun.sh to run libm tests.
49381         [BZ #15309]
49382         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49384 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49386         [BZ #15264]
49387         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49389 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49391         * Makefile.in (regen-ulps): New target.
49392         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49393         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49394         [ifneq (no,$(PERL)] (regen-ulps): New target.
49395         [ifeq (no,$(PERL)] (regen-ulps): New target.
49396         * math/libm-test.inc (ulps_file_name): Define.
49397         (output_dir): New variable.
49398         (options): Add "output-dir" option.
49399         (parse_opt): Handle 'o' case.
49400         (main): If output_dir is non-NULL use it as a prefix
49401         otherwise use "".
49402         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49404 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49406         [BZ #10060, #10062]
49407         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49408         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49409         fail configure if __sync_val_compare_and_swap is not inlined.
49410         * sysdeps/i386/configure: Regenerate.
49411         * configure.in: Build for i686 when configured for i386.
49412         * configure: Regenerate.
49413         * README: Remove i386 reference.
49415 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49417         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49418         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49420 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49422         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49423         (lmsnanval): New variables.
49424         (F): Add conversion tests.
49425         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49426         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49428         * stdio-common/tstdiomisc.c (F): Properly collect individual
49429         tests' results.
49431         [BZ #14686, #15336]
49432         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49433         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49434         Instead, use input NaN values or generate a qNaN by arithmetic
49435         operation.  Also fix bugs to comply with the standard.
49436         * math/libm-test.inc (remainder_test): Add more tests.
49438         [BZ #15335, #15342]
49439         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49440         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49441         input NaN values or generate a qNaN by arithmetic operation.
49443         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49444         unreachable code.
49446         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49447         definitions.
49449 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49451         [BZ #14478]
49452         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49453         underflowed result.
49454         * math/s_cexpf.c (__cexpf): Likewise.
49455         * math/s_cexpl.c (__cexpl): Likewise.
49456         * math/libm-test.inc (cexp_test): Add more tests.
49458 2013-04-03  Andreas Schwab  <schwab@suse.de>
49460         [BZ #15330]
49461         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49462         order arrays from heap if bigger than alloca cutoff.
49464 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49466         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49467         (SNAN_TESTS_double): Refer to GCC PR56831.
49468         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49469         GCC PR56828.
49471 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49473         * Rules (bench): Move bench.out after the run is complete.
49475         * Rules (bench): Echo currently running benchmark.
49477         * benchtests/Makefile (bench): Add atan and slowatan.
49478         * benchtests/atan-inputs: New file.
49479         * benchtests/slowatan-inputs: New file.
49480         * benchtests/slowatan.c: New file.
49482         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49483         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49484         its value.
49486         [BZ #15305]
49487         * sysdeps/unix/sysv/linux/kernel-features.h
49488         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49489         __ASSUME_XFS_RESTRICTED_CHOWN.
49490         * sysdeps/unix/sysv/linux/pathconf.c
49491         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49492         Save and restore errno.
49494 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
49496         [BZ #15327]
49497         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49498         arguments using __kernel_casinh.
49499         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49500         arguments using __kernel_casinhf.
49501         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49502         arguments using __kernel_casinhl.
49503         * math/libm-test.inc (cacosh_test): Add more tests.
49504         * sysdeps/i386/fpu/libm-test-ulps: Update.
49505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49507 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49509         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49510         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49512         * bench/Makefile (bench): Add sin and slowsin.
49513         * benchtests/sin-inputs: New file.
49514         * benchtests/slowsin-inputs: New file.
49515         * benchtests/slowsin.c: New file.
49517         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49518         (bench): Add slowexp and slowpow.
49519         (exp-ITER): Increase iterations.
49520         (pow-ITER): Likewise.
49521         * benchtests/exp-inputs: Change input.
49522         * benchtests/pow-inputs: Likewise.
49523         * benchtests/slowexp-inputs: New file.
49524         * benchtests/slowexp.c: New file.
49525         * benchtests/slowpow-inputs: New file.
49526         * benchtests/slowpow.c: New file.
49528 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49530         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49531         instructions.
49532         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49533         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49534         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49535         * benchtests/Makefile: Add rint benchtest.
49536         * benchtests/rint-inputs: Input for rint benchtest.
49538 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49540         * Versions.def (libm): Add GLIBC_2.18.
49541         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49542         hidden libm prototypes.
49543         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49544         * math/Makefile (libm-calls): Add s_issignaling.
49545         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49546         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
49547         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49548         declaration.
49549         * math/math.h [__USE_GNU] (issignaling): New macro.
49550         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49551         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49552         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49553         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49554         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49555         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49556         * manual/arith.texi (issignaling): New section.
49557         * manual/libm-err-tab.pl (@all_functions): Update comment.
49558         * math/gen-libm-test.pl (parse_args): Apply special handling for
49559         issignaling.
49560         * math/libm-test.inc (print_float, issignaling_test): New
49561         functions.
49562         (check_float_internal): Add issignaling checks.
49563         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49564         default definition.
49565         * sysdeps/powerpc/math-tests.h: New file.
49566         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49567         tests.
49568         * math/test-snan.c (TEST_FUNC): Likewise.
49570 2013-03-30  David S. Miller  <davem@davemloft.net>
49572         * po/de.po: Update from translation team.
49574 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
49576         [BZ #10357]
49577         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49578         imaginary part less than 1.0 and real part less than 0.5
49579         specially.
49580         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49581         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49582         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49583         (cacos_test): Add more tests.
49584         (casin_test): Likewise.
49585         (casinh_test): Likewise.
49586         * sysdeps/i386/fpu/libm-test-ulps: Update.
49587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49589 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49591         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49592         ONE with its value.
49594         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49595         (__pow_mp): Replace ONE and MONE with their values.
49596         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49597         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49598         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49599         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49600         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49601         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49603         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49605         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49606         (__pow_mp): Replace ZERO and MZERO with their values.
49607         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49608         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49609         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49610         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49611         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49612         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49613         (__sqr): Likewise.
49615         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49617         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49619 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49621         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49622         Declare with __attribute__ ((weak)).
49623         * stdlib/exit.c (__libc_atexit) [!SHARED]:
49624         Call __call_tls_dtors only if it's not NULL.
49626 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49628         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49629         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49630         magic __ehdr_start linker symbol if it's defined.
49631         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49632         them up here if it was already done.
49634         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49635         (_dl_aux_init): Use const in cast when setting it.
49636         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49637         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49638         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49640         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49641         Declare them here.
49642         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49643         * csu/libc-tls.c: Nor here.
49644         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49646         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49647         (__libc_message): Never call vsyslog.
49649 2013-03-28  Alan Modra  <amodra@gmail.com>
49651         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49652         Define as empty.
49653         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49654         Likewise.
49656 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49658         [BZ #15214]
49659         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49660         underflow.
49661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49663 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49665         [BZ #15304]
49666         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49667         Don't add gid passed as argument.
49669         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49671 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49673         [BZ #15307]
49674         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49675         imaginary part between 1.0 and 1.5 and real part less than 0.5
49676         specially.
49677         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49678         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49679         * math/libm-test.inc (cacos_test): Add more tests.
49680         (casin_test): Likewise.
49681         (casinh_test): Likewise.
49682         * sysdeps/i386/fpu/libm-test-ulps: Update.
49683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49685 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49687         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49688         constants.
49689         (norm): Likewise.
49690         (denorm): Likewise.
49691         (__dbl_mp): Likewise.
49692         (add_magnitudes): Likewise.
49693         (sub_magnitudes): Likewise.
49694         (__add): Likewise.
49695         (__sub): Likewise.
49696         (__mul): Likewise.
49697         (__sqr): Likewise.
49698         (__inv): Likewise.
49699         (__dvd): Likewise.
49701         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49702         commented code.
49703         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49704         (__dubcos): Likewise.
49705         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49706         (__ieee754_acos): Likewise.
49707         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49708         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49709         (__exp1): Likewise.
49710         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49711         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49712         (log1): Likewise.
49713         (my_log2): Likewise.
49714         (checkint): Likewise.
49715         * sysdeps/ieee754/dbl-64/e_remainder.c
49716         (__ieee754_remainder): Likewise.
49717         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49718         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49719         (bsloww): Likewise.
49720         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49722         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49723         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49724         MANTISSA_STORE_T to store computations on mantissa.  Use
49725         macros for rounding and division.
49726         (denorm): Likewise.
49727         (__dbl_mp): Likewise.
49728         (add_magnitudes): Likewise.
49729         (sub_magnitudes): Likewise.
49730         (__mul): Likewise.
49731         (__sqr): Likewise.
49732         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49733         powers of two in terms of TWOPOW macro.
49734         (mp_no): Make type of mantissa as MANTISSA_T.
49735         [!RADIXI]: Define RADIXI.
49736         [!TWO52]: Define TWO52.
49737         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49739 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49741         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
49742         llroundl symbol when building for PPC32.
49744 2013-03-24  Mark H Weaver  <mhw@netris.org>
49746         * manual/arith.texi (Normalization Functions): Fix prototypes for
49747         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
49749 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49751         [BZ #13889]
49752         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
49753         high value to check if expl overflow.
49754         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
49755         to check for underflow and overflow.
49756         * math/libm-test.inc: Add exp test.
49758 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
49760         [BZ #11120]
49761         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
49762         with NOT_IN_libc.
49764 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49766         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
49767         symbol.
49769 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49771         * math/gen-libm-test.pl (parse_args, special_functions): Properly
49772         wrap blocks consisting of several statements.
49774         * sysdeps/generic/math-tests.h: New file.
49775         * sysdeps/i386/fpu/math-tests.h: Likewise.
49776         * math/test-snan.c: Include it.
49777         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
49779 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49781         [BZ #15285]
49782         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
49783         (__ieee754_j0l): Do not improve calculations using cos of twice
49784         input for inputs above LDBL_MAX / 2.0L.
49785         (__ieee754_y0l): Likewise.
49786         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
49787         (__ieee754_j1l): Do not improve calculations using cos of twice
49788         input for inputs above LDBL_MAX / 2.0L.
49789         (__ieee754_y1l): Likewise.
49790         * math/libm-test.inc (j0_test): Add another test.
49791         (j1_test): Likewise.
49792         (y0_test): Likewise.
49793         (y1_test): Likewise.
49794         * sysdeps/i386/fpu/libm-test-ulps: Update.
49796 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49798         * Rules ($(objpfx)bench-%.c): Include code from a C source
49799         file.
49801 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49803         [BZ #15287]
49804         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49805         imaginary part 1.0 and real part less than 0.5 specially.
49806         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49807         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49808         * math/libm-test.inc (cacos_test): Add more tests.
49809         (casin_test): Likewise.
49810         (casinh_test): Likewise.
49811         * sysdeps/i386/fpu/libm-test-ulps: Update.
49812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49814 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49816         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
49817         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
49819 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
49821         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
49822         * config.make.in (config-cflags-sse4): Remove variable.
49823         (config-cflags-avx): Likewise.
49824         (config-cflags-sse2avx): Likewise.
49825         (config-cflags-novzeroupper): Likewise.
49826         (config-asflags-i686): Likewise.
49827         (have-mfma4): Likewise.
49828         (have-as-vis3): Likewise.
49829         (MIG): Likewise.
49830         * configure.in (MIG): Do not AC_SUBST.
49831         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
49832         (libc_cv_cc_sse4): Do not AC_SUBST.
49833         (libc_cv_cc_avx): Likewise.
49834         (libc_cv_cc_sse2avx): Likewise.
49835         (libc_cv_cc_novzeroupper): Likewise.
49836         (libc_cv_cc_fma4): Likewise.
49837         (libc_cv_as_i686): Likewise.
49838         (libc_cv_sparc_as_vis3): Likewise.
49839         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
49840         LIBC_CONFIG_VAR.
49841         (config-asflags-i686): Likewise.
49842         (config-cflags-avx): Likewise.
49843         (config-cflags-sse2avx): Likewise.
49844         (have-mfma4): Likewise.
49845         (config-cflags-novzeroupper): Likewise.
49846         * sysdeps/mach/configure.in (MIG): Likewise.
49847         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
49848         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
49849         LIBC_CONFIG_VAR.
49850         (config-cflags-avx): Likewise.
49851         (config-cflags-sse2avx): Likewise.
49852         (have-mfma4): Likewise.
49853         (config-cflags-novzeroupper): Likewise.
49854         * configure: Regenerated.
49855         * sysdeps/i386/configure: Likewise.
49856         * sysdeps/mach/configure: Likewise.
49857         * sysdeps/sparc/configure: Likewise.
49858         * sysdeps/x86_64/configure: Likewise.
49860 2013-03-20  Roland McGrath  <roland@hack.frob.com>
49862         [BZ #14812]
49863         * locale/programs/localedef.c (options): Put N_ translation marker
49864         on argument names, not just descriptions.
49866 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49868         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
49870 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
49872         [BZ #14176]
49873         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
49875 2013-03-19  Roland McGrath  <roland@hack.frob.com>
49877         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
49878         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
49879         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
49880         [!BEFORE_ABORT] (before_abort): New function.
49881         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
49882         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
49883         (writev_for_fatal): New function.
49884         (WRITEV_FOR_FATAL): New macro; call that.
49885         (backtrace_and_maps): New function.
49886         (BEFORE_ABORT): New macro; call that.
49887         (struct str_list): Type removed.
49888         (__libc_message, __libc_fatal): Functions removed.
49889         Include <sysdeps/posix/libc_fatal.c> instead.
49891 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
49893         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
49894         constants.
49895         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
49896         double constants.
49898 2013-03-19  Andreas Schwab  <schwab@suse.de>
49900         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
49901         * sysdeps/gnu/configure: Regenerate.
49903         * configure.in: Substitute libc_cv_rtlddir.
49904         * configure: Regenerate.
49905         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
49906         * Makeconfig (rtlddir, inst_rtlddir): New variables.
49907         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
49908         * elf/Makefile (install-others, CFLAGS-interp.c)
49909         (ldso_install, common-ldd-rewrite): Likewise.
49910         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
49911         $(inst_slibdir)/$(rtld-installed-name).
49912         * scripts/rellns-sh: Add -p option.
49913         * Makerules (make-shlib-link): Use rellns-sh to get relative name
49914         for source.
49916 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49918         * manual/nptl.texi: Renamed to ...
49919         * manual/threads.texi: ... this.
49920         * manual/Makefile (chapters): Update.
49922 2013-03-18  Roland McGrath  <roland@hack.frob.com>
49924         [BZ #14812]
49925         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
49926         on argument names, not just descriptions.
49927         * malloc/memusagestat.c (options): Likewise.
49928         * nss/getent.c (options): Likewise.
49930 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
49932         [BZ #14812]
49933         * iconv/iconv_prog.c (options): Put N_ translation marker
49934         on argument names, not just descriptions.
49935         * iconv/iconvconfig.c (options): Likewise.
49937 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
49939         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
49940         implementation which is faster on all x86_64 architectures.
49941         Tested on AMD, Intel Nehalem, SNB, IVB.
49942         * sysdeps/x86_64/strnlen.S: Likewise.
49944         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49945         Remove all multiarch strlen and strnlen versions.
49946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49947         Remove strlen and strnlen related parts.
49949         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49950         Inline strlen part.
49951         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49953         * sysdeps/x86_64/multiarch/strlen.S: Remove.
49954         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49955         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49956         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49957         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49958         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49960 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
49962         * manual/memory.texi (Malloc Tunable Parameters):
49963         Sort parameters alphabetically. Add comments for missing entries.
49965 2013-03-17  David S. Miller  <davem@davemloft.net>
49967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49969 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
49971         [BZ #15283]
49972         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49973         for arguments at most half maximum finite value.
49974         * math/libm-test.inc (j0_test): Add more tests.
49975         (j1_test): Likewise.
49976         (y0_test): Likewise.
49977         (y1_test): Likewise.
49978         * sysdeps/i386/fpu/libm-test-ulps: Update.
49979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49981         [BZ #14155]
49982         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49983         1 / x and functions P and Q for arguments above 0x1p256L.
49984         (__ieee754_y0l): Likewise.
49985         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49986         (__ieee754_y1l): Likewise.
49987         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49988         (j1_test): Likewise.
49989         (y0_test): Likewise.
49990         (y1_test): Likewise.
49992 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
49994         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49995         variable.
49997 2013-03-15  Roland McGrath  <roland@hack.frob.com>
49999         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50000         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50001         zero since it's initialized to EXEC_PAGESIZE.
50003         * sysdeps/unix/sysv/linux/ldsodefs.h
50004         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50005         * sysdeps/generic/ldsodefs.h: ... here.
50007 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50009         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50011         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50012         math/test-snan.c.
50013         * math/test-snan.c: Renamed from
50014         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50015         * math/Makefile (tests): Add test-snan.
50016         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50017         test-powerpc-snan.
50019         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50020         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50021         functions.
50022         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50023         __builtin_nan family of functions.
50024         * math/libm-test.inc (initialize): Initialize qnan_value with
50025         __builtin_nan family of functions.
50026         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50027         Remove variables.
50028         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50029         Remove functions.
50030         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50031         storage class.  Initialize qNaN_var and sNaN_var with
50032         __builtin_nan and __builtin_nans families of functions,
50033         respectively.
50035         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50036         (sqrt_test): Remove duplicate test with qNaN input.
50037         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50038         (round_test, signbit_test, significand_test): Note missing +/-Inf
50039         as well as qNaN tests.
50041         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50042         qNaN_var.  Fix a few strings, too.
50043         * math/libm-test.inc (nan_value): Rename to qnan_value.
50044         * math/gen-libm-test.pl (%beautify): Adjust to that.
50045         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50046         * math/test-misc.c (main): Likewise.
50047         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50048         to __qnan_bytes, and __qnan_union, respectively.
50049         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50050         Likewise.
50051         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50052         and lqnanval, respectively.
50053         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50054         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50055         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50056         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50058         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50059         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50060         doubles.
50062         * math/test-misc.c (main): Fix copy'n'pastos.
50063         * misc/tst-efgcvt.c (special): Likewise.
50065         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50066         Remove declarations.
50068 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50070         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50071         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50072         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50073         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50075 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50077         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50078         macro to return vdso values correctly in IFUNC implementations.
50079         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50080         Optimization by using IFUNC.
50082 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50083             Richard Henderson  <rth@redhat.com>
50084             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50086         * Makefile.in (bench): New target.
50087         * NEWS: Mention the benchmark framework.
50088         * Rules (bench): Likewise.
50089         (binaries-bench): Generate binaries for functions to
50090         benchmark.
50091         * benchtests/Makefile: New makefile for benchmark tests.
50092         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50093         programs.
50094         * benchtests/exp-inputs: New input file for EXP function.
50095         * benchtests/pow-inputs: New input file for POW function.
50096         * scripts/bench.pl: New script to generate source files for
50097         benchmark programs.
50099 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50101         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50102         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50103         computations on mantissa.  Use macros for rounding and
50104         division.
50105         (denorm): Likewise.
50106         (__dbl_mp): Likewise.
50107         (add_magnitudes): Likewise.
50108         (sub_magnitudes): Likewise.
50109         (__mul): Likewise.
50110         (__sqr): Likewise.
50111         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50112         powers of two in terms of TWOPOW macro.
50113         (mp_no): Make type of mantissa as MANTISSA_T.
50114         [!RADIXI]: Define RADIXI.
50115         [!TWO52]: Define TWO52.
50116         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50118         * manual/nptl.texi (cindex): Modify threads to pthreads.
50120 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50122         * sysdeps/x86_64/preconfigure: Regenerated.
50124 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50126         [BZ #14155]
50127         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50128         0x1p28 and above.
50129         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50130         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50131         0x1p28 and above.
50132         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50133         * math/libm-test.inc (j0_test): Do not allow one spurious
50134         underflow exception.
50135         (y1_test): Likewise.
50137 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50139         * manual/Makefile (chapters): Add nptl.
50140         * manual/debug.texi (Debugging Support): Add link to Threads
50141         chapter.
50142         * manual/nptl.texi: New file.
50144         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50146 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50148         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50149         for non-NULL pointer before the memory validity test. Pointed
50150         out by Holger Brunck <holger.brunck@keymile.com>.
50152 2013-03-13  Andreas Schwab  <schwab@suse.de>
50154         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50155         instead of .os.
50157 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50159         * timezone/zic.c: Update from tzcode 2013b.
50161 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50163         * manual/install.texi (Configuring and compiling):
50164         Mention i686 and i586.
50165         * INSTALL: Regenerate.
50167 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50169         * sysdeps/init_array/elf-init.c: New file.
50170         * csu/elf-init.c
50171         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50172         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50174         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50175         __gmon_start__ as global, but as static with a .preinit_array pointer.
50176         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50177         * sysdeps/init_array/crti.S: New file, empty except for comments.
50178         * sysdeps/init_array/crtn.S: Likewise.
50180 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50182         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50183         definining bcopy.
50184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50185         Remove Prefer_SSE_for_memop.
50186         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50187         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50188         HAS_PREFER_SSE_FOR_MEMOP.
50189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50190         memset-x86-64.
50191         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50192         Remove bzero, memset ifunc support.
50193         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50194         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50195         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50196         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50198 2013-03-11  Andreas Schwab  <schwab@suse.de>
50200         [BZ #15234]
50201         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50202         by SHLIB_COMPAT.
50203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50204         (GLIBC_2.16): Remove pthread_atfork.
50206 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50208         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50209         (ptestcases.h): Likewise.
50211 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50213         * Makeconfig ($(common-objpfx)config.status): Depend on
50214         sysdeps/*/preconfigure{,.in} too.
50216 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50218         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50219         (__free_hook): Use void * instead of __malloc_ptr_t.
50220         (__malloc_hook): Likewise.
50221         (__realloc_hook): Likewise.
50222         (__memalign_hook): Likewise.
50223         (__after_morecore_hook): Likewise.
50224         * malloc/arena.c (save_malloc_hook): Likewise.
50225         (save_free_hook): Likewise.
50226         * malloc/hooks.c (malloc_hook_ini): Likewise.
50227         (realloc_hook_ini): Likewise.
50228         (memalign_hook_ini): Likewise.
50229         * malloc/malloc.c (malloc_hook_ini): Likewise.
50230         (realloc_hook_ini): Likewise.
50231         (memalign_hook_ini): Likewise.
50232         (__free_hook): Likewise.
50233         (__malloc_hook): Likewise.
50234         (__realloc_hook): Likewise.
50235         (__memalign_hook): Likewise.
50236         (__libc_malloc): Likewise.
50237         (__libc_free): Likewise.
50238         (__libc_realloc): Likewise.
50239         (__libc_memalign): Likewise.
50240         (__libc_valloc): Likewise.
50241         (__libc_pvalloc): Likewise.
50242         (__libc_calloc): Likewise.
50243         (__posix_memalign): Likewise.
50244         * malloc/morecore.c (__sbrk): Likewise.
50245         (__default_morecore): Likewise.
50247         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50249         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50250         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50251         __malloc_ptrdiff_t.
50253         * malloc/malloc.h (__malloc_size_t): Remove macro.
50254         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50255         __malloc_size_t.
50256         (old_memalign_hook): Likewise.
50257         (old_realloc_hook): Likewise.
50258         (struct hdr): Likewise.
50259         (flood): Likewise.
50260         (mallochook): Likewise.
50261         (memalignhook): Likewise.
50262         (reallochook): Likewise.
50263         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50264         (tr_old_realloc_hook): Likewise.
50265         (tr_old_memalign_hook): Likewise.
50266         (tr_mallochook): Likewise.
50267         (tr_reallochook): Likewise.
50268         (tr_memalignhook): Likewise.
50270 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50272         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50273         default_ldbl_pack and using as default implementation.
50274         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50275         implementation.
50276         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50277         redundant definition.
50278         (ldbl_insert_mantissa): Likewise.
50279         (ldbl_canonicalize): Likewise.
50280         (ldbl_nearbyint): Likewise.
50281         (ldbl_pack): Rename to ldbl_pack_ppc.
50282         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50283         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50284         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50286 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50289         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50290         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50291         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50292         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50293         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50294         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50295         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50297 2013-03-07  Andreas Jaeger  <aj@suse.de>
50299         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50300         bits/mman-linux.h.
50302 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50304         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50305         Include mpa.h and declare __MPEXP.
50306         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50307         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50308         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50309         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50310         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50311         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50312         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50314         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50315         (__slowpow): Use long double EXPL and LOGL functions to
50316         compute POW.
50317         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50318         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50319         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50320         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50321         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50322         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50325         intermediate variable to calculate exponent.
50326         (__sqr): Likewise.
50327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50328         Likewise.
50329         (__sqr): Likewise.
50331         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50332         [!NO__SQR]: Define __sqr.
50333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50334         and NO__SQR.  Remove all code except __mul and __sqr.  Include
50335         sysdeps/ieee754/dbl-64/mpa.c.
50336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50338         [BZ #12723]
50339         * posix/Makefile (tests): Add tst-pathconf.
50340         * posix/tst-pathconf.c: New test case.
50341         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50342         _PC_PIPE_BUF.
50343         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50345 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
50347         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50349 2013-03-06  Andreas Jaeger  <aj@suse.de>
50351         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50352         definition via __MAP_ANONYMOUS.
50354         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50355         it's not part of Linux headers.
50357         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50358         (MAP_HUGE_MASK): Define.
50360         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50361         Define.
50362         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50363         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50364         Define.
50365         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50366         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50367         Define.
50368         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50369         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50370         Define.
50371         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50373         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50374         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50375         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50376         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50377         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50378         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50380         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50381         Handle f2fs.
50383         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50384         Handle f2fs and efivarfs.
50386         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50387         f2fs.
50389         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50390         (EFIVARFS_MAGIC): Add.
50391         (F2FS_LINK_MAX): Add.
50393 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50395         * stdio-common/vfprintf.c: Replace __builtin_expect with
50396         __glibc_unlikely.
50398 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50400         [BZ #13550]
50401         * sysdeps/generic/bp-sym.h: Remove file.
50402         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50403         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50404         <bp-sym.h> and <bp-asm.h>.
50405         (__longjmp): Don't use BP_SYM.
50406         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50407         and <bp-asm.h>.
50408         (memcpy): Don't use BP_SYM.
50409         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50410         <bp-sym.h> and <bp-asm.h>.
50411         (memcpy): Don't use BP_SYM.
50412         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50413         <bp-asm.h>.
50414         (memcpy): Don't use BP_SYM.
50415         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50416         <bp-asm.h>.
50417         (memset): Don't use BP_SYM.
50418         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50419         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50420         (__bzero): Don't use BP_SYM.
50421         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50422         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50423         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50424         <bp-sym.h> and <bp-asm.h>.
50425         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50426         pointers.
50427         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50428         <bp-sym.h> and <bp-asm.h>.
50429         (memcpy): Don't use BP_SYM.
50430         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50431         <bp-sym.h> and <bp-asm.h>.
50432         (memset): Don't use BP_SYM.
50433         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50434         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50435         (__bzero): Don't use BP_SYM.
50436         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50437         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50438         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50439         <bp-sym.h> and <bp-asm.h>.
50440         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50441         pointers.
50442         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50443         <bp-sym.h> and <bp-asm.h>.
50444         (memcpy): Don't use BP_SYM.
50445         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50446         <bp-sym.h> and <bp-asm.h>.
50447         (memset): Don't use BP_SYM.
50448         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50449         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50450         (__bzero): Don't use BP_SYM.
50451         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50452         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50453         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50454         <bp-sym.h> and <bp-asm.h>.
50455         (__memchr): Don't use BP_SYM.
50456         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50457         <bp-sym.h> and <bp-asm.h>.
50458         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50459         pointers.
50460         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50461         <bp-sym.h> and <bp-asm.h>.
50462         (memcpy): Don't use BP_SYM.
50463         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50464         <bp-sym.h> and <bp-asm.h>.
50465         (__mempcpy): Don't use BP_SYM.
50466         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50467         <bp-sym.h> and <bp-asm.h>.
50468         (__memrchr): Don't use BP_SYM.
50469         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50470         <bp-sym.h> and <bp-asm.h>.
50471         (memset): Don't use BP_SYM.
50472         (__bzero): Likewise.
50473         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50474         <bp-sym.h> and <bp-asm.h>.
50475         (__rawmemchr): Don't use BP_SYM.
50476         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50477         <bp-sym.h> and <bp-asm.h>.
50478         (__STRCMP): Don't use BP_SYM.
50479         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50480         <bp-sym.h> and <bp-asm.h>.
50481         (strchr): Don't use BP_SYM.
50482         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50483         <bp-sym.h> and <bp-asm.h>.
50484         (__strchrnul): Don't use BP_SYM.
50485         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50486         <bp-sym.h> and <bp-asm.h>.
50487         (strlen): Don't use BP_SYM.
50488         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
50489         <bp-sym.h> and <bp-asm.h>.
50490         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50491         pointers.
50492         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
50493         <bp-sym.h> and <bp-asm.h>.
50494         (__strnlen): Don't use BP_SYM.
50495         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50496         <bp-sym.h> and <bp-asm.h>.
50497         (__GI__setjmp): Don't use BP_SYM.
50498         (_setjmp): Likewise.
50499         (__sigsetjmp): Likewise.
50500         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50501         (L(start_addresses)): Don't use BP_SYM.
50502         (_start): Likewise.
50503         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50504         <bp-asm.h>.
50505         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50506         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50507         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50508         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50509         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50510         <bp-asm.h>.
50511         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50512         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
50513         about bounded pointers.
50514         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50515         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50516         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50517         <bp-asm.h>.
50518         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50519         about bounded pointers.  Remove GKM FIXME comments.
50520         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50521         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50522         <bp-asm.h>.
50523         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50524         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
50525         Remove GKM FIXME comments.
50526         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50527         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50528         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50529         <bp-asm.h>.
50530         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50531         about bounded pointers.  Remove GKM FIXME comment.
50532         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50533         and <bp-asm.h>.
50534         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50535         pointers.
50536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50537         <bp-sym.h> and <bp-asm.h>.
50538         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50540         <bp-sym.h> and <bp-asm.h>.
50541         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50542         comment.
50544 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50546         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50547         call free(NULL).
50549 2013-03-05  David S. Miller  <davem@davemloft.net>
50551         * po/es.po: Update from translation team.
50553 2013-03-05  Andreas Jaeger  <aj@suse.de>
50555         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50556         <bits/mman-linux.h>.
50557         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50558         is fine.
50559         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50560         <bits/mman-linux.h> to end of file.
50561         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50562         is fine.
50563         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50564         <bits/mman-linux.h> to end of file.
50565         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50566         is fine.
50567         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50568         <bits/mman-linux.h> to end of file.
50570         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50571         (MCL_CURRENT, MCL_FUTURE): Define here.
50573 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50575         [BZ #15232]
50576         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50577         attribute_hidden.
50578         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50580 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50582         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50583         fourth parameter needed for rt_sigprocmask syscall.
50584         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50585         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50586         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50587         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50588         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50589         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50591 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
50593         [BZ #13550]
50594         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50595         comment about bounded pointers.
50596         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50597         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50599 2013-03-04  Andreas Jaeger  <aj@suse.de>
50601         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50602         common definitions.
50604         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50605         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50606         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50607         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50608         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50609         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50611 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50613         [BZ #15055]
50614         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50615         __ieee754_sqrl instead of __sqrl.
50617 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
50619         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50620         * sysdeps/powerpc/fpu_control.h: ... here.
50621         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50622         * sysdeps/powerpc/bits/fenvinline.h: ... here.
50623         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50624         * sysdeps/powerpc/bits/mathinline.h: ... here.
50626 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50628         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50629         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50630         to just [NEED_DL_SYSINFO_DSO].
50631         * elf/dl-support.c: Likewise.
50632         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50633         * elf/rtld.c (dl_main): Likewise.
50634         * elf/setup-vdso.h (setup_vdso): Likewise.
50635         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50636         * sysdeps/unix/sysv/linux/dl-sysdep.c
50637         (_dl_discover_osversion): Likewise.
50639 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50641         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50642         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50644 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50646         * NEWS: Mention libm performance improvements and non-x86 PI
50647         futex support.
50649         * csu/libc-start.c (__pthread_initialize_minimal): Change
50650         function arguments.
50651         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50653 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50655         [BZ #13550]
50656         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50657         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50658         <bp-sym.h> and <bp-asm.h>.
50659         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50660         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50661         and <bp-asm.h>.
50662         (memcpy): Don't use BP_SYM.
50663         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50664         <bp-asm.h>.
50665         (__mpn_add_n): Don't use BP_SYM.
50666         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50667         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50668         and <bp-asm.h>.
50669         (__mpn_addmul_1): Don't use BP_SYM.
50670         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50671         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50672         <bp-sym.h>.
50673         (_setjmp): Don't use BP_SYM.
50674         (__novmx_setjmp): Likewise.
50675         (__GI__setjmp): Likewise.
50676         (__vmx_setjmp): Likewise.
50677         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50678         <bp-sym.h>.
50679         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50680         (__bzero): Don't use BP_SYM.
50681         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50682         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50683         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50684         <bp-sym.h> and <bp-asm.h>.
50685         (memcpy): Don't use BP_SYM.
50686         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50687         <bp-sym.h> and <bp-asm.h>.
50688         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50689         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50690         <bp-sym.h> and <bp-asm.h>.
50691         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50692         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50693         <bp-asm.h>.
50694         (__mpn_lshift): Don't use BP_SYM.
50695         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50696         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50697         <bp-asm.h>.
50698         (memset): Don't use BP_SYM.
50699         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50700         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50701         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50702         <bp-asm.h>.
50703         (__mpn_mul_1): Don't use BP_SYM.
50704         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50705         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50706         <bp-sym.h> and <bp-asm.h>.
50707         (memcmp): Don't use BP_SYM.
50708         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50709         <bp-sym.h> and <bp-asm.h>.
50710         (memcpy): Don't use BP_SYM.
50711         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50712         <bp-sym.h> and <bp-asm.h>.
50713         (memset): Don't use BP_SYM.
50714         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50715         <bp-sym.h> and <bp-asm.h>.
50716         (strncmp): Don't use BP_SYM.
50717         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50718         <bp-sym.h> and <bp-asm.h>.
50719         (memcpy): Don't use BP_SYM.
50720         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50721         <bp-sym.h> and <bp-asm.h>.
50722         (memset): Don't use BP_SYM.
50723         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50724         <bp-sym.h> and <bp-asm.h>.
50725         (__memchr): Don't use BP_SYM.
50726         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50727         <bp-sym.h> and <bp-asm.h>.
50728         (memcmp): Don't use BP_SYM.
50729         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50730         <bp-sym.h> and <bp-asm.h>.
50731         (memcpy): Don't use BP_SYM.
50732         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50733         <bp-sym.h> and <bp-asm.h>.
50734         (__mempcpy): Don't use BP_SYM.
50735         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50736         <bp-sym.h> and <bp-asm.h>.
50737         (__memrchr): Don't use BP_SYM.
50738         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
50739         <bp-sym.h> and <bp-asm.h>.
50740         (memset): Don't use BP_SYM.
50741         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
50742         <bp-sym.h> and <bp-asm.h>.
50743         (__rawmemchr): Don't use BP_SYM.
50744         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
50745         <bp-sym.h> and <bp-asm.h>.
50746         (__STRCMP): Don't use BP_SYM.
50747         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
50748         <bp-sym.h> and <bp-asm.h>.
50749         (strchr): Don't use BP_SYM.
50750         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
50751         <bp-sym.h> and <bp-asm.h>.
50752         (__strchrnul): Don't use BP_SYM.
50753         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
50754         <bp-sym.h> and <bp-asm.h>.
50755         (strlen): Don't use BP_SYM.
50756         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
50757         <bp-sym.h> and <bp-asm.h>.
50758         (strncmp): Don't use BP_SYM.
50759         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
50760         <bp-sym.h> and <bp-asm.h>.
50761         (__strnlen): Don't use BP_SYM.
50762         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
50763         <bp-asm.h>.
50764         (__mpn_rshift): Don't use BP_SYM.
50765         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50766         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
50767         <bp-sym.h> and <bp-asm.h>.
50768         (__sigsetjmp): Don't use BP_SYM.
50769         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
50770         (L(start_addresses)): Don't use BP_SYM.
50771         (_start): Likewise.
50772         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
50773         <bp-asm.h>.
50774         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
50775         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50776         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50777         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
50778         <bp-asm.h>.
50779         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
50780         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50781         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50782         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
50783         <bp-asm.h>.
50784         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50785         comments.
50786         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50787         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
50788         <bp-asm.h>.
50789         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
50790         FIXME comments.
50791         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50792         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50793         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
50794         <bp-asm.h>.
50795         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50796         comment.
50797         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
50798         and <bp-asm.h>.
50799         (strncmp): Don't use BP_SYM,
50800         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
50801         <bp-asm.h>.
50802         (__mpn_sub_n): Don't use BP_SYM.
50803         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50804         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
50805         and <bp-asm.h>.
50806         (__mpn_submul_1): Don't use BP_SYM.
50807         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
50809         <bp-sym.h> and <bp-asm.h>.
50810         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
50812         <bp-sym.h> and <bp-asm.h>.
50813         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50814         comment.
50816 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50818         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
50819         Use ZK to minimize writes to Z.
50820         (sub_magnitudes): Simplify code a bit.
50821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
50822         Use ZK to minimize writes to Z.
50823         (sub_magnitudes): Simplify code a bit.
50825 2013-02-27  Roland McGrath  <roland@hack.frob.com>
50827         * csu/gmon-start.c: Add special exception to license text.
50829 2013-02-27  Richard Henderson  <rth@redhat.com>
50831         * scripts/config.guess: Update from config.git.
50832         * scripts/config.sub: Likewise.
50834 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50836         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
50838         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
50840         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
50842         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
50844         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
50846 2013-02-26  Roland McGrath  <roland@hack.frob.com>
50848         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
50849         [$(build-shared = yes].
50851 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50853         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
50854         (__mul): Reduce iterations for calculating mantissa.
50856         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
50857         MPTWO.
50858         (__mpranred): Likewise.
50860         [BZ #15160]
50861         * malloc/memusagestat.c (main): Draw graphs for heap and stack
50862         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
50864 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
50866         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
50867         Define __attribute__.
50869 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50871         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
50872         unused.
50873         * posix/regex_internal.h (__attribute): Remove.
50874         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
50875         (re_string_context_at): Likewise.
50876         (bitset_not): Use __attribute__ and mark function as possibly
50877         unused.
50878         (bitset_merge): Likewise.
50879         (bitset_mask): Likewise.
50880         (re_string_char_size_at): Likewise.
50881         (re_string_wchar_at): Likewise.
50882         (re_string_elem_size_at): Likewise.
50884 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50886         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
50887         code.
50888         (cc32): Likewise.
50890         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
50891         (__acr): Likewise.
50892         (__cpy): Likewise.
50893         (norm): Likewise.
50894         (denorm): Likewise.
50895         (__dbl_mp): Likewise.
50896         (add_magnitudes): Likewise.
50897         (sub_magnitudes): Likewise.
50898         (__mul): Likewise.
50899         (__inv): Likewise.
50901         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
50902         style.
50904         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
50905         style.
50907         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
50908         code.
50910         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
50911         up changes with default code.
50912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
50913         Likewise.
50915 2013-02-24  Allan McRae  <allan@archlinux.org>
50917         * manual/socket.texi (The Internet Namespace): Order menu items
50918         to match that in the file.
50920         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
50921         node listing of the info page menu.
50923 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
50925         [BZ #13550]
50926         * sysdeps/i386/bp-asm.h: Remove file.
50927         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "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/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/bsd-_setjmp.S: Do not include "bp-sym.h" and
50940         "bp-asm.h".
50941         (PARMS): Do not use macros from bp-asm.h.
50942         (SIGMSK): Likewise.
50943         (_setjmp): Likewise.  Do not use BP_SYM.
50944         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50945         "bp-asm.h".
50946         (PARMS): Do not use macros from bp-asm.h.
50947         (SIGMSK): Likewise.
50948         (setjmp): Likewise.  Do not use BP_SYM.
50949         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50950         "bp-asm.h".
50951         (PARMS): Do not use macros from bp-asm.h.
50952         (__frexp): Do not use BP_SYM.
50953         (frexp): Likewise.
50954         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50955         "bp-asm.h".
50956         (PARMS): Do not use macros from bp-asm.h.
50957         (__frexpf): Do not use BP_SYM.
50958         (frexpf): Likewise.
50959         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50960         "bp-asm.h".
50961         (PARMS): Do not use macros from bp-asm.h.
50962         (__frexpl): Do not use BP_SYM.
50963         (frexpl): Likewise.
50964         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50965         "bp-asm.h".
50966         (PARMS): Do not use macros from bp-asm.h.
50967         (__remquo): Do not use BP_SYM.
50968         (remquo): Likewise.
50969         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50970         "bp-asm.h".
50971         (PARMS): Do not use macros from bp-asm.h.
50972         (__remquof): Do not use BP_SYM.
50973         (remquof): Likewise.
50974         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50975         "bp-asm.h".
50976         (PARMS): Do not use macros from bp-asm.h.
50977         (__remquol): Do not use BP_SYM.
50978         (remquol): Likewise.
50979         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
50980         "bp-asm.h".
50981         (PARMS): Do not use macros from bp-asm.h.
50982         (DEST): Likewise.
50983         (SRC): Likewise.
50984         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
50985         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50986         "bp-asm.h".
50987         (PARMS): Do not use macros from bp-asm.h.
50988         (strlen): Do not use BP_SYM.
50989         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50990         "bp-asm.h".
50991         (PARMS): Do not use macros from bp-asm.h.
50992         (S1): Likewise.
50993         (S2): Likewise.
50994         (SIZE): Likewise.
50995         (__mpn_add_n): Do not use BP_SYM.
50996         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50997         "bp-asm.h".
50998         (PARMS): Do not use macros from bp-asm.h.
50999         (S1): Likewise.
51000         (SIZE): Likewise.
51001         (__mpn_addmul_1): Do not use BP_SYM.
51002         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51003         weak_alias.
51004         (bzero): Likewise.
51005         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51006         "bp-asm.h".
51007         (PARMS): Do not use macros from bp-asm.h.
51008         (S): Likewise.
51009         (SIZE): Likewise.
51010         (__mpn_lshift): Do not use BP_SYM.
51011         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51012         "bp-asm.h".
51013         (PARMS): Do not use macros from bp-asm.h.
51014         (DEST): Likewise.
51015         (SRC): Likewise.
51016         (LEN): Likewise.
51017         (memcpy): Likewise.  Do not use BP_SYM.
51018         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51019         libc_hidden_def and weak_alias.
51020         (mempcpy): Do not use BP_SYM in weak_alias.
51021         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51022         "bp-asm.h".
51023         (PARMS): Do not use macros from bp-asm.h.
51024         (DEST): Likewise.
51025         (LEN): Likewise.
51026         [!BZERO_P] (CHR): Likewise.
51027         (memset): Likewise.  Do not use BP_SYM.
51028         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51029         "bp-asm.h".
51030         (PARMS): Do not use macros from bp-asm.h.
51031         (S1): Likewise.
51032         (SIZE): Likewise.
51033         (__mpn_mul_1): Do not use BP_SYM.
51034         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51035         "bp-asm.h".
51036         (PARMS): Do not use macros from bp-asm.h.
51037         (S): Likewise.
51038         (SIZE): Likewise.
51039         (__mpn_rshift): Do not use BP_SYM.
51040         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51041         "bp-asm.h".
51042         (PARMS): Do not use macros from bp-asm.h.
51043         (STR): Likewise.
51044         (CHR): Likewise.
51045         (strchr): Likewise.  Do not use BP_SYM.
51046         (index): Do not use BP_SYM in weak_alias.
51047         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51048         "bp-asm.h".
51049         (PARMS): Do not use macros from bp-asm.h.
51050         (DEST): Likewise.
51051         (SRC): Likewise.
51052         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51053         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51054         "bp-asm.h".
51055         (PARMS): Do not use macros from bp-asm.h.
51056         (strlen): Do not use BP_SYM.
51057         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51058         "bp-asm.h".
51059         (PARMS): Do not use macros from bp-asm.h.
51060         (S1): Likewise.
51061         (S2): Likewise.
51062         (SIZE): Likewise.
51063         (__mpn_sub_n): Do not use BP_SYM.
51064         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51065         "bp-asm.h".
51066         (PARMS): Do not use macros from bp-asm.h.
51067         (S1): Likewise.
51068         (SIZE): Likewise.
51069         (__mpn_submul_1): Do not use BP_SYM.
51070         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51071         "bp-asm.h".
51072         (PARMS): Do not use macros from bp-asm.h.
51073         (S1): Likewise.
51074         (S2): Likewise.
51075         (SIZE): Likewise.
51076         (__mpn_add_n): Do not use BP_SYM.
51077         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51078         weak_alias.
51079         (bzero): Likewise.
51080         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51081         "bp-asm.h".
51082         (PARMS): Do not use macros from bp-asm.h.
51083         (BLK2): Likewise.
51084         (LEN): Likewise.
51085         (memcmp): Do not use BP_SYM.
51086         (bcmp): Do not use BP_SYM in weak_alias.
51087         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51088         "bp-asm.h".
51089         (PARMS): Do not use macros from bp-asm.h.
51090         (DEST): Likewise.
51091         (SRC): Likewise.
51092         (LEN): Likewise.
51093         (memcpy): Likewise.  Do not use BP_SYM.
51094         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51095         "bp-asm.h".
51096         (PARMS): Do not use macros from bp-asm.h.
51097         (DEST): Likewise.
51098         (SRC): Likewise.
51099         (LEN): Likewise.
51100         (memmove): Likewise.  Do not use BP_SYM.
51101         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51102         "bp-asm.h".
51103         (PARMS): Do not use macros from bp-asm.h.
51104         (DEST): Likewise.
51105         (SRC): Likewise.
51106         (LEN): Likewise.
51107         (__mempcpy): Likewise.  Do not use BP_SYM.
51108         (mempcpy): Do not use BP_SYM in weak_alias.
51109         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51110         "bp-asm.h".
51111         (PARMS): Do not use macros from bp-asm.h.
51112         (DEST): Likewise.
51113         (LEN): Likewise.
51114         [!BZERO_P] (CHR): Likewise.
51115         (memset): Likewise.  Do not use BP_SYM.
51116         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51117         "bp-asm.h".
51118         (PARMS): Do not use macros from bp-asm.h.
51119         (STR2): Likewise.
51120         (strcmp): Do not use BP_SYM.
51121         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51122         "bp-asm.h".
51123         (PARMS): Do not use macros from bp-asm.h.
51124         (STR): Likewise.
51125         (DELIM): Likewise.
51126         [USE_AS_STRTOK_R] (SAVE): Likewise.
51127         (FUNCTION): Likewise.  Do not use BP_SYM.
51128         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51129         aliases.
51130         (strtok_r): Likewise.
51131         (__GI___strtok_r): Likewise.
51132         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51133         (PARMS): Do not use macros from bp-asm.h.
51134         (S): Likewise.
51135         (SIZE): Likewise.
51136         (__mpn_lshift): Do not use BP_SYM.
51137         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51138         (PARMS): Do not use macros from bp-asm.h.
51139         (STR): Likewise.
51140         (CHR): Likewise.
51141         (__memchr): Do not use BP_SYM.
51142         (memchr): Do not use BP_SYM in weak_alias.
51143         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51144         (PARMS): Do not use macros from bp-asm.h.
51145         (BLK2): Likewise.
51146         (LEN): Likewise.
51147         (memcmp): Do not use BP_SYM.
51148         (bcmp): Do not use BP_SYM in weak_alias.
51149         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51150         (PARMS): Do not use macros from bp-asm.h.
51151         (S1): Likewise.
51152         (SIZE): Likewise.
51153         (__mpn_mul_1): Do not use BP_SYM.
51154         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51155         "bp-asm.h".
51156         (PARMS): Do not use macros from bp-asm.h.
51157         (STR): Likewise.
51158         (CHR): Likewise.
51159         (__rawmemchr): Do not use BP_SYM.
51160         (rawmemchr): Do not use BP_SYM in weak_alias.
51161         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51162         (PARMS): Do not use macros from bp-asm.h.
51163         (S): Likewise.
51164         (SIZE): Likewise.
51165         (__mpn_rshift): Do not use BP_SYM.
51166         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51167         (PARMS): Do not use macros from bp-asm.h.
51168         (SIGMSK): Likewise.
51169         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51170         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51171         (_start): Do not use BP_SYM.
51172         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51173         (PARMS): Do not use macros from bp-asm.h.
51174         (DEST): Likewise.
51175         (SRC): Likewise.
51176         (__stpcpy): Likewise.  Do not use BP_SYM.
51177         (stpcpy): Do not use BP_SYM in weak_alias.
51178         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51179         "bp-asm.h".
51180         (PARMS): Do not use macros from bp-asm.h.
51181         (DEST): Likewise.
51182         (SRC): Likewise.
51183         (LEN): Likewise.
51184         (__stpncpy): Likewise.  Do not use BP_SYM.
51185         (stpncpy): Do not use BP_SYM in weak_alias.
51186         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51187         (PARMS): Do not use macros from bp-asm.h.
51188         (STR): Likewise.
51189         (CHR): Likewise.
51190         (strchr): Likewise.  Do not use BP_SYM.
51191         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51192         "bp-asm.h".
51193         (PARMS): Do not use macros from bp-asm.h.
51194         (STR): Likewise.
51195         (CHR): Likewise.
51196         (__strchrnul): Likewise.  Do not use BP_SYM.
51197         (strchrnul): Do not use BP_SYM in weak_alias.
51198         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51199         "bp-asm.h".
51200         (PARMS): Do not use macros from bp-asm.h.
51201         (STOP): Likewise.
51202         (strcspn): Do not use BP_SYM.
51203         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51204         "bp-asm.h".
51205         (PARMS): Do not use macros from bp-asm.h.
51206         (STR): Likewise.
51207         (STOP): Likewise.
51208         (strpbrk): Likewise.  Do not use BP_SYM.
51209         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51210         "bp-asm.h".
51211         (PARMS): Do not use macros from bp-asm.h.
51212         (STR): Likewise.
51213         (CHR): Likewise.
51214         (strrchr): Likewise.  Do not use BP_SYM.
51215         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51216         (PARMS): Do not use macros from bp-asm.h.
51217         (SKIP): Likewise.
51218         (strspn): Do not use BP_SYM.
51219         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51220         (PARMS): Do not use macros from bp-asm.h.
51221         (STR): Likewise.
51222         (DELIM): Likewise.
51223         (SAVE): Likewise.
51224         (FUNCTION): Likewise.  Do not use BP_SYM.
51225         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51226         aliases.
51227         (strtok_r): Likewise.
51228         (__GI___strtok_r): Likewise.
51229         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51230         (PARMS): Do not use macros from bp-asm.h.
51231         (S1): Likewise.
51232         (S2): Likewise.
51233         (SIZE): Likewise.
51234         (__mpn_sub_n): Do not use BP_SYM.
51235         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51236         "bp-asm.h".
51237         (PARMS): Do not use macros from bp-asm.h.
51238         (S1): Likewise.
51239         (SIZE): Likewise.
51240         (__mpn_submul_1): Do not use BP_SYM.
51241         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51242         <bp-sym.h>.
51243         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51244         and <bp-asm.h>.
51245         (PARMS): Do not use macros from bp-asm.h.
51246         (FLAGS): Likewise.
51247         (PTID): Likewise.
51248         (TLS): Likewise.
51249         (CTID): Likewise.
51250         (__clone): Do not use BP_SYM.
51251         (clone): Do not use BP_SYM in weak_alias.
51252         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51253         and <bp-asm.h>.
51254         (PARMS): Do not use macros from bp-asm.h.
51255         (LEN): Likewise.
51256         (__mmap64): Do not use BP_SYM.
51257         (mmap64): Do not use BP_SYM in weak_alias.
51258         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51259         <bp-sym.h> and <bp-asm.h>.
51260         (PARMS): Do not use macros from bp-asm.h.
51261         (__posix_fadvise64_l64): Do not use BP_SYM.
51262         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51263         (PARMS): Do not use macros from bp-asm.h.
51264         (NSOPS): Likewise.
51265         (semtimedop): Do not use BP_SYM.
51266         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51267         and <bp-asm.h>.
51269 2013-02-21  Allan McRae  <allan@archlinux.org>
51271         * manual/message.texi (Charset conversion in gettext):
51272         Move @end statement to beginning of line.
51274 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51276         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51277         static.
51278         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51279         Likewise.
51281         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51282         (denorm): Likewise.
51283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51284         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51286 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51288         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51289         tail-call to the resolved function if pltexit isn't needed.
51291 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51294         or Y being zero as being unlikely.
51295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51296         Likewise.
51298 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51300         * manual/nss.texi (System Databases and Name Service Switch):
51301         Remove frobnicate @pxref.
51303 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51305         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51306         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51308 2013-02-20  Petr Machata  <pmachata@redhat.com>
51310         * elf/elf.h (R_ARM_TARGET1): New macro.
51311         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51312         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51313         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51314         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51315         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51316         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51317         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51318         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51319         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51320         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51321         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51322         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51323         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51324         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51325         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51326         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51327         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51328         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51329         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51330         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51331         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51332         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51333         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51334         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51335         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51336         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51337         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51338         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51339         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51340         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51341         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51342         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51343         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51344         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51345         (R_ARM_THM_GOT_BREL12): Likewise.
51346         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51347         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51348         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51349         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51350         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51351         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51352         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51353         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51354         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51356 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51358         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51359         __attribute_used__ to __attribute__ ((unused)).
51361 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51363         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51364         powerpc mpa.c.
51365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51366         comment formatting.
51367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51369 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
51371         [BZ #13550]
51372         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51373         Remove macro.
51374         (ENTER): Remove both macro definitions.
51375         (LEAVE): Likewise.
51376         (CHECK_BOUNDS_LOW): Likewise.
51377         (CHECK_BOUNDS_HIGH): Likewise.
51378         (CHECK_BOUNDS_BOTH): Likewise.
51379         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51380         (RETURN_BOUNDED_POINTER): Likewise.
51381         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51382         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51383         (POP_ERRNO_LOCATION_RETURN): Likewise.
51384         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51385         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51386         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51387         macros.
51388         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51389         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51390         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51391         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51392         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51393         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51394         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51395         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51396         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51397         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51398         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51399         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51400         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51401         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51402         removed macros.
51403         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51404         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51405         macros.
51406         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51407         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51408         * sysdeps/i386/i586/memset.S (memset): Likewise.
51409         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51410         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51411         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51412         macros.
51413         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51414         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51415         Change uses of L(2) to L(out).
51416         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51417         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51418         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51419         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51420         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51421         removed macros.
51422         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51423         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51424         macros.
51425         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51426         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51427         (RETURN): Do not use macro LEAVE.
51428         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51429         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51430         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51431         * sysdeps/i386/i686/memset.S (memset): Likewise.
51432         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51433         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51434         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51435         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51436         Likewise.
51437         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51438         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51439         L(1_2) and L(1_3) into L(1).
51440         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51441         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51442         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51443         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51444         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51445         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51446         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51447         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51448         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51449         macros.
51450         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51451         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51452         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51453         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51454         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51455         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51456         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51457         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51458         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51459         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51460         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51461         * sysdeps/i386/strspn.S (strspn): Likewise.
51462         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51463         conditional code.
51464         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51465         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51466         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51467         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51468         L(1_3) into L(1_1).
51469         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51470         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51471         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51472         macros.
51473         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51475 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51477         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51478         macro.
51480 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51482         * math/atest-exp.c (exp_mpn): Remove ROUND.
51483         * math/atest-exp2.c (exp_mpn): Likewise.
51484         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51486         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51487         * stdlib/tst-tls-atexit-lib.c: Likewise.
51488         * stdlib/tst-tls-atexit.c: Likewise.
51490 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51492         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51493         and __attribute_alloc_size__.
51495 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51497         * include/programs/xmalloc.h: Change __attribute_alloc_size to
51498         __attribute_alloc_size__.
51499         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51500         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51502 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51504         * include/programs/xmalloc.h: New file.
51505         * catgets/gencat.c: Include it.
51506         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51507         * elf/pldd.c: Likewise.
51508         * iconv/iconv_charmap.c: Likewise.
51509         * iconv/iconvconfig.c: Likewise.
51510         * iconv/strtab.c: Likewise.
51511         * locale/programs/locale.c: Likewise.
51512         * locale/programs/localedef.h: Likewise.
51513         * locale/programs/simple-hash.c: Likewise.
51514         * nscd/nscd.h: Likewise.
51515         * nss/makedb.c: Likewise.
51516         * sysdeps/generic/ldconfig.h: Likewise.
51518 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51520         * Versions.def: Add GLIBC_2.18.
51521         * include/link.h (struct link_map): New member l_tls_dtor_count.
51522         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51523         (__call_tls_dtors): Likewise.
51524         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51525         __cxa_thread_atexit_impl.
51526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51527         Likewise.
51528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51529         Likewise.
51530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51531         Likewise.
51532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51533         Likewise.
51534         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51536         Likewise.
51537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51538         Likewise.
51539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51541         Likewise.
51542         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51543         (tests): Add test case tst-tls-atexit.
51544         (modules-names): Add shared library for tst-tls-atexit.
51545         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51546         (GLIBC_PRIVATE): Add __call_tls_dtors.
51547         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51548         for libstdc++.
51549         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51550         * stdlib/tst-tls-atexit.c: New test case.
51551         * stdlib/tst-tls-atexit-lib.c: New test case.
51553         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51555         * elf/Versions (ld): Add _dl_find_dso_for_object.
51556         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51557         * elf/dl-open.c (_dl_find_dso_for_object): New function.
51558         (dl_open_worker): Use _dl_find_dso_for_object.
51559         * elf/dl-sym.c (do_sym): Likewise.
51560         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51562 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51564         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51565         Syntactic changes only.
51566         (_dl_runtime_profile): Do a tail-call to the resolved function.
51568 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
51570         [BZ #13550]
51571         * sysdeps/x86_64/bp-asm.h: Remove file.
51572         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51573         <bp-sym.h> and <bp-asm.h>.
51574         (__clone): Do not use BP_SYM.
51575         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51576         <bp-sym.h> and <bp-asm.h>.
51577         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51578         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51579         "bp-asm.h".
51580         (_setjmp): Do not use BP_SYM.
51581         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51582         "bp-asm.h".
51583         (setjmp): Do not use BP_SYM.
51584         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51585         libc_hidden_def.
51586         (mempcpy): Do not use BP_SYM in weak_alias.
51587         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51588         "bp-asm.h".
51589         (strchr): Do not use BP_SYM.
51590         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51591         "bp-asm.h".
51592         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51593         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51594         (_start): Do not use BP_SYM.
51595         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51596         "bp-asm.h".
51597         (strcat): Do not use BP_SYM.
51598         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51599         "bp-asm.h".
51600         (STRCMP): Do not use BP_SYM.
51601         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51602         "bp-asm.h".
51603         (STRCPY): Do not use BP_SYM.
51604         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51605         "bp-asm.h".
51606         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51607         "bp-asm.h".
51608         (FUNCTION): Do not use BP_SYM.
51609         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51610         weak_alias.
51611         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51613 2013-02-17  Andreas Jaeger  <aj@suse.de>
51615         * time/Versions: Sort entries.
51616         * string/Versions: Likewise.
51617         * resolv/Versions: Likewise.
51618         * posix/Versions: Likewise.
51619         * iconv/Versions: Likewise.
51620         * elf/Versions: Likewise.
51621         * wcsmbs/Versions: Likewise.
51623 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51625         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51626         loop termination condition.
51628         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51629         variable to calculate EZ.
51630         (__sqr): Likewise.
51632         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51633         the lower precision input.
51635 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51637         [BZ #13550]
51638         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51639         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51640         (run-via-rtld-prefix): Do not handle %-bp tests.
51641         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51642         (all-object-suffixes): Remove .ob.
51643         (bppfx): Remove variable.
51644         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51645         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51646         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51647         [$(build-bounded) = yes] (libtype.ob): Likewise.
51648         * Makerules (elide-routines.ob): Remove variable.
51649         (do-tests-clean): Do not handle *-bp.out.
51650         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51651         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51652         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51653         (tests): Do not include $(tests-bp.out).
51654         (xtests): Do not include $(xtests-bp.out).
51655         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51656         [$(build-bounded) = yes] ($(addprefix
51657         $(objpfx),$(binaries-bounded))): Remove rule.
51658         ($(objpfx)%-bp.out): Remove rule.
51659         * config.make.in (build-bounded): Remove variable.
51660         * crypt/Makefile [$(build-bounded) = yes]
51661         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51662         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51663         append to variable.
51664         [$(build-bounded) = yes] (install-lib): Likewise.
51665         [$(build-bounded) = yes] (generated): Likewise.
51666         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51667         Remove rule.
51668         * intl/Makefile [$(build-bounded) = yes]
51669         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51670         * math/Makefile [$(build-bounded) = yes]
51671         ($(tests:%=$(objpfx)%-bp): Likewise.
51672         * misc/Makefile [$(build-bounded) = yes]
51673         ($(objpfx)tst-tsearch-bp): Likewise.
51674         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51675         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51676         Remove dependency.
51677         * string/Makefile (o-objects.ob): Remove variable.
51678         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51679         (CFLAGS-.ob): Remove variable.
51680         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51681         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51682         both definitions of variable.
51683         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51684         (ASFLAGS-.ob): Remove variable.
51686 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
51688         [BZ #13550]
51689         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51690         Remove __BOUNDED_POINTERS__ from condition.
51691         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51692         * string/bits/string2.h [!__NO_STRING_INLINES &&
51693         !__BOUNDED_POINTERS__]: Likewise.
51694         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51695         Likewise.
51696         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51697         Remove conditional code.
51698         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51699         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51700         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51701         condition.
51703         [BZ #13550]
51704         * csu/libc-start.c: Do not include <bp-sym.h>.
51705         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51706         * elf/dl-open.c: Do not include <bp-sym.h>.
51707         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51708         * math/fegetenv.c: Do not include <bp-sym.h>.
51709         (fegetenv): Do not use BP_SYM in versioned symbols.
51710         * nptl/sysdeps/pthread/bits/libc-lockP.h
51711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51712         <bp-sym.h>.
51713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51714         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51716         (__pthread_mutex_destroy): Likewise.
51717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51718         (__pthread_mutex_lock): Likewise.
51719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51720         (__pthread_mutex_trylock): Likewise.
51721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51722         (__pthread_mutex_unlock): Likewise.
51723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51724         (__pthread_mutexattr_init): Likewise.
51725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51726         (__pthread_mutexattr_destroy): Likewise.
51727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51728         (__pthread_mutexattr_settype): Likewise.
51729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51730         (__pthread_rwlock_init): Likewise.
51731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51732         (__pthread_rwlock_destroy): Likewise.
51733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51734         (__pthread_rwlock_rdlock): Likewise.
51735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51736         (__pthread_rwlock_tryrdlock): Likewise.
51737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51738         (__pthread_rwlock_wrlock): Likewise.
51739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51740         (__pthread_rwlock_trywrlock): Likewise.
51741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51742         (__pthread_rwlock_unlock): Likewise.
51743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51744         (__pthread_key_create): Likewise.
51745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51746         (__pthread_setspecific): Likewise.
51747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51748         (__pthread_getspecific): Likewise.
51749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
51750         Likewise.
51751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51752         (_pthread_cleanup_push_defer): Likewise.
51753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51754         (_pthread_cleanup_pop_restore): Likewise.
51755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51756         (pthread_setcancelstate): Likewise.
51757         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
51758         <bp-sym.h>.
51759         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
51760         (memchr): Do not use BP_SYM in weak_alias.
51761         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
51762         (fegetenv): Do not use BP_SYM in versioned symbols.
51763         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
51764         (fesetenv): Do not use BP_SYM in versioned symbols.
51765         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51766         (feupdateenv): Do not use BP_SYM in versioned symbols.
51767         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51768         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51769         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
51770         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
51771         (open64): Do not use BP_SYM in weak_alias.
51772         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
51773         (fegetenv): Do not use BP_SYM in versioned symbols.
51774         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
51775         (fesetenv): Do not use BP_SYM in versioned symbols.
51776         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51777         (feupdateenv): Do not use BP_SYM in versioned symbols.
51778         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
51779         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
51780         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
51781         (feraiseexcept): Do not use BP_SYM in versioned symbols.
51782         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51783         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51784         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
51785         <bp-sym.h>.
51786         (__libc_start_main): Do not use BP_SYM.
51788 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51790         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
51791         redundant return line.
51792         (norm): Likewise.
51793         (denorm): Likewise.
51794         (dbl_mp): Likewise.
51795         (sub_magnitudes): Likewise.
51796         (__add): Likewise.
51797         (__sub): Likewise.
51798         (__mul): Likewise.
51799         (__inv): Likewise.
51800         (__dvd): Likewise.
51801         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
51802         (norm): Likewise.
51803         (denorm): Likewise.
51804         (dbl_mp): Likewise.
51805         (sub_magnitudes): Likewise.
51806         (__add): Likewise.
51807         (__sub): Likewise.
51808         (__mul): Likewise.
51809         (__inv): Likewise.
51810         (__dvd): Likewise.
51812         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
51813         instead of __mul.
51814         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51815         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
51816         (cc32): Likewise.
51818         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
51819         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
51820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
51821         of __mul for squares.
51822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
51823         function
51824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
51825         Likewise.
51826         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
51827         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51829 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
51831         [BZ #13550]
51832         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
51833         code.
51834         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
51835         prototype or function definition.  Rename ubp_* variables and
51836         parameters.  Remove argv definitions conditional on
51837         [__BOUNDED_POINTERS__].
51838         * debug/backtrace.c (__backtrace): Do not use __unbounded.
51839         * elf/dl-runtime.c (_dl_fixup): Likewise.
51840         * include/set-hooks.h (RUN_HOOK): Likewise.
51841         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
51842         definition.
51843         * string/strcpy.c (strcpy): Do not use __unbounded.
51844         * sysdeps/generic/frame.h (struct layout): Likewise.
51845         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
51846         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
51847         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
51848         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
51849         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
51850         (__backtrace): Likewise.
51851         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
51852         use __ptrvalue.
51853         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
51854         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51855         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
51856         Likewise.
51857         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
51858         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
51859         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51860         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51861         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
51862         Do not use __unbounded.
51863         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
51864         Rename __unboundedrlimits parameter to rlimits in prototype.
51865         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
51866         Do not use __unbounded.
51867         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
51868         not use __ptrvalue.
51869         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51870         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
51871         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51872         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
51873         __ptrvalue or __unbounded.
51874         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
51875         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
51876         use __unbounded.
51877         (__new_msgctl): Do not use __ptrvalue.
51878         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
51879         __unbounded.
51880         (__libc_msgrcv): Do not use __ptrvalue.
51881         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
51882         startup_info): Do not use __unbounded.
51883         (__libc_start_main): Likewise.  Rename ubp_* variables and
51884         parameters.  Remove argv definitions conditional on
51885         [__BOUNDED_POINTERS__].
51886         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
51887         __ptrvalue.
51888         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
51889         use __unbounded.
51890         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
51891         or __ptrvalue.
51892         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
51893         use __unbounded.
51894         (__new_shmctl): Do not use __ptrvalue.
51895         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
51896         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
51897         Likewise.
51898         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
51899         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
51900         (__libc_sigaction): Likewise.
51901         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
51902         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
51903         Likewise.
51904         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51906 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
51908         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
51910         * string/mempcpy.c: Implement by calling memcpy.
51912 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51914         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
51916         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
51917         evaluation.
51919         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
51920         values in the mantissa.
51922         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
51923         minimize writes to Z.
51924         (sub_magnitudes): Simplify code a bit.
51926 2013-02-12  Roland McGrath  <roland@hack.frob.com>
51928         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
51929         from the message.  The linker prefixes all warnings with that already.
51931 2013-02-12  Andreas Schwab  <schwab@suse.de>
51933         [BZ #15078]
51934         * posix/regexec.c (extend_buffers): Add parameter min_len.
51935         (check_matching): Pass minimum needed length.
51936         (clean_state_log_if_needed): Likewise.
51937         (get_subexp): Likewise.
51938         * posix/Makefile (tests): Add bug-regex34.
51939         (bug-regex34-ENV): Define.
51940         * posix/bug-regex34.c: New file.
51942         [BZ #11561]
51943         * posix/regcomp.c (parse_bracket_exp): When looking up collating
51944         elements compare against the byte sequence of it, not its name.
51945         * posix/Makefile (tests): Add bug-regex35.
51946         (bug-regex35-ENV): Define.
51947         * posix/bug-regex35.c: New file.
51949 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51951         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
51952         comment.
51953         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51954         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51955         (CHECK_EOL): Add undef.
51957 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
51959         * bits/stdlib-bsearch.h: New file.
51960         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51961         * stdlib/stdlib.h: Likewise.
51963 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51965         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51966         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51967         declaration.
51968         * manual/search.texi (Array Search Function): Add missing const in
51969         lfind prototype.
51970         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51971         declaration to use rlim_t.
51972         (Basic Scheduling Functions): Remove erroneous const from
51973         sched_getparam prototype.  Remove erroneous * from
51974         sched_get_priority_max and sched_get_priority_min prototypes.
51975         (Resource Usage): Fix summary @comment on vtimes to refer to
51976         sys/vtimes.h rather than vtimes.h.
51977         Add missing *s in vtimes prototype.
51978         (Limits on Resources): Fix ulimit prototype to return long int.
51979         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51980         prototypes to use long int rather than double.
51981         (BSD Random): Fix initstate and setstate to use char *, not void *.
51982         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51983         prototype to make second argument 'struct aiocb64 *const[]'.
51984         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51985         (Status of AIO Operations): Remove erroneous const in aio_return and
51986         aio_return64 prototypes.
51987         (Synchronizing I/O): Fix sync prototype to return void.
51988         * manual/startup.texi (Suboptions): Remove an erroneous const in
51989         getsubopt prototype.
51990         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51991         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51992         use size_t rather than int.
51993         (Scanning All Users): Likewise for getpwent_r.
51994         (Setting Groups): Add missing const to setgroups prototype.
51995         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51996         * manual/socket.texi (Host Names): Fix gethostbyaddr and
51997         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51998         'const void *' rather than 'const char *'.
51999         (Host Address Functions): Likewise for inet_ntop.
52000         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52001         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52002         ssize_t for return value.
52003         (Sending Data): Likewise for send, sendto, sendmsg.
52004         (Socket Option Functions): Add a missing const in setsockopt prototype.
52005         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52006         use wchar_t for the argument.
52007         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52008         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52009         take no arguments.
52010         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52011         double/float/long double for second argument.
52012         Fix return types of significand, significandf, significandl.
52013         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52014         argument in fchmod prototype.
52015         (File Owner): Use uid_t and gid_t in fchown prototype.
52016         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52017         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52018         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52019         use 'const struct dirent **' as argument types to CMP function pointer
52020         argument.
52021         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52022         (File Times): Fix summary magic @comment for struct utimbuf and utime
52023         to refer to utime.h, not time.h.
52024         * manual/string.texi (Argz Functions): Add missing const in
52025         argz_extract and argz_next prototypes.
52026         (Finding Tokens in a String): Likewise for basename.
52027         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52028         (Copying and Concatenation): Fix typo in wmemmove prototype.
52029         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52030         (Signal Stack): Remove erroneous const in sigstack prototype.
52031         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52032         prototype.
52033         (Simple Calendar Time): Likewise for stime.
52034         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52035         prototype.
52036         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52037         say sys/sysctl.h instead.
52038         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52039         and vsyslog prototypes.
52041 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52043         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52044         Remove.
52046 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52048         * misc/sys/mman.h: Fix typo in mremap comment.
52050 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52052         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52053         the '\0' terminator.
52055 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52057         [BZ #13550]
52058         * debug/segfault.c: Don't include <bp-checks.h>.
52059         * sysdeps/generic/bp-checks.h: Remove file.
52060         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52061         (__GETDENTS): Don't use CHECK_N.
52062         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52063         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52064         (__getgroups): Don't use CHECK_N.
52065         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52066         (setgroups): Don't use CHECK_N.
52067         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52068         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52069         (__libc_msgrcv): Don't use CHECK_N.
52070         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52071         (__libc_msgsnd): Don't use CHECK_N.
52072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52073         <bp-checks.h>.
52074         (__libc_pread): Don't use CHECK_N.
52075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52076         include <bp-checks.h>.
52077         (__libc_pread64): Don't use CHECK_N.
52078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52079         include <bp-checks.h>.
52080         (__libc_pwrite): Don't use CHECK_N.
52081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52082         include <bp-checks.h>.
52083         (__libc_pwrite64): Don't use CHECK_N.
52084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52085         <bp-checks.h>.
52086         (__libc_pread): Don't use CHECK_N.
52087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52088         include <bp-checks.h>.
52089         (__libc_pread64): Don't use CHECK_N.
52090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52091         include <bp-checks.h>.
52092         (__libc_pwrite): Don't use CHECK_N.
52093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52094         include <bp-checks.h>.
52095         (__libc_pwrite64): Don't use CHECK_N.
52096         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52097         (do_pread): Don't use CHECK_N.
52098         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52099         (do_pread64): Don't use CHECK_N.
52100         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52101         (do_pwrite): Don't use CHECK_N.
52102         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52103         (do_pwrite64): Don't use CHECK_N.
52104         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52105         (__libc_readv): Don't use CHECK_N.
52106         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52107         (semop): Don't use CHECK_N.
52108         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52109         <bp-checks.h>.
52110         (semtimedop): Don't use CHECK_N.
52111         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52112         (__libc_pread): Don't use CHECK_N.
52113         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52114         <bp-checks.h>.
52115         (__libc_pread64): Don't use CHECK_N.
52116         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52117         <bp-checks.h>.
52118         (__libc_pwrite): Don't use CHECK_N.
52119         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52120         <bp-checks.h>.
52121         (__libc_pwrite64): Don't use CHECK_N.
52122         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52123         <bp-checks.h>.
52124         (__libc_msgrcv): Don't use CHECK_N.
52125         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52126         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52127         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52128         (__libc_writev): Don't use CHECK_N.
52130 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52132         * string/strcpy.c: Removed unused variable.
52134         * Makeconfig (+sysdep-includes): Define with := rather than =.
52135         Use an existing include/ subdir of each sysdeps dir before it.
52137 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52139         * nscd/connection.c (register_traced_file): Comment function.
52140         [HAVE_INOTIFY] (union __inev): Define.
52141         [HAVE_INOTIFY] (inotify_check_files): New function.
52142         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52143         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52144         clear_db_cache.
52145         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52147 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52149         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52150         loaded if not already and that a failure is permanent.
52152 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52154         [BZ #15006]
52155         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52156         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52158 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52160         [BZ #13550]
52161         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52162         (CHECK_1_NULL_OK): Likewise.
52163         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52164         (__fxstat): Do not use CHECK_1.
52165         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52166         <bp-checks.h>.
52167         (___fxstat64): Do not use CHECK_1.
52168         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52169         <bp-checks.h>.
52170         (__fxstatat): Do not use CHECK_1.
52171         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52172         <bp-checks.h>.
52173         (__fxstatat64): Do not use CHECK_1.
52174         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52175         <bp-checks.h>.
52176         (__fxstat): Do not use CHECK_1.
52177         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52178         <bp-checks.h>.
52179         (__fxstatat): Do not use CHECK_1.
52180         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52181         <bp-checks.h>.
52182         (__getresgid): Do not use CHECK_1.
52183         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52184         <bp-checks.h>.
52185         (__getresuid): Do not use CHECK_1.
52186         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52187         <bp-checks.h>.
52188         (__lxstat): Do not use CHECK_1.
52189         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52190         <bp-checks.h>.
52191         (__old_msgctl): Do not use CHECK_1.
52192         (__new_msgctl): Likewise.
52193         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52194         <bp-checks.h>.
52195         (__new_setrlimit): Do not use CHECK_1.
52196         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52197         <bp-checks.h>.
52198         (__old_shmctl): Do not use CHECK_1.
52199         (__new_shmctl): Likewise.
52200         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52201         <bp-checks.h>.
52202         (__xstat): Do not use CHECK_1.
52203         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52204         (__lxstat): Do not use CHECK_1.
52205         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52206         <bp-checks.h>.
52207         (___lxstat64): Do not use CHECK_1.
52208         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52209         (__old_msgctl): Do not use CHECK_1.
52210         (__new_msgctl): Likewise.
52211         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52212         <bp-checks.h>.
52213         (__gettimeofday): Do not use CHECK_1.
52214         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52215         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52216         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52217         <bp-checks.h>.
52218         (__gettimeofday): Do not use CHECK_1.
52219         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52220         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52221         (__new_shmctl): Do not use CHECK_1.
52222         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52223         <bp-checks.h>.
52224         (do_sigtimedwait): Do not use CHECK_1.
52225         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52226         <bp-checks.h>.
52227         (do_sigwaitinfo): Do not use CHECK_1.
52228         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52229         <bp-checks.h>.
52230         (msgctl): Do not use CHECK_1.
52231         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52232         <bp-checks.h>.
52233         (shmctl): Do not use CHECK_1.
52234         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52235         (ustat): Do not use CHECK_1.
52236         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52237         <bp-checks.h>.
52238         (__fxstat): Do not use CHECK_1.
52239         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52240         <bp-checks.h>.
52241         (__fxstatat): Do not use CHECK_1.
52242         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52243         <bp-checks.h>.
52244         (__lxstat): Do not use CHECK_1.
52245         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52246         <bp-checks.h>.
52247         (__xstat): Do not use CHECK_1.
52248         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52249         (__xstat): Do not use CHECK_1.
52250         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52251         (___xstat64): Do not use CHECK_1.
52253         [BZ #13550]
52254         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52255         definitions.
52256         (CHECK_BOUNDS_HIGH): Likewise.
52257         * string/strcpy.c: Do not include <bp-checks.h>.
52258         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52260 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52262         * nscd/nscd-client.h (__nscd_drop_map_ref):
52263         Add __attribute__ ((unused)).
52264         * nis/nss-nisplus.h (niserr2nss): Likewise.
52266         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52267         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52269         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52270         Remove inline keyword.
52271         * include/rounding-mode.h (round_away): Likewise.
52272         * libio/wfileops.c (adjust_wide_data): Likewise.
52273         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52274         (__m128i_strloadu_tolower): Likewise.
52275         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52276         (__m128i_strloadu_tolower): Likewise.
52277         * time/mktime.c (ydhms_diff): Likewise.
52278         * locale/elem-hash.h (elem_hash): Likewise.
52279         * locale/setlocale.c (setdata): Likewise.
52280         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52281         (re_string_wchar_at): Likewise.
52282         (bitset_not, bitset_merge, bitset_mask): Likewise.
52283         [!(__GNUC__ > 3)] (inline): Remove macro.
52284         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52285         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52286         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52287         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52288         * string/memcmp.c (memcmp_bytes): Likewise.
52289         * locale/programs/locarchive.c (compute_hashval): Likewise.
52290         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52291         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52292         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52293         * nss/getent.c (print_rpc, print_protocols): Likewise.
52294         (print_passwd, print_group, print_aliases): Likewise.
52295         * nis/nss-nisplus.h (niserr2nss): Likewise.
52296         * nscd/connections.c (restart_p): Likewise.
52297         Change return type to bool.
52299 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52301         * Makeconfig (all-Depend-files): Add existing
52302         $(sorted-subdirs:=/Depend) files.
52303         (all-subdirs): Remove nss.
52304         * sysdeps/unix/inet/Subdirs: Add it here instead.
52305         * hesiod/Depend: New file.
52307         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52308         instead of calling alloca.
52310         * io/lseek.c (__lseek): Rename to __libc_lseek.
52311         Define __lseek as an alias.
52313         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52315 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
52317         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52318         else clause and remove check for non-standard endianness.
52320 2013-02-04  David S. Miller  <davem@davemloft.net>
52322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52324 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
52326         [BZ #13550]
52327         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52328         (__ubp_memchr): Remove prototype.
52329         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52330         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52331         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52332         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52333         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52334         Remove alias.
52335         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52336         (__ubp_memchr): Likewise.
52337         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52338         (__ubp_memchr): Likewise.
52339         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52340         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52341         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52342         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52343         CHECK_STRING.
52344         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52345         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52346         (__getcwd): Do not use CHECK_STRING.
52347         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52348         <bp-checks.h>.
52349         (__real_chown): Do not use CHECK_STRING.
52350         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52351         <bp-checks.h>.
52352         (fchownat): Do not use CHECK_STRING.
52353         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52354         CHECK_STRING.
52355         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52356         <bp-checks.h>.
52357         (__lchown): Do not use CHECK_STRING.
52358         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52359         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52360         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52361         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52363         include <bp-checks.h>.
52364         (truncate64): Do not use CHECK_STRING.
52365         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52366         <bp-checks.h>.
52367         (__real_chown): Do not use CHECK_STRING.
52368         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52369         <bp-checks.h>.
52370         (__lchown): Do not use CHECK_STRING.
52371         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52372         <bp-checks.h>.
52373         (__chown): Do not use CHECK_STRING.
52374         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52375         <bp-checks.h>.
52376         (truncate64): Do not use CHECK_STRING.
52377         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52378         Likewise.
52379         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52380         (__xmknod): Do not use CHECK_STRING.
52381         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52382         <bp-checks.h>.
52383         (__xmknodat): Do not use CHECK_STRING.
52384         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52385         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52387 2013-02-04  Andreas Schwab  <schwab@suse.de>
52389         [BZ #14142]
52390         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52391         * include/netdb.h: Likewise for h_errno.
52392         * elf/tst-stackguard1.c: Include <tls.h>.
52394 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52396         * elf/link.h (struct link_map): Extend the l_addr comment.
52397         * include/link.h (struct link_map): Likewise.
52399 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52401         [BZ #13550]
52402         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52403         (BOUNDED_1): Remove macro.
52404         * debug/backtrace.c: Don't include <bp-checks.h>.
52405         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52406         (__backtrace): Likewise.
52407         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52408         <bp-checks.h>.
52409         (__backtrace): Don't use BOUNDED_1.
52410         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52411         <bp-checks.h>.
52412         (__backtrace): Don't use BOUNDED_1.
52413         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52414         (__backtrace): Don't use BOUNDED_1.
52415         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52416         (shmat): Don't use BOUNDED_N.
52418 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52420         [BZ #13550]
52421         * sysdeps/generic/bp-start.h: Remove file.
52422         * csu/libc-start.c: Don't include <bp-start.h>.
52423         (LIBC_START_MAIN): Set up __environ directly instead of using
52424         INIT_ARGV_and_ENVIRON.
52425         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52426         <bp-start.h>.
52428         [BZ #13550]
52429         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52430         definitions.
52431         (CHECK_FCNTL): Likewise.
52432         (CHECK_N_PAGES): Likewise.
52434         [BZ #13550]
52435         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52436         definitions.
52437         (CHECK_SIGSET_NULL_OK): Likewise.
52438         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52439         <bp-checks.h>.
52440         (sigpending): Don't use CHECK_SIGSET.
52441         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52442         <bp-checks.h>.
52443         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52444         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52445         <bp-checks.h>.
52446         (do_sigsuspend): Don't use CHECK_SIGSET.
52447         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52448         use CHECK_SIGSET.
52449         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52450         (do_sigwait): Don't use CHECK_SIGSET.
52451         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52452         use CHECK_SIGSET.
52453         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52454         include <bp-checks.h>.
52455         (sigpending): Don't use CHECK_SIGSET.
52456         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52457         include <bp-checks.h>.
52458         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52459         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52460         <bp-checks.h>.
52461         (sigpending): Don't use CHECK_SIGSET.
52462         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52463         <bp-checks.h>.
52464         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52466         [BZ #13550]
52467         * sysdeps/generic/bp-semctl.h: Remove file.
52468         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52469         <bp-checks.h> and <bp-semctl.h>.
52470         (__old_semctl): Don't use CHECK_SEMCTL.
52471         (__new_semctl): Likewise.
52472         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52473         and <bp-semctl.h>.
52474         (__old_semctl): Don't use CHECK_SEMCTL.
52475         (__new_semctl): Likewise.
52476         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52477         <bp-checks.h> and <bp-semctl.h>.
52478         (__old_semctl): Don't use CHECK_SEMCTL.
52479         (__new_semctl): Likewise.
52480         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52481         <bp-checks.h> and <bp-semctl.h>.
52482         (semctl): Don't use CHECK_SEMCTL.
52484         [BZ #13550]
52485         * Makerules (elide-bp-thunks): Remove variable.
52486         (elide-routines.oS): Don't use $(elide-bp-thunks).
52487         (elide-routines.os): Likewise.
52488         (elide-routines.o): Likewise.
52489         (elide-routines.op): Likewise.
52490         (elide-routines.og): Likewise.
52491         (objects): Don't use $(bp-thunks).
52492         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52493         include.
52494         (common-generated): Do not add s-proto-bp.d.
52495         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52496         (int): Likewise.
52497         (typ): Likewise.
52498         Do not generate makefile rules for bounded-pointer thunks.
52499         * sysdeps/generic/bp-thunks.h: Remove file.
52500         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52501         * sysdeps/unix/s-proto-bp.S: Likewise.
52503         [BZ #15062]
52504         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52505         parts of result separately when argument is not close to line from
52506         -i to i and one part of argument is small.
52507         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52508         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52509         * math/libm-test.inc (cacos_test): Add more tests.
52510         (casin_test): Likewise.
52511         (casinh_test): Likewise.
52512         * sysdeps/i386/fpu/libm-test-ulps: Update.
52513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52515 2013-01-31  David S. Miller  <davem@davemloft.net>
52517         * po/de.po: Update from translation team.
52519 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
52521         * time/tzfile.c: Include stdint.h for SIZE_MAX.
52523 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
52525         * configure.in (_AC_PROG_CC_C89): New definition.
52526         * configure: Regenerate.
52528         * configure.in (AC_PROG_CPP): New definition.
52529         * configure: Regenerate.
52531 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52533         * debug/tst-backtrace.h: New file.
52534         * debug/tst-backtrace2.c: Include tst-backtrace.h.
52535         (ret): Remove variable.
52536         (x): Likewise.
52537         (FAIL): Remove macro.
52538         (NO_INLINE): Likewise.
52539         (fn1): Use match function instead of strstr.
52540         * debug/tst-backtrace3.c: Include tst-backtrace.h.
52541         (ret): Remove variable.
52542         (x): Likewise.
52543         (FAIL): Remove macro.
52544         (NO_INLINE): Likewise.
52545         (fn): Use match function instead of strstr.
52546         * debug/tst-backtrace4.c: Include tst-backtrace.h.
52547         (ret): Remove variable.
52548         (x): Likewise.
52549         (FAIL): Remove macro.
52550         (NO_INLINE): Likewise.
52551         (handle_signal): Use match function instead of strstr.
52552         * debug/tst-backtrace5.c: Include tst-backtrace.h.
52553         (ret): Remove variable.
52554         (x): Likewise.
52555         (FAIL): Remove macro.
52556         (NO_INLINE): Likewise.
52557         (handle_signal): Use match function instead of strstr.
52559 2013-01-23  Roland McGrath  <roland@hack.frob.com>
52561         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52563 2013-01-23  David S. Miller  <davem@davemloft.net>
52565         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52566         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52567         argument of CAS if possible.
52568         * sysdeps/sparc/sparc64/bits/atomic.h
52569         (__arch_compare_and_exchange_val_32_acq): Likewise.
52570         (__arch_compare_and_exchange_val_64_acq): Likewise.
52572 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
52574         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52575         * sysdeps/posix/ulimit.c: ... this.
52576         Include <limits.h>.
52577         * sysdeps/unix/bsd/ulimit.c: Remove file.
52579 2013-01-23  Adam Conrad  <adconrad@0c3.net>
52581         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52582         (LDFLAGS-tst-array5): Likewise.
52584 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52586         [BZ #15036]
52587         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52588         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52589         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52590         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52592 2013-01-21  David S. Miller  <davem@davemloft.net>
52594         * sysdeps/sparc/backtrace.c: New file.
52595         * sysdeps/sparc/sparc32/backtrace.h: New file.
52596         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52597         * sysdeps/sparc/sparc64/backtrace.h: New file.
52598         * sysdeps/sparc/sparc64/backtrace.c: Delete.
52599         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52600         -funwind-tables.
52602 2013-01-21  Andreas Schwab  <schwab@suse.de>
52604         [BZ #15020]
52605         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52606         closed its stdout.
52608 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
52610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52611         "mpa2.h".
52612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52614 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
52615             Mark Mitchell  <mark@codesourcery.com>
52616             Tom de Vries  <tom@codesourcery.com>
52617             Paul Pluzhnikov  <ppluzhnikov@google.com>
52619         * debug/tst-backtrace2.c: New file.
52620         * debug/tst-backtrace3.c: Likewise.
52621         * debug/tst-backtrace4.c: Likewise.
52622         * debug/tst-backtrace5.c: Likewise.
52623         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52624         (CFLAGS-tst-backtrace3.c): Likewise.
52625         (CFLAGS-tst-backtrace4.c): Likewise.
52626         (CFLAGS-tst-backtrace5.c): Likewise.
52627         (LDFLAGS-tst-backtrace2): Likewise.
52628         (LDFLAGS-tst-backtrace3): Likewise.
52629         (LDFLAGS-tst-backtrace4): Likewise.
52630         (LDFLAGS-tst-backtrace5): Likewise.
52631         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52632         tst-backtrace4 and tst-backtrace5.
52634 2013-01-18  Anton Blanchard  <anton@samba.org>
52635             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52637         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52638         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52639         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52640         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52642         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52643         "+r" and remove output regs list as redundant.  Add explicit inline
52644         asm to specify register of return val to work around compiler codegen
52645         bug.  Remove (int) cast on return value.  Add return type parameter to
52646         use in macro so that this macro does not truncate return value for
52647         64-bit values.
52648         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52649         pass to INTERNAL_VSYSCALL_NCS.
52650         (INLINE_VSYSCALL): Add 'long int' as return type to
52651         INTERNAL_VSYSCALL_NCS macro invocation.
52652         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52653         INTERNAL_VSYSCALL_NCS macro invocation.
52654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52656 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52658         [BZ #14496]
52659         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52660         Fix application of SIMD FP exception mask.
52662         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52663         mp_no from a power of two.
52664         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52665         __mpexp_twomm1.  Use __pow_mp.
52667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52668         multiplication.
52670 2013-01-17  David S. Miller  <davem@davemloft.net>
52672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52674 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52676         [BZ #15023]
52677         * include/complex.h: Condition contents on [!_COMPLEX_H].
52678         (__kernel_casinhf): New prototype.
52679         (__kernel_casinh): Likewise.
52680         (__kernel_casinhl): Likewise.
52681         * math/Makefile (libm_calls): Add k_casinh.
52682         * math/k_casinh.c: New file.
52683         * math/k_casinhf.c: Likewise.
52684         * math/k_casinhl.c: Likewise.
52685         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52686         finite nonzero arguments.
52687         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52688         finite nonzero arguments.
52689         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52690         finite nonzero arguments.
52691         * math/s_casinh.c: Do not include <float.h>.
52692         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52693         * math/s_casinhf.c: Do not include <float.h>.
52694         (__casinhf): Move code for finite nonzero arguments to
52695         k_casinhf.c.
52696         * math/s_casinhl.c: Do not include <float.h>.
52697         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52698         redefine.
52699         (__casinhl): Move code for finite nonzero arguments to
52700         k_casinhl.c.
52701         * math/libm-test.inc (cacos_test): Add more tests.
52702         * sysdeps/i386/fpu/libm-test-ulps: Update.
52703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52705 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
52707         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52708         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52709         [!HAVE_MREMAP]: Remove [defined linux] case.
52710         * malloc/arena.c: Do not include <malloc-sysdep.h>.
52712 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52714         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52716 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
52718         * elf/elf.h (R_386_SIZE32): New relocation.
52719         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52720         R_386_SIZE32.
52721         (elf_machine_rela): Likewise.
52722         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52723         R_X86_64_SIZE64 and R_X86_64_SIZE32.
52725 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52727         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52728         (FP_FAST_FMA): Do not define.
52729         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52730         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52731         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52732         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52733         !_SOFT_FLOAT]: Likewise.
52734         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52735         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52736         value.
52737         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
52738         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
52739         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
52740         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
52741         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
52742         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
52743         file.
52745 2013-01-16  Andreas Schwab  <schwab@suse.de>
52747         [BZ #14327]
52748         * include/stdlib.h (__mktemp): Add declaration.
52749         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
52750         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
52752 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52754         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
52755         definitions.
52756         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52757         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
52758         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
52759         definitions here.
52760         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
52761         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
52762         definitions.
52763         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
52764         and ONE.
52765         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
52766         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
52767         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
52768         definitions.
52769         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
52770         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
52771         definitions.
52772         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52774         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
52776 2013-01-15  David S. Miller  <davem@davemloft.net>
52778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52779         trunc{,f} to libm-sysdep_routes.
52780         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
52782         file.
52783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
52784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
52785         file.
52786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
52787         file.
52788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
52789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
52790         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
52791         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
52792         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
52793         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
52794         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
52795         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
52797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52798         nearbyint{,f} to libm-sysdep_routes.
52799         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
52801         New file.
52802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
52803         file.
52804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
52805         New file.
52806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
52807         file.
52808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
52809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
52810         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
52811         file.
52812         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
52813         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
52814         file.
52815         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
52816         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
52817         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
52819         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52820         libc_feholdexcept and libc_fesetenv.
52822 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
52824         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
52826 2013-01-14  David S. Miller  <davem@davemloft.net>
52828         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
52829         (SPARC_ASM_VIS2_IFUNC): Likewise.
52830         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
52831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
52832         use of 'siam' instruction.
52833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
52834         Likewise.
52835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
52836         Likewise.
52837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
52838         Likewise.
52839         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
52840         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
52841         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
52842         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
52843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
52844         file.
52845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
52846         file.
52847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
52848         file.
52849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
52850         file.
52851         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
52852         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
52853         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
52854         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
52855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
52856         new VIS2 routines.
52857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52860         Likewise.
52861         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52862         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52863         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52864         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
52866         routines to libm-sysdep_routines.
52867         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52870         fdim/fdimf to libm-sysdep_routines.
52871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
52872         file.
52873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
52874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
52875         file.
52876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
52877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
52878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
52879         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
52880         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
52881         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
52882         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
52884 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52886         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
52887         to optimize copies.
52889         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
52890         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52891         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
52894         local variable MPTWO.
52895         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52896         Likewise.
52898 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52900         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
52901         GLOB_NOESCAPE.
52903 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52905         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
52907 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52909         * manual/pattern.texi (glob_t): Document gl_flags.
52910         (glob64_t): Likewise.
52912 2013-01-11  David S. Miller  <davem@davemloft.net>
52914         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
52915         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
52916         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
52917         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
52918         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
52919         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
52920         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
52921         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
52922         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
52923         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
52924         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
52925         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
52926         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
52928         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52929         sparc V9 rather than using V8 code.
52930         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52931         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52933         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52934         Move to...
52935         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
52936         Here.
52938 2013-01-11  Roland McGrath  <roland@hack.frob.com>
52940         [BZ #14941]
52941         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
52942         not in the main loop.
52943         * configure: Regenerated.
52945 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
52947         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52948         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52949         to just #else.
52950         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
52951         [!__GLIBC_HAVE_LONG_LONG] case.
52952         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52953         condition to just #else.
52954         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52955         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52956         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52957         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52958         unconditional.
52959         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52960         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52961         #elif condition to just #else.
52962         * sysdeps/unix/sysv/linux/sys/sysmacros.h
52963         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52964         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52965         #elif condition to just #else.
52967 2013-01-11  Steve Ellcey  <sellcey@mips.com>
52969         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52970         (EF_MIPS_ARCH_64): Fix value.
52971         (EF_MIPS_ARCH_32R2): New.
52972         (EF_MIPS_ARCH_64R2): New.
52974 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
52976         * Makeconfig (+link-pie-before-libc): New.
52977         (+link-pie-after-libc): Likewise.
52978         (+link-pie-tests): Likewise.
52979         (+link-pie): Rewritten.
52980         (link-before-libc): Remove $(config-LDFLAGS).
52981         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52982         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52983         (config-LDFLAGS): Renamed to ...
52984         (rtld-LDFLAGS): This.
52985         (rtld-tests-LDFLAGS): New macro.
52986         (link-libc-rpath-link): Likewise.
52987         (link-libc-tests-rpath-link): Likewise.
52988         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52989         (link-libc): Prepand $(link-libc-rpath-link).
52990         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52991         (test-program-prefix): New macro.
52992         (test-via-rtld-prefix): Likewise.
52993         (test-program-cmd): Likewise.
52994         (host-test-program-cmd): Likewise.
52995         * Makefile ($(common-objpfx)testrun.sh): Replace
52996         $(run-program-prefix) with $(test-program-prefix).
52997         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52998         $(rtld-LDFLAGS).
52999         ($(common-objpfx)shlib.lds): Likewise.
53000         (build-module-helper): Likewise.
53001         ($(common-objpfx)format.lds): Likewise.
53002         * Rules (binaries-pie-tests): New.
53003         (binaries-pie-notests): Likewise.
53004         (binaries-pie): Rewritten.
53005         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53006         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53007         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53008         (make-test-out): Replace $(host-built-program-cmd) with
53009         $(host-test-program-cmd).
53010         * config.make.in (build-hardcoded-path-in-tests): New variable.
53011         * configure.in (--enable-hardcoded-path-in-tests): New configure
53012         option.
53013         (hardcoded_path_in_tests): New AC_SUBST.
53014         * configure: Regenerated.
53015         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53016         $(built-program-cmd) with $(test-program-cmd).
53017         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53018         (test_program_cmd): This.
53019         * elf/Makefile ($(objpfx)order.out): Run test with
53020         $(test-program-prefix).
53021         ($(objpfx)order2.out): Likewise.
53022         ($(objpfx)tst-initorder.out): Likewise.
53023         ($(objpfx)tst-initorder2.out): Likewise.
53024         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53025         $(test-program-cmd).
53026         ($(objpfx)tst-array1-static.out): Likewise.
53027         ($(objpfx)tst-array2.out): Likewise.
53028         ($(objpfx)tst-array3.out): Likewise.
53029         ($(objpfx)tst-array4.out): Likewise.
53030         ($(objpfx)tst-array5.out): Likewise.
53031         ($(objpfx)tst-array5-static.out): Likewise.
53032         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53033         $(test-program-cmd).
53034         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53035         $(run-program-prefix) with $(test-program-prefix).
53036         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53037         (test_program_prefix): This.
53038         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53039         $(run-program-prefix) with $(test-program-prefix).
53040         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53041         (test_program_prefix): This.
53042         * iconvdata/tst-tables.sh: Likewise.
53043         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53044         $(run-program-prefix) with $(test-program-prefix).
53045         ($(objpfx)tst-translit.out): Likewise.
53046         ($(objpfx)tst-gettext2.out): Likewise.
53047         ($(objpfx)tst-gettext4.out): Likewise.
53048         ($(objpfx)tst-gettext6.out): Likewise.
53049         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53050         (test_program_prefix): This.
53051         * intl/tst-gettext2.sh: Likewise.
53052         * intl/tst-gettext4.sh  Likewise.
53053         * intl/tst-gettext6.sh: Likewise.
53054         * intl/tst-translit.sh: Likewise.
53055         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53056         with $(test-program-cmd).
53057         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53058         $(run-program-prefix) with $(test-program-prefix).
53059         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53060         (test_program_prefix): This.
53061         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53062         $(run-program-prefix) with $(test-program-prefix).
53063         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53064         (test_program_prefix): This.
53065         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53066         * posix/Makefile ($(objpfx)globtest.out): Replace
53067         $(run-via-rtld-prefix) and $(test-wrapper) with
53068         $(test-program-prefix) and $(test-via-rtld-prefix).
53069         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53070         $(test-program-prefix).
53071         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53072         $(host-test-program-cmd).
53073         (tst-spawn-ARGS): Likewise.
53074         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53075         $(test-program-prefix).
53076         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53077         (test_via_rtld_prefix): This.
53078         (test_wrapper): Renamed to ...
53079         (test_program_prefix): This.
53080         (run_program_prefix): Replaced by test_program_prefix.
53081         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53082         (test_program_prefix): This.
53083         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53084         with $(host-test-program-cmd).
53085         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53086         $(run-program-prefix) with $(test-program-prefix).
53087         ($(objpfx)tst-printf.out): Likewise.
53088         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53089         $(test-program-cmd).
53090         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53091         (test_program_prefix): This.
53092         * stdio-common/tst-unbputc.sh: Likewise.
53093         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53094         $(run-program-prefix) with $(test-program-prefix).
53095         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53096         (test_program_prefix): This.
53097         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53098         $(built-program-cmd) with $(test-program-cmd).
53100 2013-01-11  Andreas Jaeger  <aj@suse.de>
53102         [BZ #15003]
53103         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53104         value. Sync with Linux 3.7.
53106 2013-01-10  David S. Miller  <davem@davemloft.net>
53108         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53109         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53110         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53112 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53114         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53115         never set.
53116         * configure: Regenerated.
53118 2013-01-10  David S. Miller  <davem@davemloft.net>
53120         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53121         sparc V9 rather than using V8 code.
53122         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53123         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53125 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53127         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53128         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53129         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53130         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53131         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53132         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53133         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53134         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53135         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53136         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53137         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53138         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53139         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53140         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53141         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53142         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53143         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53144         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53145         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53146         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53147         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53148         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53149         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53150         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53151         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53152         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53153         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53155 2013-01-10  David S. Miller  <davem@davemloft.net>
53157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53159 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53161         * posix/Makefile (tests-static): New variable.
53162         (tests): Add $(tests-static).
53163         (tst-exec-static-ARGS): New variable.
53164         (tst-spawn-static-ARGS): Likewise.
53165         * posix/tst-exec-static.c: New file.
53166         * posix/tst-spawn-static.c: Likewise.
53167         * posix/tst-exec.c: Support run directly.
53168         * posix/tst-spawn.c: Likewise.
53170 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53172         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53173         long.
53174         * math/bits/mathcalls.h (llrint): Likewise.
53175         (llround): Likewise.
53176         * stdlib/stdlib.h (struct drand48_data): Likewise.
53177         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53178         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53179         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53180         Likewise.
53181         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53182         Likewise.
53183         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53184         (elf_greg_t): Likewise.
53185         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53186         (__jmp_buf): Likewise.
53187         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53188         definitions.
53189         (llrint): Likewise, for all definitions.
53190         (llrintl): Likewise.
53192         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53193         Remove [__GNUC__] condition.
53194         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53195         condition to just [__USE_ISOC99].
53196         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53198 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53200         [BZ #14200]
53201         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53202         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53203         defined.
53204         (_POSIX_V6_ILP32_OFF32): Likewise.
53205         (_XBS5_ILP32_OFF32): Likewise.
53206         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53207         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53209 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53211         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53213         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53214         doubles __mpexp_twomm1.  Adjust usage.
53215         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53216         Remove.
53218 2013-01-10  Andreas Schwab  <schwab@suse.de>
53220         [BZ #14964]
53221         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53222         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53224 2013-01-09  David S. Miller  <davem@davemloft.net>
53226         [BZ #15003]
53227         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53228         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53229         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53230         (TCP_FASTOPEN): Define.
53231         (tcp_repair_opt): New structure.
53232         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53233         enum values.
53234         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53235         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53236         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53237         (tcp_cookie_transactions): New structure.
53239 2013-01-09  Anton Blanchard  <anton@samba.org>
53241         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53242         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53243         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53244         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53246 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53248         * include/features.h (__USE_ANSI): Remove.
53250 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53252         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53254         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53256 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53258         * sysdeps/s390/fpu/libm-test-ulps: Update.
53260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53262         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53263         (__acr): Likewise.
53264         (__cpy): Likewise.
53265         (norm): Likewise.
53266         (denorm): Likewise.
53267         (__mp_dbl): Likewise.
53268         (__dbl_mp): Likewise.
53269         (add_magnitudes): Likewise.
53270         (sub_magnitudes): Likewise.
53271         (__add): Likewise.
53272         (__sub): Likewise.
53273         (__mul): Likewise.
53274         (__inv): Likewise.
53275         (__dvd): Likewise.
53276         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53277         (__acr): Likewise.
53278         (__cpy): Likewise.
53279         (norm): Likewise.
53280         (denorm): Likewise.
53281         (__mp_dbl): Likewise.
53282         (__dbl_mp): Likewise.
53283         (add_magnitudes): Likewise.
53284         (sub_magnitudes): Likewise.
53285         (__add): Likewise.
53286         (__sub): Likewise.
53287         (__mul): Likewise.
53288         (__inv): Likewise.
53289         (__dvd): Likewise.
53290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53291         (__acr): Likewise.
53292         (__cpy): Likewise.
53293         (norm): Likewise.
53294         (denorm): Likewise.
53295         (__mp_dbl): Likewise.
53296         (__dbl_mp): Likewise.
53297         (add_magnitudes): Likewise.
53298         (sub_magnitudes): Likewise.
53299         (__add): Likewise.
53300         (__sub): Likewise.
53301         (__mul): Likewise.
53302         (__inv): Likewise.
53303         (__dvd): Likewise.
53305 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53307         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53308         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53309         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53310         2 && __USE_EXTERN_INLINES]: Likewise.
53312 2013-01-08  Andreas Jaeger  <aj@suse.de>
53314         [BZ# 14985]
53315         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53316         Remove.
53317         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53318         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53320 2013-01-07  Anton Blanchard  <anton@samba.org>
53322         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53323         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53324         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53325         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53326         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53327         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53328         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53329         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53331         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53332         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53333         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53334         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53335         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53336         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53337         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53338         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53339         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53340         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53341         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53342         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53343         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53344         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53345         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53346         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53347         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53348         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53349         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53350         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53351         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53352         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53354         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53355         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53356         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53357         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53358         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53359         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53360         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53361         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53362         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53363         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53364         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53366 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
53368         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53369         (__MALLOC_PMT): Likewise.
53370         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53371         [__GNUC__], only on [_LIBC].
53372         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53373         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53374         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53375         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53376         forward declaration.
53377         (realloc_hook_ini): Likewise.
53378         (memalign_hook_ini): Likewise.
53379         (__libc_memalign): Do not use __MALLOC_PMT in variable
53380         declaration.
53381         (__libc_valloc): Likewise.
53382         (__libc_pvalloc): Likewise.
53383         (__libc_calloc): Likewise.
53384         (__posix_memalign): Likewise.
53386         [BZ #14996]
53387         * math/s_casinh.c: Include <float.h>.
53388         (__casinh): Do not do computation with squaring and square root
53389         for large arguments.
53390         * math/s_casinhf.c: Include <float.h>.
53391         (__casinhf): Do not do computation with squaring and square root
53392         for large arguments.
53393         * math/s_casinhl.c: Include <float.h>.
53394         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53395         (__casinhl): Do not do computation with squaring and square root
53396         for large arguments.
53397         * math/libm-test.inc (casin_test): Add more tests.
53398         (casinh_test): Likewise.
53399         * sysdeps/i386/fpu/libm-test-ulps: Update.
53400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53402 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53404         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53405         (__x86_64_raw_data_cache_size): Likewise.
53406         (__x86_64_data_cache_size_half): Likewise.
53407         (__x86_64_raw_data_cache_size_half): Likewise.
53408         (__x86_64_shared_cache_size): Likewise.
53409         (__x86_64_raw_shared_cache_size): Likewise.
53410         (__x86_64_shared_cache_size_half): Likewise.
53411         (__x86_64_raw_shared_cache_size_half): Likewise.
53412         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53413         to ...
53414         (__x86_data_cache_size): This.
53415         (__x86_64_raw_data_cache_size): Renamed to ...
53416         (__x86_raw_data_cache_size): This.
53417         (__x86_64_data_cache_size_half): Renamed to ...
53418         (__x86_data_cache_size_half): This.
53419         (__x86_64_raw_data_cache_size_half): Renamed to ...
53420         (__x86_raw_data_cache_size_half): This.
53421         (__x86_64_shared_cache_size): Renamed to ...
53422         (__x86_shared_cache_size): This.
53423         (__x86_64_raw_shared_cache_size): Renamed to ...
53424         (__x86_raw_shared_cache_size): This.
53425         (__x86_64_shared_cache_size_half): Renamed to ...
53426         (__x86_shared_cache_size_half): This.
53427         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53428         (__x86_raw_shared_cache_size_half): This.
53429         * sysdeps/x86_64/memcpy.S: Updated.
53430         * sysdeps/x86_64/memset.S: Likewise.
53431         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53432         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53433         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53435 2013-01-04  David S. Miller  <davem@davemloft.net>
53437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53439 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53441         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53442         1 to avoid redefinition warning.
53443         (__USE_GNU): Don't define.
53444         (init_signaling_nan): Protoize.
53446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53448 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53450         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53451         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53452         (__cpymn): Likewise.
53453         (norm): Remove commented code.
53454         (denorm): Likewise.
53455         (__mp_dbl): Likewise.
53456         (__inv): Likewise.
53457         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53458         (__cpymn): Likewise.
53459         (norm): Remove commented code.
53460         (denorm): Likewise.
53461         (__mp_dbl): Likewise.
53462         (__inv): Likewise.
53464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53465         mp_no value for 1.0 and 2.0.
53466         (norm): Use RADIXI instead of radixi.d.
53467         (denorm): Likewise.
53468         (__mul): Use 0.0 instead of zero.d.
53469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53470         mp_no value for 1.0 and 2.0.
53471         (norm): Use RADIXI instead of radixi.d.
53472         (denorm): Likewise.
53473         (__mul): Use 0.0 instead of zero.d.
53475 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53477         [BZ #14994]
53478         * math/s_casinh.c (__casinh): Reduce finite argument to first
53479         quadrant then set signs of results at the end.
53480         * math/s_casinhf.c (__casinhf): Likewise.
53481         * math/s_casinhl.c (__casinhl): Likewise.
53482         * math/libm-test.inc (casin_test): Add more tests.
53483         (casinh_test): Likewise.
53484         * sysdeps/i386/fpu/libm-test-ulps: Update.
53485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53487 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53489         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53491         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53493         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53494         declarations.
53495         (denorm): Likewise.
53496         (__mp_dbl): Likewise.
53497         (__inv): Likewise.
53499         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53500         and adjust the header comment.
53502         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53503         variable name from declaration.
53505 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
53507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53508         Initialize COMMON_CPUID_INDEX_7 element.
53509         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53510         (CPUID_RTM): Likewise.
53511         (HAS_RTM): Likewise.
53512         (COMMON_CPUID_INDEX_7): New enum.
53514 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
53516         [BZ #14981]
53517         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53518         size is zero, record memory as freed.
53520 2013-01-03  Andreas Jaeger  <aj@suse.de>
53522         * po/ia.po: Add new Interlingua translation.
53524 2012-01-03  Allan McRae  <allan@archlinux.org>
53526         * locale/programs/localedef.c: Fix description of '--posix' flag.
53528 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
53530         * NEWS: Update dates in second copyright notice.
53531         * README: Update copyright dates in example.
53532         * manual/libc.texinfo: Update copyright dates.
53533         * scripts/test-installation.pl: Update copyright date in --version
53534         output.
53536         * hurd/ctty-input.c: Fix copyright notice formatting.
53537         * hurd/ctty-output.c: Likewise.
53538         * hurd/dtable.c: Likewise.
53539         * hurd/hurd-raise.c: Likewise.
53540         * hurd/hurdprio.c: Likewise.
53541         * hurd/msgportdemux.c: Likewise.
53542         * misc/sys/file.h: Likewise.
53543         * misc/sys/ioctl.h: Likewise.
53544         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53545         * sysdeps/mach/hurd/chdir.c: Likewise.
53546         * sysdeps/mach/hurd/fchdir.c: Likewise.
53547         * sysdeps/mach/hurd/rename.c: Likewise.
53548         * sysdeps/mach/hurd/rmdir.c: Likewise.
53549         * sysdeps/mach/hurd/seekdir.c: Likewise.
53550         * sysdeps/mach/hurd/setsid.c: Likewise.
53551         * sysdeps/posix/wait3.c: Likewise.
53553         * All files with FSF copyright notices: Update copyright dates
53554         using scripts/update-copyrights.
53555         * intl/plural.c: Regenerated.
53556         * locale/programs/charmap-kw.h: Likewise.
53557         * locale/programs/locfile-kw.h: Likewise.
53559 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53561         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53562         four values.
53564         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53565         calculation loop and add branch prediction.
53567         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53568         check access beyond bounds of m1np.
53570         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53571         MPTWO.
53572         (__inv): Remove local variable MPTWO to use the global
53573         constant.
53574         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53575         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53576         variable MPTWO.
53577         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53578         MP3HALFS static const.
53580 2013-01-01  David S. Miller  <davem@davemloft.net>
53582         * po/ca.po: Update from translation team.
53584 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
53586         * scripts/update-copyrights: New file.
53587         * Makeconfig: Reformat copyright notice.
53588         * ctype/ctype.h: Likewise.
53589         * debug/swprintf_chk.c: Likewise.
53590         * elf/dl-cache.c: Likewise.
53591         * elf/dl-debug.c: Likewise.
53592         * elf/dl-object.c: Likewise.
53593         * grp/initgroups.c: Likewise.
53594         * hurd/Makefile: Likewise.
53595         * hurd/hurd/signal.h: Likewise.
53596         * hurd/hurdfault.c: Likewise.
53597         * hurd/hurdioctl.c: Likewise.
53598         * hurd/hurdlookup.c: Likewise.
53599         * hurd/intr-msg.c: Likewise.
53600         * iconv/gconv_open.c: Likewise.
53601         * libio/swprintf.c: Likewise.
53602         * locale/lc-ctype.c: Likewise.
53603         * locale/nl_langinfo.c: Likewise.
53604         * mach/Machrules: Likewise.
53605         * mach/Makefile: Likewise.
53606         * malloc/obstack.h: Likewise.
53607         * manual/Makefile: Likewise.
53608         * manual/tsort.awk: Likewise.
53609         * misc/bits/stab.def: Likewise.
53610         * nis/nis_print_group_entry.c: Likewise.
53611         * nis/nis_table.c: Likewise.
53612         * nis/nss_compat/compat-pwd.c: Likewise.
53613         * nis/nss_compat/compat-spwd.c: Likewise.
53614         * po/Makefile: Likewise.
53615         * posix/fnmatch.c: Likewise.
53616         * posix/regex.h: Likewise.
53617         * resolv/Makefile: Likewise.
53618         * resolv/nss_dns/dns-network.c: Likewise.
53619         * resolv/res_hconf.c: Likewise.
53620         * scripts/gen-sorted.awk: Likewise.
53621         * soft-fp/soft-fp.h: Likewise.
53622         * stdio-common/printf.h: Likewise.
53623         * stdlib/monetary.h: Likewise.
53624         * stdlib/random.c: Likewise.
53625         * stdlib/random_r.c: Likewise.
53626         * sysdeps/generic/Makefile: Likewise.
53627         * sysdeps/gnu/Makefile: Likewise.
53628         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53629         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53630         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53631         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53632         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53633         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53634         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53635         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53636         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53637         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53638         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53639         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53640         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53641         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53642         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53643         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53644         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53645         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53646         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53647         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53648         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53649         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53650         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53651         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53652         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53653         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53654         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53655         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53656         * sysdeps/mach/hurd/errnos.awk: Likewise.
53657         * sysdeps/mach/hurd/fork.c: Likewise.
53658         * sysdeps/mach/hurd/getcwd.c: Likewise.
53659         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53660         * sysdeps/mach/hurd/mmap.c: Likewise.
53661         * sysdeps/mach/hurd/utimes.c: Likewise.
53662         * sysdeps/mach/hurd/xmknod.c: Likewise.
53663         * sysdeps/posix/profil.c: Likewise.
53664         * sysdeps/posix/readdir_r.c: Likewise.
53665         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53666         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53667         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53668         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53669         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53670         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53671         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53672         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53673         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53674         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53675         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53676         * sysdeps/pthread/lio_listio.c: Likewise.
53677         * sysdeps/sparc/dl-procinfo.h: Likewise.
53678         * sysdeps/unix/i386/sysdep.S: Likewise.
53679         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53680         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53681         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53682         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53684         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53685         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53686         * sysdeps/unix/sysv/linux/speed.c: Likewise.
53687         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53688         * sysdeps/wordsize-32/divdi3.c: Likewise.
53689         * time/sys/time.h: Likewise.
53690         * wcsmbs/Makefile: Likewise.
53692 2013-01-01  David S. Miller  <davem@davemloft.net>
53694         * po/fr.po: Update from translation team.
53696         * catgets/gencat.c: Update copyright year.
53697         * csu/version.c: Likewise.
53698         * debug/catchsegv.sh: Likewise.
53699         * debug/pcprofiledump.c: Likewise.
53700         * debug/xtrace.sh: Likewise.
53701         * elf/ldconfig.c: Likewise.
53702         * elf/ldd.bash.in: Likewise.
53703         * elf/pldd.c: Likewise.
53704         * elf/sotruss.ksh: Likewise.
53705         * elf/sprof.c: Likewise.
53706         * iconv/iconv_prog.c: Likewise.
53707         * iconv/iconvconfig.c: Likewise.
53708         * locale/programs/locale.c: Likewise.
53709         * locale/programs/localedef.c: Likewise.
53710         * login/programs/pt_chown.c: Likewise.
53711         * malloc/memusage.sh: Likewise.
53712         * malloc/memusagestat.c: Likewise.
53713         * malloc/mtrace.pl: Likewise.
53714         * nscd/nscd.c: Likewise.
53715         * nss/getent.c: Likewise.
53716         * nss/makedb.c: Likewise.
53717         * posix/getconf.c: Likewise.
53719 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53721         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53722         numbers.
53724 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
53726         * math/bits/mathcalls.h (modf): Use __nonnull.
53728 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53730         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53731         (split): Use macro CN instead of the bare value.
53732         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53733         could be used.
53734         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53735         instead of the bare value.
53736         (power1): Likewise.
53738 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53740         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
53741         __ATAN_TWOM.
53742         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53744         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
53745         their values.
53746         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53747         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53748         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
53749         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53751 2012-12-28  Andreas Jaeger  <aj@suse.de>
53753         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
53754         values are from Linux 3.7.
53756         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
53757         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
53759 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53761         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
53762         TRUE case.
53764         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
53765         (norm): Likewise.
53766         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
53767         variables with preprocessor constants.
53768         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53769         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53770         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53772 2012-12-27  Bruno Haible  <bruno@clisp.org>
53774         [BZ #14317]
53775         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
53776         only if needed.
53778 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53780         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
53781         and use variable directly.
53782         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
53784         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53785         MPONE.
53786         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
53787         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53788         variable MPONE.
53789         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53791         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
53792         include directive.  Remove local variable MPONE.
53793         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
53794         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
53795         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53797 2012-12-25  David S. Miller  <davem@davemloft.net>
53799         * version.h (RELEASE): Set to "development".
53800         (VERSION): Set to "2.17.90".
53801         * NEWS: Add 2.18 section.
53803 2012-12-21  David S. Miller  <davem@davemloft.net>
53805         * po/hr.po: Update from translation team.
53807 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53809         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
53811 2012-12-19  Steve Ellcey  <sellcey@mips.com>
53813         * NEWS:  Mention new memcpy for MIPS.
53815 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53817         * manual/contrib.texi (Contributors): Spelling correction.
53819 2012-12-15  David S. Miller  <davem@davemloft.net>
53821         * po/ru.po: Update from translation team.
53823 2012-12-13  David S. Miller  <davem@davemloft.net>
53825         * NEWS: Mention IFUNC testsuite enhancements.
53827         * po/pl.po: Update from translation team.
53828         * po/bg.po: Likewise.
53830         * manual/contrib.texi (Contributors): Update entries for Hongjiu
53831         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
53833 2012-12-11  David S. Miller  <davem@davemloft.net>
53835         * po/sv.po: Update from translation team.
53837         * po/vi.po: Update from translation team.
53839         * po/cs.po: Update from translation team.
53841         * po/de.po: Update from translation team.
53842         * po/eo.po: Likewise.
53843         * po/nl.po: Likewise.
53845 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53847         [BZ #14246]
53848         * manual/argp.texi (Argp Helper Functions): Move node to follow
53849         Argp Parsing State.
53851         [BZ #14872]
53852         * manual/conf.texi (Limits on File System Capacity): Mention if
53853         terminating null is included in the max size.
53855 2012-12-10  Andreas Jaeger  <aj@suse.de>
53857         * po/cs.po: Update from translation team.
53859 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53861         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
53862         void pointer and cast to uintptr_t.
53863         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
53864         path.
53865         * sysdeps/s390/s390-64/memcpy.S: Likewise.
53866         * sysdeps/s390/s390-64/memset.S: Likewise.
53868 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
53870         [BZ #14833]
53871         * menual/message.texi (Message Translation): Fix typos.
53872         (Helper programs for gettext): Likewise.
53874 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
53876         [BZ #14898]
53877         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
53878         Change to -1.
53880 2012-12-07  David S. Miller  <davem@davemloft.net>
53882         * po/libc.pot: Update.
53884 2012-12-07  Richard Henderson  <rth@redhat.com>
53886         [BZ #10114]
53887         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
53888         normal/normal case to before the switch.
53889         (_FP_DIV): Likewise.
53891 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
53892             Mike Frysinger  <vapier@gentoo.org>
53894         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
53895         check for __NR_fadvise64_64.
53897 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
53899         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
53900         0, not just to plain "0" as a statement.
53901         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
53902         with cw.
53904 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
53906         * NEWS: Use sourceware.org in Bugzilla URL.
53908 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53911         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53913         * stdio-common/tst-put-error.c (do_test): Add newline to the
53914         padded test to ensure flush.
53916 2012-12-05  Jeff Law  <law@redhat.com>
53918         * sunrpc/etc.rpc (fedfs_admin): Add entry.
53920 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
53922         * README: Don't refer to ports add-on as distributed separately.
53923         Mention AArch64 in list of systems supported in the ports add-on.
53925         * LICENSES: Add more non-FSF copyright and license notices.
53927         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
53928         ((unused)).
53930         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
53932         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
53933         10000 as width of padded output.
53935 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53937         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
53939         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
53940         variable LX with __attribute__ ((unused)).
53941         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53942         Likewise.
53943         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53944         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53945         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53946         with __attribute__ ((unused)).
53948 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
53950         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53952 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53954         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53955         (CFLAGS-nldbl-acos.c): New variable.
53956         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53957         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53958         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53959         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53960         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53961         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53962         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53963         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53964         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53965         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53966         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53967         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53968         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53969         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53970         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53971         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53972         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53973         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53974         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53975         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53976         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53977         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53978         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53979         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53980         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53981         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53982         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53983         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53984         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53985         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53986         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53987         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53988         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53989         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53990         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53991         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53992         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53993         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53994         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53995         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53996         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53997         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53998         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53999         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54000         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54001         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54002         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54003         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54004         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54005         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54006         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54007         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54008         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54009         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54010         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54011         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54012         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54013         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54014         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54015         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54016         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54017         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54018         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54019         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54020         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54021         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54022         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54023         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54024         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54025         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54026         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54027         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54028         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54029         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54030         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54031         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54032         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54033         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54034         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54035         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54036         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54037         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54038         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54039         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54040         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54041         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54042         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54043         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54044         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54045         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54046         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54047         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54048         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54049         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54050         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54051         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54052         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54055         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54057         [BZ #14914]
54058         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54059         whole low double instead of just low 47 bits when splitting values
54060         into two parts.
54062 2012-12-03  Allan McRae  <allan@archlinux.org>
54064         * manual/stdio.texi (Predefined Printf Handlers): Remove
54065         @hsep and @vsep usage.
54067 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54069         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54070         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54072 2012-12-03  Jeff Law  <law@redhat.com>
54074         * time/sys/time.h (settimeofday): Do not mark TV argument
54075         as __nonnull.
54077 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54079         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54080         when currently writing and seek to current position when not.
54081         * libio/Makefile (tests): Remove bug-fclose1.
54082         * libio/bug-fclose1.c: Delete.
54084 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54086         * manual/arith.texi (feenableexcept): Fix typo.
54087         (fedisableexcept): Likewise.
54089 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54091         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54092         second, differently-typed declaration, rather than a cast.
54094 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54096         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54097         * include/rpc/svc.h: ... here.
54099 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54101         [BZ #13013]
54102         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54103         depending n and resplen2 to catch cases where answer
54104         equals answerp2.
54106 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54108         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54109         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54111 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54113         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54115 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54117         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54119 2012-11-28  Jeff Law  <law@redhat.com>
54121         [BZ #13761]
54122         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54123         dataset_temporary.  Track alloca usage into alloca_used.
54124         If dataset is large allocate and release it via malloc/free.
54126 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54128         [BZ #14197]
54129         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54131 2012-11-28  David S. Miller  <davem@davemloft.net>
54133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54135 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54137         [BZ #14803]
54138         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54139         of pi/2 rounded to nearest to 64 bits.
54140         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54141         nearest to 64 bits.
54142         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54143         bits.
54145 2012-11-28  Jeff Law <law@redhat.com>
54146             Martin Osvald <mosvald@redhat.com>
54148         [BZ #14889]
54149         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54150         * sunrpc/svc.c: Include time.h.
54151         (__svc_accept_failed): New function.
54152         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54153         any reason other than EINTR, call __svc_accept_failed.
54154         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54155         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54157 2012-11-28  Andreas Schwab  <schwab@suse.de>
54159         * scripts/abilist.awk: Also handle indirect functions in .opd
54160         section.
54162 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54164         [BZ #13881]
54165         * sysdeps/x86/fpu/powl_helper.c: New file.
54166         * sysdeps/x86/fpu/Makefile: Likewise.
54167         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54168         (p3): New object.
54169         (__ieee754_powl): Use __powl_helper for finite arguments except
54170         integer exponents below 8.
54171         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54172         (p3): New object.
54173         (__ieee754_powl): Use __powl_helper for finite arguments except
54174         integer exponents below 8.
54175         * math/libm-test.inc (pow_test): Add more tests and enable some
54176         previously disabled tests.
54177         * sysdeps/i386/fpu/libm-test-ulps: Update.
54178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54180 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54181             Carlos O'Donell  <carlos_odonell@mentor.com>
54183         * nss/makedb.c (is_prime): Assert that input is odd and greater
54184         than 4.  Note that fact in a comment too.
54185         (next_prime): Add 4 to input.
54187 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54189         [BZ #11741]
54190         * libio/Makefile (tests): Add test case tst-fwrite-error.
54191         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54192         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54193         * libio/tst-fwrite-error.c: New test case.
54195 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54197         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54198         before casting to void *.
54199         * include/libc-internal.h (__pointer_type): New macro.
54200         (__integer_if_pointer_type_sub): Likewise.
54201         (__integer_if_pointer_type): Likewise.
54202         (cast_to_integer): Likewise.
54203         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54204         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54205         before casting to atomic64_t.
54206         (atomic_exchange_acq): Likewise.
54207         (__arch_exchange_and_add_body): Likewise.
54208         (__arch_add_body): Likewise.
54209         (atomic_add_negative): Likewise.
54210         (atomic_add_zero): Likewise.
54212 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54214         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54215         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54216         (add_fdes): Likewise.
54217         (linear_search_fdes): Likewise.
54218         (binary_search_unencoded_fdes): Likewise.
54220 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54222         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54224 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54226         * configure.in: Autodetect C++ header directories.
54227         * configure: Regenerated.
54229 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54231         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54233 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54237 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54239         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54240         LDBL_MANT_DIG == 106]: Disable some tests.
54241         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54242         Likewise.
54243         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54244         Likewise.
54246         [BZ #14871]
54247         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54248         input for small inputs.  Return +/- pi/2 for large inputs.
54249         * math/libm-test.inc (atan_test): Add more tests.
54251         * sysdeps/generic/unwind-dw2-fde-glibc.c
54252         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54253         __attribute__ ((unused)).
54255         [BZ #14645]
54256         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54257         x * y if x and y are nonzero and z is zero.
54259         [BZ #14811]
54260         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54261         nonzero exponents with absolute value below 0x1p-117 to +/-
54262         0x1p-117.
54264         [BZ #14869]
54265         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54266         up arguments below 2**-450, not just those below 2**-500.
54267         * math/libm-test.inc (hypot_test): Add another test.
54269         [BZ #14868]
54270         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54271         Return a+b for ratio over 2**120, not 2**60.
54272         * math/libm-test.inc (hypot_test): Add another test.
54274         * math/libm-test.inc (clog_test): Use
54275         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54276         (clog10_test): Likewise.
54278         [BZ #6778]
54279         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54281 2012-11-22  Andreas Schwab  <schwab@suse.de>
54283         * sysdeps/i386/fpu/libm-test-ulps: Update.
54285 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54287         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54288         printf output with newline.
54290 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54292         [BZ #14865]
54293         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54294         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54295         -z nodlopen, -z initfirst and -z execstack support.
54296         * configure: Regenerated.
54298         * elf/elf.h (DF_1_NODIRECT): New macro.
54299         (DF_1_IGNMULDEF): Likewise.
54300         (DF_1_NOKSYMS): Likewise.
54301         (DF_1_NOHDR): Likewise.
54302         (DF_1_EDITED): Likewise.
54303         (DF_1_NORELOC): Likewise.
54304         (DF_1_SYMINTPOSE): Likewise.
54305         (DF_1_GLOBAUDIT): Likewise.
54306         (DF_1_SINGLETON): Likewise.
54307         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54308         DT_1_SUPPORTED_MASK bits.
54309         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54311 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
54313         * sysdeps/unix/make-syscalls.sh: Document prefixes.
54315 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
54317         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54318         macro.
54320         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54321         (sendmmsg): Move declarations...
54322         * socket/sys/socket.h: ... here.
54323         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54324         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54325         include it from...
54326         * socket/recvmmsg.c: ... this new file.
54327         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54328         (sendmmsg): Rename to __sendmmsg, create weak alias and make
54329         definition of __sendmmsg hidden.
54330         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54331         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54332         Move ENOSYS stub into and include it from...
54333         * socket/sendmmsg.c: ... this new file.
54334         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54335         (sysdep_routines): Move recvmmsg and sendmmsg...
54336         * socket/Makefile (routines): ... here.
54337         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54338         (GLIBC_PRIVATE): Add __sendmmsg.
54339         * include/sys/socket.h (__sendmmsg): Add declarations.
54340         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54341         sendmmsg.
54343 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
54345         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54346         variable I1 with __attribute__ ((unused)).
54347         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54349 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54351         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54352         DUMMY variables with __attribute__ ((unused)).
54354         * bits/byteswap.h: Include <bits/types.h>.
54355         (__bswap_64): Use __uint64_t instead of unsigned long long int.
54357 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54359         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54360         string_t.  Do not manually set errno.
54361         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54362         length with __strnlen.  Make sure to both set errno and return it on
54363         failure.
54365 2012-11-19  David S. Miller  <davem@davemloft.net>
54367         With help from Joseph Myers.
54368         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54369         very large arguments properly.
54370         * math/libm-test.inc (atan_test): New tests.
54371         (atan2_test): New tests.
54372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54373         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54375 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54377         [BZ #14856]
54378         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54379         Define to 3.
54381         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54382         [POSIX] (EADDRNOTAVAIL): Likewise.
54383         [POSIX] (EAFNOSUPPORT): Likewise.
54384         [POSIX] (EALREADY): Likewise.
54385         [POSIX] (ECONNABORTED): Likewise.
54386         [POSIX] (ECONNREFUSED): Likewise.
54387         [POSIX] (ECONNRESET): Likewise.
54388         [POSIX] (EDESTADDRREQ): Likewise.
54389         [POSIX] (EDQUOT): Likewise.
54390         [POSIX] (EHOSTUNREACH): Likewise.
54391         [POSIX] (EIDRM): Likewise.
54392         [POSIX] (EISCONN): Likewise.
54393         [POSIX] (ELOOP): Likewise.
54394         [POSIX] (EMULTIHOP): Likewise.
54395         [POSIX] (ENETDOWN): Likewise.
54396         [POSIX] (ENETUNREACH): Likewise.
54397         [POSIX] (ENOBUFS): Likewise.
54398         [POSIX] (ENODATA): Likewise.
54399         [POSIX] (ENOLINK): Likewise.
54400         [POSIX] (ENOMSG): Likewise.
54401         [POSIX] (ENOPROTOOPT): Likewise.
54402         [POSIX] (ENOSR): Likewise.
54403         [POSIX] (ENOSTR): Likewise.
54404         [POSIX] (ENOTCONN): Likewise.
54405         [POSIX] (ENOTSOCK): Likewise.
54406         [POSIX] (EOPNOTSUPP): Likewise.
54407         [POSIX] (EOVERFLOW): Likewise.
54408         [POSIX] (EPROTO): Likewise.
54409         [POSIX] (EPROTONOSUPPORT): Likewise.
54410         [POSIX] (EPROTOTYPE): Likewise.
54411         [POSIX] (ESTALE): Likewise.
54412         [POSIX] (ETIME): Likewise.
54413         [POSIX] (ETXTBSY): Likewise.
54414         [POSIX] (EWOULDBLOCK): Likewise.
54415         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54416         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54417         [POSIX] (SEEK_CUR): Likewise.
54418         [POSIX] (SEEK_END): Likewise.
54419         [POSIX || UNIX98] (mode_t): Do not require.
54420         [POSIX] (off_t): Likewise.
54421         [POSIX] (pid_t): Likewise.
54422         [POSIX] (sys/stat.h): Do not allow header.
54423         [POSIX] (unistd.h): Likewise.
54424         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54425         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54426         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54427         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54428         require.
54429         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54430         sigevent): Specify elements.
54431         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54432         entry.
54433         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54434         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54436         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54437         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54438         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54439         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54440         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54441         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54442         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54443         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54444         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54445         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54446         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54447         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54448         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54449         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54450         Likewise.
54451         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54452         Likewise.
54453         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54454         Likewise.
54455         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54456         Likewise.
54457         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54458         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54459         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54460         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54461         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54462         Specify lower bound on value.
54463         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54464         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54465         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54466         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54467         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54468         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54469         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54470         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54471         value.
54472         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54473         as optional.
54474         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54475         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54476         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54477         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54478         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54479         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54480         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54481         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54482         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54483         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54484         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54485         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54486         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54487         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54488         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54489         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54490         entry.
54491         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54492         optional.
54493         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54494         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54495         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54496         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54497         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54498         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54499         Likewise.
54500         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54501         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54502         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54503         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54504         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
54505         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54506         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54507         as optional.
54508         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54509         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54510         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54511         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54512         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54513         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54514         specify as optional.
54515         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54516         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54517         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54518         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54519         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54520         [XPG3] (NL_LANGMAX): Likewise.
54521         [POSIX || XPG3] (NL_MSGMAX): Likewise.
54522         [POSIX || XPG3] (NL_NMAX): Likewise.
54523         [POSIX || XPG3] (NL_SETMAX): Likewise.
54524         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54525         [XPG3] (NZERO): Likewise.
54526         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54527         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54528         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54529         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54530         (REG_ERANGE): Expect.
54531         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54532         optional-constant.
54533         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54534         Use (void) in prototype.
54535         [POSIX] (*_t): Allow.
54536         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54537         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54538         (WRDE_BADVAL): Expect.
54540         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54541         expect.
54542         [XPG3 || XPG4] (O_RSYNC): Likewise.
54543         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54544         Likewise.
54545         [XPG3 || XPG4] (pthread_sigmask): Likewise.
54546         [XPG3 || XPG4] (sigqueue): Likewise.
54547         [XPG3 || XPG4] (sigtimedwait): Likewise.
54548         [XPG3 || XPG4] (sigwaitinfo): Likewise.
54549         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54550         [XPG3 || XPG4] (vsnprintf): Likewise.
54551         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54552         Likewise.
54553         [XPG3 || XPG4] (blksize_t): Likewise.
54554         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54555         Likewise.
54556         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54557         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54558         [XPG3 || XPG4] (struct itimerspec): Likewise.
54559         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54560         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54561         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54562         [XPG3 || XPG4] (clockid_t): Likewise.
54563         [XPG3 || XPG4] (timer_t): Likewise.
54564         [XPG3 || XPG4] (clock_getres): Likewise.
54565         [XPG3 || XPG4] (clock_gettime): Likewise.
54566         [XPG3 || XPG4] (clock_settime): Likewise.
54567         [XPG3 || XPG4] (nanosleep): Likewise.
54568         [XPG3 || XPG4] (timer_create): Likewise.
54569         [XPG3 || XPG4] (timer_delete): Likewise.
54570         [XPG3 || XPG4] (timer_gettime): Likewise.
54571         [XPG3 || XPG4] (timer_getoverrun): Likewise.
54572         [XPG3 || XPG4] (timer_settime): Likewise.
54573         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54574         [XPG3 || XPG4] (getlogin_r): Likewise.
54575         [XPG3 || XPG4] (pread): Likewise.
54576         [XPG3 || XPG4] (pthread_atfork): Likewise.
54577         [XPG3 || XPG4] (pwrite): Likewise.
54579         [BZ #14835]
54580         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54581         <bits/siginfo.h>.
54583 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54585         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54586         finalizing MALLSTREAM.
54588         * sysdeps/mach/hurd/syncfs.c: New file.
54590 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54592         [BZ #14719]
54593         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54594         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54595         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54596         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54597         (_nss_dns_gethostbyname4_r): Likewise.
54598         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54599         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54601 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
54603         [BZ #13763]
54604         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54606 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
54608         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54609         * elf/cache.c (print_entry): Print ",AArch64" for
54610         FLAG_AARCH64_LIB64
54612         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54613         * elf/cache.c (print_entry): Print ",hard-float" for
54614         FLAG_ARM_LIBHF.
54616 2012-11-18  David S. Miller  <davem@davemloft.net>
54618         With help from Joseph Myers.
54619         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54620         cutoff to 2**-13.
54621         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54622         cutoff to 2**-25.
54623         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54624         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54625         small.
54626         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54627         * math/libm-test.inc (y0_test): New tests.
54628         (y1_test): New tests.
54629         * sysdeps/i386/fpu/libm-test-ulps: Update.
54630         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54633 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54635         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54636         64-bit targets.
54637         * configure: Regenerated.
54639 2012-11-17  David S. Miller  <davem@davemloft.net>
54641         [BZ #14811]
54642         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54643         nonzero exponents with absolute value below 0x1p-128 to +/-
54644         0x1p-128.
54646 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54648         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54650         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54652         * posix/getconf-speclist.c: New file.
54653         * posix/posix-envs.def: Likewise.
54654         * posix/confstr.c (START_ENV_GROUP): New macro.
54655         (END_ENV_GROUP): Likewise.
54656         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54657         (KNOWN_PRESENT_ENV_STRING): Likewise.
54658         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54659         (UNKNOWN_ENVIRONMENT): Likewise.
54660         (confstr): Include posix-envs.def instead of handling
54661         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54662         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54663         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54664         (END_ENV_GROUP): Likewise.
54665         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54666         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54667         (UNKNOWN_ENVIRONMENT): Likewise.
54668         (__sysconf): Include posix-envs.def instead of handling associated
54669         cases directly here.
54670         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54671         preprocessing getconf-speclist.c rather than running getconf or
54672         generating empty file.
54674 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54676         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54678 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54680         [BZ #14672]
54681         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54683 2012-11-16  David S. Miller  <davem@davemloft.net>
54685         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54686         smaller than LDBL_EPSILON/2.0L, just return xm1.
54688 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
54690         * elf/tst-array1.c (init): Set constructor priority to 1000.
54691         (fini): Set destructor priority to 1000.
54692         * elf/tst-array2dep.c: Likewise.
54694 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54696         [BZ #11741]
54697         * libio/fileops.c (_IO_new_file_write): Correctly return error.
54698         (_IO_new_file_xsputn): Also return EOF if none of the input
54699         data was written when overflow failed.
54700         * libio/iopadn.c (_IO_padn): Likewise.
54701         * libio/iowpadn.c (_IO_wpadn): Likewise.
54702         * stdio-common/tst-put-error.c: Add copyright notice.
54703         (do_test): Add case for printing padded string.
54704         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54705         _IO_padn returned error.
54706         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54707         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54708         return EOF.
54710 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54712         * libio/libioP.h: Add comment note that the references to C++
54713         bits are now obsolete.
54715 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54717         * math/libm-test.inc (check_complex): Use asprintf.
54719 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
54721         * debug/pcprofiledump.c (print_version): Update copyright year.
54722         * malloc/memusagestat.c (print_version): Likewise.
54724 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
54726         [BZ #14831]
54727         * elf/Makefile (tests): Add tst-audit8.
54728         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54729         ($(objpfx)tst-audit8.out): New target.
54730         (tst-audit8-ENV): New variable.
54731         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54732         audit if l_reloc_result is NULL.
54733         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54734         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54735         * elf/tst-audit8.c: New file.
54737 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54739         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
54740         * misc/Makefile (CFLAGS-select.c): Define.
54741         * posix/Makefile (CFLAGS-pause.c): Define.
54743 2012-11-13  David S. Miller  <davem@davemloft.net>
54745         * crypt/Makefile: Move test targets after toplevel Rules
54746         inclusion.  Grab any necessary sysdep routines when linking.
54747         * crypt/md5.c (md5_process_block): Remove define, we will always
54748         name it __md5_process_block.
54749         (md5_finish_ctx): Update md5_process_block call.
54750         (md5_stream): Likewise.
54751         (md5_process_bytes): Likewise.
54752         (md5_process_block): Rename to __md5_process_block and move to ...
54753         * crypt/md5-block.c: ... here.
54754         * crypt/sha256.c (sha256_process_block): Move to ...
54755         * crypt/sha256-block.c: ... here.
54756         * crypt/sha512.c (sha512_process_block): Move to ...
54757         * crypt/sha512-block.c: ... here.
54758         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
54759         path.
54760         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
54761         * sysdeps/sparc/sparc64/multiarch/Makefile
54762         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
54763         crypt subdir.
54764         (localedef-aux): Add md5 crypto assembler when in locale subdir.
54765         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
54766         multiarch changes.
54767         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
54768         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
54769         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
54770         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
54771         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
54772         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
54773         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
54774         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
54775         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
54776         file.
54777         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
54778         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
54779         file.
54780         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
54782 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
54784         * timezone/tzselect.ksh: Update from tzcode git revision
54785         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
54786         * timezone/zdump.c: Likewise.
54787         * timezone/zic.c: Likewise.
54788         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
54789         in TZVERSION setting, not $(PKGVERSION).
54790         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
54791         REPORT_BUGS_TO settings.
54793         [BZ #14838]
54794         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
54795         macro.
54797 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54799         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
54800         detection to immediately after _FP_ROUND().
54801         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
54802         bits are 0.
54804 2012-11-11  David S. Miller  <davem@davemloft.net>
54806         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
54807         inttypes.h
54808         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
54809         __close rather than their public counterparts.
54811 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
54813         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
54814         file.
54815         [UNIX98] (sem_timedwait): Do not expect.
54816         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
54817         [XPG4 || UNIX98] (sockatmark): Do not expect.
54818         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
54819         (clock_getcpuclockid): Do not expect.
54820         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
54821         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
54822         Do not expect.
54823         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
54824         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
54825         [UNIX98] (vwscanf): Likewise.
54826         [UNIX98] (vswscanf): Likewise.
54828 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
54830         * timezone/version.h: Remove file.
54831         * timezone/README: Do not refer to version.h.
54832         * timezone/Makefile ($(objpfx)zic.o): New dependency on
54833         $(objpfx)version.h.
54834         ($(objpfx)zdump.o): Likewise.
54835         ($(objpfx)version.h): New target.
54837         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
54838         2012i.
54839         * timezone/README: Don't mention modification to tzselect.ksh.
54840         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
54841         work on unmodified tzselect.ksh.  Substitute version numbers in
54842         tzselect.ksh.
54844         * Makefile (format-me): Remove.
54845         (INSTALL): Adjust indentation.  Use commands directly instead of
54846         using $(format-me).
54848         * aclocal.m4 (ACX_PKGVERSION): New macro.
54849         (ACX_BUGURL): Likewise.
54850         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
54851         (PKGVERSION): New AC_DEFINE_UNQUOTED.
54852         (REPORT_BUGS_TO): Likewise.
54853         * configure: Regenerated.
54854         * config.h.in (PKGVERSION): New macro.
54855         (REPORT_BUGS_TO): Likewise.
54856         * config.make.in (PKGVERSION): New variable.
54857         (PKGVERSION_TEXI): Likewise.
54858         (REPORT_BUGS_TO): Likewise.
54859         (REPORT_BUGS_TEXI): Likewise.
54860         * Makefile (format-me): Use -I$(common-objpfx)manual.
54861         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
54862         ($(common-objpfx)manual/%): New target.
54863         (manual/%): Remove target.
54864         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
54865         (print_version): Use PKGVERSION.
54866         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
54867         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
54868         and REPORT_BUGS_TO.
54869         ($(objpfx)xtrace): Likewise.
54870         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
54871         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
54872         (print_version): Use PKGVERSION.
54873         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
54874         (do_version): Use PKGVERSION.
54875         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
54876         REPORT_BUGS_TO.
54877         (common-ldd-rewrite): Likewise.
54878         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
54879         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
54880         (print_version): Use PKGVERSION.
54881         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
54882         * elf/pldd.c (argp_program_bug_address): Remove variable.
54883         (more_help): New function.
54884         (argp): Use more_help.
54885         (print_version): Use PKGVERSION.
54886         * elf/sln.c (main): Use PKGVERSION.
54887         (usage): Use REPORT_BUGS_TO.
54888         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
54889         (top level): Use PKGVERSION.
54890         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
54891         (print_version): Use PKGVERSION.
54892         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
54893         (print_version): Use PKGVERSION.
54894         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
54895         (print_version): Use PKGVERSION.
54896         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
54897         (print_version): Use PKGVERSION.
54898         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
54899         (print_version): Use PKGVERSION.
54900         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
54901         (print_version): Use PKGVERSION.
54902         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
54903         and BUGURL.
54904         ($(objpfx)memusage): Likewise.
54905         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
54906         (do_version): Use PKGVERSION.
54907         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
54908         (print_version): Use PKGVERSION.
54909         * malloc/mtrace.pl ($PACKAGE): Remove variable.
54910         ($PKGVERSION): New variable.
54911         ($REPORT_BUGS_TO): Likewise.
54912         (usage): Use $REPORT_BUGS_TO.
54913         (top level): Use $PKGVERSION.
54914         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
54915         ($(objpfx)pkgvers.texi): New rule.
54916         ($(objpfx)stamp-pkgvers): Likewise.
54917         * manual/install.texi: Include pkgvers.texi.
54918         (--with-pkgversion): Document new configure option.
54919         (--with-bugurl): Likewise.
54920         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
54921         than necessarily for this particular distribution.  Use
54922         REPORT_BUGS_TO for where to report bugs.
54923         * INSTALL: Regenerated.
54924         * manual/libc.texinfo: Include pkgvers.texi.
54925         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
54926         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
54927         (print_version): Use PKGVERSION.
54928         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
54929         (print_version): Use PKGVERSION.
54930         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
54931         (print_version): Use PKGVERSION.
54932         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
54933         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
54934         macro.
54935         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
54936         (print_version): Use PKGVERSION.
54937         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
54938         (print_version): Use PKGVERSION.
54939         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
54940         and PKGVERSION.
54942         * timezone/checktab.awk: Update from tzcode 2012i.
54943         * timezone/ialloc.c: Likewise.
54944         * timezone/private.h: Likewise.
54945         * timezone/scheck.c: Likewise.
54946         * timezone/tzfile.h: Likewise.
54947         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54948         (TZVERSION): Hardcode tzcode version number.
54949         * timezone/zdump.c: Update from tzcode 2012i.
54950         * timezone/zic.c: Likewise.
54951         * timezone/version.h: New file.
54952         * timezone/README: Describe version.h.  Update upstream location.
54954         [BZ #14824]
54955         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54956         (mktemp): Enable declaration.
54957         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54958         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54959         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54960         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54961         Likewise.
54962         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54963         Likewise.
54964         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54965         Likewise.
54966         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54967         Likewise.
54968         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54969         Likewise.
54970         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54971         Likewise.
54973         [BZ #14821]
54974         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54975         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
54976         for copies of such integer values.
54977         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54978         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54980 2012-11-09  Andreas Jaeger  <aj@suse.de>
54982         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54983         definitions and declarations that are provided by
54984         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54986 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54988         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54989         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54990         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54991         definition.
54993 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54995         * elf/elf.h: Update comment before AArch64 relocations.
54997 2012-11-07  David S. Miller  <davem@davemloft.net>
54999         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55000         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55001         (__start_context): Declare.
55002         (__makecontext_ret): Delete.
55003         (__makecontext): Hook up __start_context instead of
55004         __makecontext_ret.
55005         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55006         (sysdep_routines): Add __start_context when in stdlib.
55008 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55010         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55011         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55012         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55013         hardcoded "nm".
55014         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55015         (READELF): New variable.  Use it instead of hardcoded "readelf".
55017 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55019         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55020         * sysdeps/x86/Makefile: Here.
55021         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55022         * sysdeps/x86/tst-xmmymm.sh: This.
55024 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55026         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55027         expectations.
55028         [UNIX98] (pthread_barrier_t): Do not expect.
55029         [UNIX98] (pthread_barrierattr_t): Likewise.
55030         [UNIX98] (pthread_spinlock_t): Likewise.
55031         [UNIX98] (pthread_barrier_destroy): Likewise.
55032         [UNIX98] (pthread_barrier_init): Likewise.
55033         [UNIX98] (pthread_barrier_wait): Likewise.
55034         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55035         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55036         [UNIX98] (pthread_barrierattr_init): Likewise.
55037         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55038         [UNIX98] (pthread_getcpuclockid): Likewise.
55039         [UNIX98] (pthread_mutex_timedlock): Likewise.
55040         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55041         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55042         [UNIX98] (pthread_sigmask): Likewise.
55043         [UNIX98] (pthread_spin_destroy): Likewise.
55044         [UNIX98] (pthread_spin_init): Likewise.
55045         [UNIX98] (pthread_spin_lock): Likewise.
55046         [UNIX98] (pthread_spin_trylock): Likewise.
55047         [UNIX98] (pthread_spin_unlock): Likewise.
55048         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55049         Do not expect.
55050         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55051         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55052         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55053         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55054         [XPG3 || XPG4] (pthread_key_t): Likewise.
55055         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55056         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55057         [XPG3 || XPG4] (pthread_once_t): Likewise.
55058         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55059         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55060         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55061         [XPG3 || XPG4] (pthread_t): Likewise.
55063         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55064         not expect.
55065         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55067         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55068         Change function return type to int.
55070         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55071         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55072         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55073         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55074         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55075         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55076         [!POSIX] (posix_madvise): Likewise.
55077         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55078         && !UNIX98].
55079         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55080         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55081         (mode_t): Likewise.
55082         (posix_mem_offset): Likewise.
55083         (posix_typed_mem_get_info): Likewise.
55084         (posix_typed_mem_open): Likewise.
55086         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55087         Change condition to [XOPEN2K8].
55089         * conform/conformtest.pl: Preprocess allow-header data with -x c
55090         instead of from stdin.
55091         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55092         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55093         [C99-based standards] (cerfc): Likewise.
55094         [C99-based standards] (cexp2): Likewise.
55095         [C99-based standards] (cexpm1): Likewise.
55096         [C99-based standards] (clog10): Likewise.
55097         [C99-based standards] (clog1p): Likewise.
55098         [C99-based standards] (clog2): Likewise.
55099         [C99-based standards] (clgamma): Likewise.
55100         [C99-based standards] (ctgamma): Likewise.
55101         [C99-based standards] (cerff): Likewise.
55102         [C99-based standards] (cerfcf): Likewise.
55103         [C99-based standards] (cexp2f): Likewise.
55104         [C99-based standards] (cexpm1f): Likewise.
55105         [C99-based standards] (clog10f): Likewise.
55106         [C99-based standards] (clog1pf): Likewise.
55107         [C99-based standards] (clog2f): Likewise.
55108         [C99-based standards] (clgammaf): Likewise.
55109         [C99-based standards] (ctgammaf): Likewise.
55110         [C99-based standards] (cerfl): Likewise.
55111         [C99-based standards] (cerfcl): Likewise.
55112         [C99-based standards] (cexp2l): Likewise.
55113         [C99-based standards] (cexpm1l): Likewise.
55114         [C99-based standards] (clog10l): Likewise.
55115         [C99-based standards] (clog1pl): Likewise.
55116         [C99-based standards] (clog2l): Likewise.
55117         [C99-based standards] (clgammal): Likewise.
55118         [C99-based standards] (ctgammal): Likewise.
55119         * conform/data/inttypes.h-data [C99-based standards]: Include
55120         stdint.h-data.  Remove all expectations for stdint.h contents.
55121         [C99-based standards] (PRI*): Do not allow.
55122         [C99-based standards] (SCN*): Likewise.
55123         [C99-based standards] (*_t): Likewise.
55124         [C99-based-standards] (PRId8): Expect macro.
55125         [C99-based-standards] (PRIi8): Likewise.
55126         [C99-based-standards] (PRIo8): Likewise.
55127         [C99-based-standards] (PRIu8): Likewise.
55128         [C99-based-standards] (PRIx8): Likewise.
55129         [C99-based-standards] (PRIX8): Likewise.
55130         [C99-based-standards] (SCNd8): Likewise.
55131         [C99-based-standards] (SCNi8): Likewise.
55132         [C99-based-standards] (SCNo8): Likewise.
55133         [C99-based-standards] (SCNu8): Likewise.
55134         [C99-based-standards] (SCNx8): Likewise.
55135         [C99-based-standards] (PRIdLEAST8): Likewise.
55136         [C99-based-standards] (PRIiLEAST8): Likewise.
55137         [C99-based-standards] (PRIoLEAST8): Likewise.
55138         [C99-based-standards] (PRIuLEAST8): Likewise.
55139         [C99-based-standards] (PRIxLEAST8): Likewise.
55140         [C99-based-standards] (PRIXLEAST8): Likewise.
55141         [C99-based-standards] (SCNdLEAST8): Likewise.
55142         [C99-based-standards] (SCNiLEAST8): Likewise.
55143         [C99-based-standards] (SCNoLEAST8): Likewise.
55144         [C99-based-standards] (SCNuLEAST8): Likewise.
55145         [C99-based-standards] (SCNxLEAST8): Likewise.
55146         [C99-based-standards] (PRIdFAST8): Likewise.
55147         [C99-based-standards] (PRIiFAST8): Likewise.
55148         [C99-based-standards] (PRIoFAST8): Likewise.
55149         [C99-based-standards] (PRIuFAST8): Likewise.
55150         [C99-based-standards] (PRIxFAST8): Likewise.
55151         [C99-based-standards] (PRIXFAST8): Likewise.
55152         [C99-based-standards] (SCNdFAST8): Likewise.
55153         [C99-based-standards] (SCNiFAST8): Likewise.
55154         [C99-based-standards] (SCNoFAST8): Likewise.
55155         [C99-based-standards] (SCNuFAST8): Likewise.
55156         [C99-based-standards] (SCNxFAST8): Likewise.
55157         [C99-based-standards] (PRId16): Likewise.
55158         [C99-based-standards] (PRIi16): Likewise.
55159         [C99-based-standards] (PRIo16): Likewise.
55160         [C99-based-standards] (PRIu16): Likewise.
55161         [C99-based-standards] (PRIx16): Likewise.
55162         [C99-based-standards] (PRIX16): Likewise.
55163         [C99-based-standards] (SCNd16): Likewise.
55164         [C99-based-standards] (SCNi16): Likewise.
55165         [C99-based-standards] (SCNo16): Likewise.
55166         [C99-based-standards] (SCNu16): Likewise.
55167         [C99-based-standards] (SCNx16): Likewise.
55168         [C99-based-standards] (PRIdLEAST16): Likewise.
55169         [C99-based-standards] (PRIiLEAST16): Likewise.
55170         [C99-based-standards] (PRIoLEAST16): Likewise.
55171         [C99-based-standards] (PRIuLEAST16): Likewise.
55172         [C99-based-standards] (PRIxLEAST16): Likewise.
55173         [C99-based-standards] (PRIXLEAST16): Likewise.
55174         [C99-based-standards] (SCNdLEAST16): Likewise.
55175         [C99-based-standards] (SCNiLEAST16): Likewise.
55176         [C99-based-standards] (SCNoLEAST16): Likewise.
55177         [C99-based-standards] (SCNuLEAST16): Likewise.
55178         [C99-based-standards] (SCNxLEAST16): Likewise.
55179         [C99-based-standards] (PRIdFAST16): Likewise.
55180         [C99-based-standards] (PRIiFAST16): Likewise.
55181         [C99-based-standards] (PRIoFAST16): Likewise.
55182         [C99-based-standards] (PRIuFAST16): Likewise.
55183         [C99-based-standards] (PRIxFAST16): Likewise.
55184         [C99-based-standards] (PRIXFAST16): Likewise.
55185         [C99-based-standards] (SCNdFAST16): Likewise.
55186         [C99-based-standards] (SCNiFAST16): Likewise.
55187         [C99-based-standards] (SCNoFAST16): Likewise.
55188         [C99-based-standards] (SCNuFAST16): Likewise.
55189         [C99-based-standards] (SCNxFAST16): Likewise.
55190         [C99-based-standards] (PRId32): Likewise.
55191         [C99-based-standards] (PRIi32): Likewise.
55192         [C99-based-standards] (PRIo32): Likewise.
55193         [C99-based-standards] (PRIu32): Likewise.
55194         [C99-based-standards] (PRIx32): Likewise.
55195         [C99-based-standards] (PRIX32): Likewise.
55196         [C99-based-standards] (SCNd32): Likewise.
55197         [C99-based-standards] (SCNi32): Likewise.
55198         [C99-based-standards] (SCNo32): Likewise.
55199         [C99-based-standards] (SCNu32): Likewise.
55200         [C99-based-standards] (SCNx32): Likewise.
55201         [C99-based-standards] (PRIdLEAST32): Likewise.
55202         [C99-based-standards] (PRIiLEAST32): Likewise.
55203         [C99-based-standards] (PRIoLEAST32): Likewise.
55204         [C99-based-standards] (PRIuLEAST32): Likewise.
55205         [C99-based-standards] (PRIxLEAST32): Likewise.
55206         [C99-based-standards] (PRIXLEAST32): Likewise.
55207         [C99-based-standards] (SCNdLEAST32): Likewise.
55208         [C99-based-standards] (SCNiLEAST32): Likewise.
55209         [C99-based-standards] (SCNoLEAST32): Likewise.
55210         [C99-based-standards] (SCNuLEAST32): Likewise.
55211         [C99-based-standards] (SCNxLEAST32): Likewise.
55212         [C99-based-standards] (PRIdFAST32): Likewise.
55213         [C99-based-standards] (PRIiFAST32): Likewise.
55214         [C99-based-standards] (PRIoFAST32): Likewise.
55215         [C99-based-standards] (PRIuFAST32): Likewise.
55216         [C99-based-standards] (PRIxFAST32): Likewise.
55217         [C99-based-standards] (PRIXFAST32): Likewise.
55218         [C99-based-standards] (SCNdFAST32): Likewise.
55219         [C99-based-standards] (SCNiFAST32): Likewise.
55220         [C99-based-standards] (SCNoFAST32): Likewise.
55221         [C99-based-standards] (SCNuFAST32): Likewise.
55222         [C99-based-standards] (SCNxFAST32): Likewise.
55223         [C99-based-standards] (PRId64): Likewise.
55224         [C99-based-standards] (PRIi64): Likewise.
55225         [C99-based-standards] (PRIo64): Likewise.
55226         [C99-based-standards] (PRIu64): Likewise.
55227         [C99-based-standards] (PRIx64): Likewise.
55228         [C99-based-standards] (PRIX64): Likewise.
55229         [C99-based-standards] (SCNd64): Likewise.
55230         [C99-based-standards] (SCNi64): Likewise.
55231         [C99-based-standards] (SCNo64): Likewise.
55232         [C99-based-standards] (SCNu64): Likewise.
55233         [C99-based-standards] (SCNx64): Likewise.
55234         [C99-based-standards] (PRIdLEAST64): Likewise.
55235         [C99-based-standards] (PRIiLEAST64): Likewise.
55236         [C99-based-standards] (PRIoLEAST64): Likewise.
55237         [C99-based-standards] (PRIuLEAST64): Likewise.
55238         [C99-based-standards] (PRIxLEAST64): Likewise.
55239         [C99-based-standards] (PRIXLEAST64): Likewise.
55240         [C99-based-standards] (SCNdLEAST64): Likewise.
55241         [C99-based-standards] (SCNiLEAST64): Likewise.
55242         [C99-based-standards] (SCNoLEAST64): Likewise.
55243         [C99-based-standards] (SCNuLEAST64): Likewise.
55244         [C99-based-standards] (SCNxLEAST64): Likewise.
55245         [C99-based-standards] (PRIdFAST64): Likewise.
55246         [C99-based-standards] (PRIiFAST64): Likewise.
55247         [C99-based-standards] (PRIoFAST64): Likewise.
55248         [C99-based-standards] (PRIuFAST64): Likewise.
55249         [C99-based-standards] (PRIxFAST64): Likewise.
55250         [C99-based-standards] (PRIXFAST64): Likewise.
55251         [C99-based-standards] (SCNdFAST64): Likewise.
55252         [C99-based-standards] (SCNiFAST64): Likewise.
55253         [C99-based-standards] (SCNoFAST64): Likewise.
55254         [C99-based-standards] (SCNuFAST64): Likewise.
55255         [C99-based-standards] (SCNxFAST64): Likewise.
55256         [C99-based-standards] (PRIdMAX): Likewise.
55257         [C99-based-standards] (PRIiMAX): Likewise.
55258         [C99-based-standards] (PRIoMAX): Likewise.
55259         [C99-based-standards] (PRIuMAX): Likewise.
55260         [C99-based-standards] (PRIxMAX): Likewise.
55261         [C99-based-standards] (PRIXMAX): Likewise.
55262         [C99-based-standards] (SCNdMAX): Likewise.
55263         [C99-based-standards] (SCNiMAX): Likewise.
55264         [C99-based-standards] (SCNoMAX): Likewise.
55265         [C99-based-standards] (SCNuMAX): Likewise.
55266         [C99-based-standards] (SCNxMAX): Likewise.
55267         [C99-based-standards] (PRIdPTR): Likewise.
55268         [C99-based-standards] (PRIiPTR): Likewise.
55269         [C99-based-standards] (PRIoPTR): Likewise.
55270         [C99-based-standards] (PRIuPTR): Likewise.
55271         [C99-based-standards] (PRIxPTR): Likewise.
55272         [C99-based-standards] (PRIXPTR): Likewise.
55273         [C99-based-standards] (SCNdPTR): Likewise.
55274         [C99-based-standards] (SCNiPTR): Likewise.
55275         [C99-based-standards] (SCNoPTR): Likewise.
55276         [C99-based-standards] (SCNuPTR): Likewise.
55277         [C99-based-standards] (SCNxPTR): Likewise.
55278         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55279         allow.
55280         * conform/data/stdint.h-data: Update comments to clarify
55281         requirements.
55282         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55283         type.
55284         [C99-based standards] (INT8_MAX): Likewise.
55285         [C99-based standards] (INT16_MIN): Likewise.
55286         [C99-based standards] (INT16_MAX): Likewise.
55287         [C99-based standards] (INT32_MIN): Likewise.
55288         [C99-based standards] (INT32_MAX): Likewise.
55289         [C99-based standards] (INT64_MIN): Likewise.
55290         [C99-based standards] (INT64_MAX): Likewise.
55291         [C99-based standards] (UINT8_MAX): Likewise.
55292         [C99-based standards] (UINT16_MAX): Likewise.
55293         [C99-based standards] (UINT32_MAX): Likewise.
55294         [C99-based standards] (UINT64_MAX): Likewise.
55295         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55296         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55297         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55298         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55299         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55300         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55301         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55302         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55303         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55304         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55305         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55306         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55307         [C99-based standards] (INT_FAST8_MIN): Likewise.
55308         [C99-based standards] (INT_FAST8_MAX): Likewise.
55309         [C99-based standards] (INT_FAST16_MIN): Likewise.
55310         [C99-based standards] (INT_FAST16_MAX): Likewise.
55311         [C99-based standards] (INT_FAST32_MIN): Likewise.
55312         [C99-based standards] (INT_FAST32_MAX): Likewise.
55313         [C99-based standards] (INT_FAST64_MIN): Likewise.
55314         [C99-based standards] (INT_FAST64_MAX): Likewise.
55315         [C99-based standards] (UINT_FAST8_MAX): Likewise.
55316         [C99-based standards] (UINT_FAST16_MAX): Likewise.
55317         [C99-based standards] (UINT_FAST32_MAX): Likewise.
55318         [C99-based standards] (UINT_FAST64_MAX): Likewise.
55319         [C99-based standards] (INTPTR_MIN): Likewise.
55320         [C99-based standards] (INTPTR_MAX): Likewise.
55321         [C99-based standards] (UINTPTR_MAX): Likewise.
55322         [C99-based standards] (INTMAX_MIN): Likewise.
55323         [C99-based standards] (INTMAX_MAX): Likewise.
55324         [C99-based standards] (UINTMAX_MAX): Likewise.
55325         [C99-based standards] (PTRDIFF_MIN): Likewise.
55326         [C99-based standards] (PTRDIFF_MAX): Likewise.
55327         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55328         [C99-based standards] (SIZE_MAX): Likewise.
55329         [C99-based standards] (WCHAR_MAX): Likewise.
55330         [C99-based standards] (WINT_MAX): Likewise.
55331         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
55332         constraint on value.
55333         [C99-based standards] (WCHAR_MIN): Likewise.
55334         [C99-based standards] (WINT_MIN): Likewise.
55335         [C99-based standards] (*_t): Allow.
55336         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55337         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55338         Include math.h-data and complex.h-data.  Remove all expectations
55339         of math.h and complex.h contents.
55340         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55341         at end of line.
55342         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55343         (struct tm): Expect tag.
55344         [C99-based-standards] (wcstof): Expect function.
55345         [C99-based-standards] (wcstold): Likewise.
55346         [C99-based-standards] (wcstoll): Likewise.
55347         [C99-based-standards] (wcstoull): Likewise.
55348         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55349         macro-int-constant.  Specify type.
55350         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
55351         constraint on value.
55352         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55353         Specify type.
55354         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55355         Specify value.
55356         [ISO C standards]: Do not allow headers.
55357         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55358         wcs[abcdefghijklmnopqrstuvwxyz]*.
55359         [ISO C standards] (*_t): Do not allow.
55360         * conform/data/wctype.h-data [C99-based standards] (iswblank):
55361         Expect function.
55362         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55363         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55364         Specify type.
55365         [ISO C standards]: Do not allow headers.
55366         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55367         is[abcdefghijklmnopqrstuvwxyz]*.
55368         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55369         to[abcdefghijklmnopqrstuvwxyz]*.
55370         [ISO C standards] (*_t): Do not allow.
55371         * conform/data/stdalign.h-data: New file.
55372         * conform/data/stdbool.h-data: Likewise.
55373         * conform/data/stdnoreturn.h-data: Likewise.
55375 2012-11-07  Roland McGrath  <roland@hack.frob.com>
55377         [BZ #14815]
55378         * manual/filesys.texi (Directory Entries): Typo fix.
55379         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55381 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55383         * elf/elf.h (EM_AARCH64): New macro.
55384         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55385         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55386         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55387         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55388         (R_AARCH64_TLSDESC): Likewise.
55389         (NT_ARM_TLS): Likewise.
55390         (NT_ARM_HW_BREAK): Likewise.
55391         (NT_ARM_HW_WATCH): Likewise.
55393 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55395         [BZ #14811]
55396         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55397         (__ieee754_powl): Saturate nonzero exponents with absolute value
55398         below 0x1p-79 to +/- 0x1p-79.
55399         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55400         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55401         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55402         nonzero exponents with absolute value below 0x1p-32 to +/-
55403         0x1p-32.
55404         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55405         (__ieee754_powl): Saturate nonzero exponents with absolute value
55406         below 0x1p-79 to +/- 0x1p-79.
55407         * math/libm-test.inc (pow_test): Add more tests.
55409 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55411         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55412         _dl_s390_cap_flags with kernel. Increase string length.
55413         (_dl_s390_platforms): Add z196 and zEC12.
55415 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55417         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55418         Change XOPEN21K to XOPEN2K.
55420 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55422         * string/memmove.c: Use memcpy when possible.
55424 2012-11-06  Andreas Jaeger  <aj@suse.de>
55426         * po/eo.po: Update from translation team.
55428 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55430         [BZ #14793]
55431         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55432         exponent and small x and y exponents, scale x or y up.  Increase
55433         by 2 the exponent used in scaling up.
55434         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55435         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55436         * math/libm-test.inc (fma_test): Add more tests.
55437         (fma_test_towardzero): Likewise.
55438         (fma_test_downward): Likewise.
55439         (fma_test_upward): Likewise.
55441 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55443         [BZ #14805]
55444         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55445         fenv_t *.
55447         [BZ #14801]
55448         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55449         namespace for names of struct fields.
55450         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55451         fenv_t fields.
55452         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55453         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55455 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55457         [BZ #3665]
55458         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55460 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55462         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55463         PTR_DEMANGLE.
55465         [BZ #5246]
55466         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55467         PTR_DEMANGLE.
55469 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55471         [BZ #14797]
55472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55473         definitely overflow as x * y not x * y + z.
55474         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55476         * math/libm-test.inc (fma_test): Add more tests.
55477         (fma_test_towardzero): Likewise.
55478         (fma_test_downward): Likewise.
55479         (fma_test_upward): Likewise.
55481 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55483         [BZ #157]
55485         * include/stub-tag.h: Remove file.
55486         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55487         '#include' of it.
55488         * manual/maint.texi (Porting): Don't reference it.
55489         * Makerules ($(objpfx)stubs): Likewise.
55490         * dirent/closedir.c: Don't include <stub-tag.h>.
55491         * dirent/dirfd.c: Likewise.
55492         * dirent/fdopendir.c: Likewise.
55493         * dirent/getdents.c: Likewise.
55494         * dirent/getdents64.c: Likewise.
55495         * dirent/opendir.c: Likewise.
55496         * dirent/readdir.c: Likewise.
55497         * dirent/readdir64.c: Likewise.
55498         * dirent/readdir64_r.c: Likewise.
55499         * dirent/readdir_r.c: Likewise.
55500         * dirent/rewinddir.c: Likewise.
55501         * dirent/seekdir.c: Likewise.
55502         * dirent/telldir.c: Likewise.
55503         * gmon/profil.c: Likewise.
55504         * grp/setgroups.c: Likewise.
55505         * inet/if_index.c: Likewise.
55506         * io/access.c: Likewise.
55507         * io/chdir.c: Likewise.
55508         * io/chmod.c: Likewise.
55509         * io/chown.c: Likewise.
55510         * io/close.c: Likewise.
55511         * io/dup.c: Likewise.
55512         * io/dup2.c: Likewise.
55513         * io/dup3.c: Likewise.
55514         * io/euidaccess.c: Likewise.
55515         * io/faccessat.c: Likewise.
55516         * io/fchdir.c: Likewise.
55517         * io/fchmod.c: Likewise.
55518         * io/fchmodat.c: Likewise.
55519         * io/fchown.c: Likewise.
55520         * io/fchownat.c: Likewise.
55521         * io/fcntl.c: Likewise.
55522         * io/flock.c: Likewise.
55523         * io/fstatfs.c: Likewise.
55524         * io/fstatfs64.c: Likewise.
55525         * io/fstatvfs.c: Likewise.
55526         * io/fstatvfs64.c: Likewise.
55527         * io/futimens.c: Likewise.
55528         * io/fxstat.c: Likewise.
55529         * io/fxstat64.c: Likewise.
55530         * io/fxstatat.c: Likewise.
55531         * io/fxstatat64.c: Likewise.
55532         * io/getcwd.c: Likewise.
55533         * io/isatty.c: Likewise.
55534         * io/lchmod.c: Likewise.
55535         * io/lchown.c: Likewise.
55536         * io/link.c: Likewise.
55537         * io/linkat.c: Likewise.
55538         * io/lseek.c: Likewise.
55539         * io/lseek64.c: Likewise.
55540         * io/lxstat64.c: Likewise.
55541         * io/mkdir.c: Likewise.
55542         * io/mkdirat.c: Likewise.
55543         * io/mkfifo.c: Likewise.
55544         * io/mkfifoat.c: Likewise.
55545         * io/open.c: Likewise.
55546         * io/open64.c: Likewise.
55547         * io/openat.c: Likewise.
55548         * io/openat64.c: Likewise.
55549         * io/pipe.c: Likewise.
55550         * io/pipe2.c: Likewise.
55551         * io/poll.c: Likewise.
55552         * io/posix_fadvise.c: Likewise.
55553         * io/posix_fadvise64.c: Likewise.
55554         * io/posix_fallocate.c: Likewise.
55555         * io/posix_fallocate64.c: Likewise.
55556         * io/read.c: Likewise.
55557         * io/readlink.c: Likewise.
55558         * io/readlinkat.c: Likewise.
55559         * io/rmdir.c: Likewise.
55560         * io/sendfile.c: Likewise.
55561         * io/sendfile64.c: Likewise.
55562         * io/statfs.c: Likewise.
55563         * io/statfs64.c: Likewise.
55564         * io/statvfs.c: Likewise.
55565         * io/statvfs64.c: Likewise.
55566         * io/symlink.c: Likewise.
55567         * io/symlinkat.c: Likewise.
55568         * io/ttyname.c: Likewise.
55569         * io/ttyname_r.c: Likewise.
55570         * io/umask.c: Likewise.
55571         * io/unlink.c: Likewise.
55572         * io/unlinkat.c: Likewise.
55573         * io/utime.c: Likewise.
55574         * io/utimensat.c: Likewise.
55575         * io/write.c: Likewise.
55576         * io/xmknod.c: Likewise.
55577         * io/xmknodat.c: Likewise.
55578         * io/xstat.c: Likewise.
55579         * io/xstat64.c: Likewise.
55580         * login/getpt.c: Likewise.
55581         * login/grantpt.c: Likewise.
55582         * login/unlockpt.c: Likewise.
55583         * math/e_acoshl.c: Likewise.
55584         * math/e_acosl.c: Likewise.
55585         * math/e_asinl.c: Likewise.
55586         * math/e_atan2l.c: Likewise.
55587         * math/e_atanhl.c: Likewise.
55588         * math/e_coshl.c: Likewise.
55589         * math/e_expl.c: Likewise.
55590         * math/e_fmodl.c: Likewise.
55591         * math/e_gammal_r.c: Likewise.
55592         * math/e_hypotl.c: Likewise.
55593         * math/e_j0l.c: Likewise.
55594         * math/e_j1l.c: Likewise.
55595         * math/e_jnl.c: Likewise.
55596         * math/e_lgammal_r.c: Likewise.
55597         * math/e_log10l.c: Likewise.
55598         * math/e_log2l.c: Likewise.
55599         * math/e_logl.c: Likewise.
55600         * math/e_powl.c: Likewise.
55601         * math/e_rem_pio2l.c: Likewise.
55602         * math/e_sinhl.c: Likewise.
55603         * math/e_sqrtl.c: Likewise.
55604         * math/fclrexcpt.c: Likewise.
55605         * math/fedisblxcpt.c: Likewise.
55606         * math/feenablxcpt.c: Likewise.
55607         * math/fegetenv.c: Likewise.
55608         * math/fegetexcept.c: Likewise.
55609         * math/fegetround.c: Likewise.
55610         * math/feholdexcpt.c: Likewise.
55611         * math/fesetenv.c: Likewise.
55612         * math/fesetround.c: Likewise.
55613         * math/feupdateenv.c: Likewise.
55614         * math/fgetexcptflg.c: Likewise.
55615         * math/fraiseexcpt.c: Likewise.
55616         * math/fsetexcptflg.c: Likewise.
55617         * math/ftestexcept.c: Likewise.
55618         * math/k_cosl.c: Likewise.
55619         * math/k_rem_pio2l.c: Likewise.
55620         * math/k_sinl.c: Likewise.
55621         * math/k_tanl.c: Likewise.
55622         * math/s_asinhl.c: Likewise.
55623         * math/s_atanl.c: Likewise.
55624         * math/s_cbrtl.c: Likewise.
55625         * math/s_erfl.c: Likewise.
55626         * math/s_expm1l.c: Likewise.
55627         * math/s_log1pl.c: Likewise.
55628         * math/s_tanhl.c: Likewise.
55629         * misc/acct.c: Likewise.
55630         * misc/brk.c: Likewise.
55631         * misc/chflags.c: Likewise.
55632         * misc/chroot.c: Likewise.
55633         * misc/fchflags.c: Likewise.
55634         * misc/fgetxattr.c: Likewise.
55635         * misc/flistxattr.c: Likewise.
55636         * misc/fremovexattr.c: Likewise.
55637         * misc/fsetxattr.c: Likewise.
55638         * misc/fsync.c: Likewise.
55639         * misc/ftruncate.c: Likewise.
55640         * misc/futimes.c: Likewise.
55641         * misc/futimesat.c: Likewise.
55642         * misc/getdomain.c: Likewise.
55643         * misc/getdtsz.c: Likewise.
55644         * misc/gethostid.c: Likewise.
55645         * misc/gethostname.c: Likewise.
55646         * misc/getloadavg.c: Likewise.
55647         * misc/getpagesize.c: Likewise.
55648         * misc/getsysstats.c: Likewise.
55649         * misc/getxattr.c: Likewise.
55650         * misc/gtty.c: Likewise.
55651         * misc/ioctl.c: Likewise.
55652         * misc/lgetxattr.c: Likewise.
55653         * misc/listxattr.c: Likewise.
55654         * misc/llistxattr.c: Likewise.
55655         * misc/lremovexattr.c: Likewise.
55656         * misc/lsetxattr.c: Likewise.
55657         * misc/lutimes.c: Likewise.
55658         * misc/madvise.c: Likewise.
55659         * misc/mincore.c: Likewise.
55660         * misc/mlock.c: Likewise.
55661         * misc/mlockall.c: Likewise.
55662         * misc/mmap.c: Likewise.
55663         * misc/mprotect.c: Likewise.
55664         * misc/msync.c: Likewise.
55665         * misc/munlock.c: Likewise.
55666         * misc/munlockall.c: Likewise.
55667         * misc/munmap.c: Likewise.
55668         * misc/preadv.c: Likewise.
55669         * misc/preadv64.c: Likewise.
55670         * misc/ptrace.c: Likewise.
55671         * misc/pwritev.c: Likewise.
55672         * misc/pwritev64.c: Likewise.
55673         * misc/readv.c: Likewise.
55674         * misc/reboot.c: Likewise.
55675         * misc/remap_file_pages.c: Likewise.
55676         * misc/removexattr.c: Likewise.
55677         * misc/revoke.c: Likewise.
55678         * misc/select.c: Likewise.
55679         * misc/setdomain.c: Likewise.
55680         * misc/setegid.c: Likewise.
55681         * misc/seteuid.c: Likewise.
55682         * misc/sethostid.c: Likewise.
55683         * misc/sethostname.c: Likewise.
55684         * misc/setregid.c: Likewise.
55685         * misc/setreuid.c: Likewise.
55686         * misc/setxattr.c: Likewise.
55687         * misc/sstk.c: Likewise.
55688         * misc/stty.c: Likewise.
55689         * misc/swapoff.c: Likewise.
55690         * misc/swapon.c: Likewise.
55691         * misc/sync.c: Likewise.
55692         * misc/syncfs.c: Likewise.
55693         * misc/syscall.c: Likewise.
55694         * misc/truncate.c: Likewise.
55695         * misc/ualarm.c: Likewise.
55696         * misc/usleep.c: Likewise.
55697         * misc/ustat.c: Likewise.
55698         * misc/utimes.c: Likewise.
55699         * misc/vhangup.c: Likewise.
55700         * misc/writev.c: Likewise.
55701         * posix/_exit.c: Likewise.
55702         * posix/alarm.c: Likewise.
55703         * posix/execve.c: Likewise.
55704         * posix/fexecve.c: Likewise.
55705         * posix/fork.c: Likewise.
55706         * posix/fpathconf.c: Likewise.
55707         * posix/getaddrinfo.c: Likewise.
55708         * posix/getegid.c: Likewise.
55709         * posix/geteuid.c: Likewise.
55710         * posix/getgid.c: Likewise.
55711         * posix/getgroups.c: Likewise.
55712         * posix/getlogin.c: Likewise.
55713         * posix/getlogin_r.c: Likewise.
55714         * posix/getpgid.c: Likewise.
55715         * posix/getpid.c: Likewise.
55716         * posix/getppid.c: Likewise.
55717         * posix/getresgid.c: Likewise.
55718         * posix/getresuid.c: Likewise.
55719         * posix/getsid.c: Likewise.
55720         * posix/getuid.c: Likewise.
55721         * posix/glob64.c: Likewise.
55722         * posix/nanosleep.c: Likewise.
55723         * posix/pathconf.c: Likewise.
55724         * posix/pause.c: Likewise.
55725         * posix/posix_madvise.c: Likewise.
55726         * posix/pread.c: Likewise.
55727         * posix/pread64.c: Likewise.
55728         * posix/pwrite.c: Likewise.
55729         * posix/pwrite64.c: Likewise.
55730         * posix/sched_getaffinity.c: Likewise.
55731         * posix/sched_getp.c: Likewise.
55732         * posix/sched_gets.c: Likewise.
55733         * posix/sched_primax.c: Likewise.
55734         * posix/sched_primin.c: Likewise.
55735         * posix/sched_rr_gi.c: Likewise.
55736         * posix/sched_setaffinity.c: Likewise.
55737         * posix/sched_setp.c: Likewise.
55738         * posix/sched_sets.c: Likewise.
55739         * posix/sched_yield.c: Likewise.
55740         * posix/setgid.c: Likewise.
55741         * posix/setlogin.c: Likewise.
55742         * posix/setpgid.c: Likewise.
55743         * posix/setresgid.c: Likewise.
55744         * posix/setresuid.c: Likewise.
55745         * posix/setsid.c: Likewise.
55746         * posix/setuid.c: Likewise.
55747         * posix/sleep.c: Likewise.
55748         * posix/spawni.c: Likewise.
55749         * posix/sysconf.c: Likewise.
55750         * posix/times.c: Likewise.
55751         * posix/wait.c: Likewise.
55752         * posix/wait3.c: Likewise.
55753         * posix/wait4.c: Likewise.
55754         * posix/waitpid.c: Likewise.
55755         * resolv/gai_sigqueue.c: Likewise.
55756         * resource/getpriority.c: Likewise.
55757         * resource/getrlimit.c: Likewise.
55758         * resource/getrusage.c: Likewise.
55759         * resource/nice.c: Likewise.
55760         * resource/setpriority.c: Likewise.
55761         * resource/setrlimit.c: Likewise.
55762         * resource/ulimit.c: Likewise.
55763         * rt/aio_cancel.c: Likewise.
55764         * rt/aio_fsync.c: Likewise.
55765         * rt/aio_read.c: Likewise.
55766         * rt/aio_sigqueue.c: Likewise.
55767         * rt/aio_suspend.c: Likewise.
55768         * rt/aio_write.c: Likewise.
55769         * rt/clock_getres.c: Likewise.
55770         * rt/clock_gettime.c: Likewise.
55771         * rt/clock_nanosleep.c: Likewise.
55772         * rt/clock_settime.c: Likewise.
55773         * rt/lio_listio.c: Likewise.
55774         * rt/mq_close.c: Likewise.
55775         * rt/mq_getattr.c: Likewise.
55776         * rt/mq_notify.c: Likewise.
55777         * rt/mq_open.c: Likewise.
55778         * rt/mq_receive.c: Likewise.
55779         * rt/mq_send.c: Likewise.
55780         * rt/mq_setattr.c: Likewise.
55781         * rt/mq_timedreceive.c: Likewise.
55782         * rt/mq_timedsend.c: Likewise.
55783         * rt/mq_unlink.c: Likewise.
55784         * rt/shm_open.c: Likewise.
55785         * rt/shm_unlink.c: Likewise.
55786         * rt/timer_create.c: Likewise.
55787         * rt/timer_delete.c: Likewise.
55788         * rt/timer_getoverr.c: Likewise.
55789         * rt/timer_gettime.c: Likewise.
55790         * rt/timer_settime.c: Likewise.
55791         * setjmp/__longjmp.c: Likewise.
55792         * setjmp/setjmp.c: Likewise.
55793         * signal/kill.c: Likewise.
55794         * signal/killpg.c: Likewise.
55795         * signal/raise.c: Likewise.
55796         * signal/sigaction.c: Likewise.
55797         * signal/sigaltstack.c: Likewise.
55798         * signal/sigblock.c: Likewise.
55799         * signal/sigignore.c: Likewise.
55800         * signal/sigintr.c: Likewise.
55801         * signal/signal.c: Likewise.
55802         * signal/sigpause.c: Likewise.
55803         * signal/sigpending.c: Likewise.
55804         * signal/sigqueue.c: Likewise.
55805         * signal/sigreturn.c: Likewise.
55806         * signal/sigset.c: Likewise.
55807         * signal/sigsetmask.c: Likewise.
55808         * signal/sigstack.c: Likewise.
55809         * signal/sigsuspend.c: Likewise.
55810         * signal/sigtimedwait.c: Likewise.
55811         * signal/sigvec.c: Likewise.
55812         * signal/sigwait.c: Likewise.
55813         * signal/sigwaitinfo.c: Likewise.
55814         * signal/sysv_signal.c: Likewise.
55815         * socket/accept.c: Likewise.
55816         * socket/accept4.c: Likewise.
55817         * socket/bind.c: Likewise.
55818         * socket/connect.c: Likewise.
55819         * socket/getpeername.c: Likewise.
55820         * socket/getsockname.c: Likewise.
55821         * socket/getsockopt.c: Likewise.
55822         * socket/isfdtype.c: Likewise.
55823         * socket/listen.c: Likewise.
55824         * socket/recv.c: Likewise.
55825         * socket/recvfrom.c: Likewise.
55826         * socket/recvmsg.c: Likewise.
55827         * socket/send.c: Likewise.
55828         * socket/sendmsg.c: Likewise.
55829         * socket/sendto.c: Likewise.
55830         * socket/setsockopt.c: Likewise.
55831         * socket/shutdown.c: Likewise.
55832         * socket/sockatmark.c: Likewise.
55833         * socket/socket.c: Likewise.
55834         * socket/socketpair.c: Likewise.
55835         * stdio-common/ctermid.c: Likewise.
55836         * stdio-common/cuserid.c: Likewise.
55837         * stdio-common/remove.c: Likewise.
55838         * stdio-common/rename.c: Likewise.
55839         * stdio-common/renameat.c: Likewise.
55840         * stdio-common/tempname.c: Likewise.
55841         * stdlib/getcontext.c: Likewise.
55842         * stdlib/makecontext.c: Likewise.
55843         * stdlib/setcontext.c: Likewise.
55844         * stdlib/swapcontext.c: Likewise.
55845         * stdlib/system.c: Likewise.
55846         * streams/fattach.c: Likewise.
55847         * streams/fdetach.c: Likewise.
55848         * streams/getmsg.c: Likewise.
55849         * streams/getpmsg.c: Likewise.
55850         * streams/putmsg.c: Likewise.
55851         * streams/putpmsg.c: Likewise.
55852         * sysdeps/unix/bsd/getpt.c: Likewise.
55853         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
55854         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
55855         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55857         Likewise.
55858         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
55859         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55860         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
55861         * sysvipc/msgctl.c: Likewise.
55862         * sysvipc/msgget.c: Likewise.
55863         * sysvipc/msgrcv.c: Likewise.
55864         * sysvipc/msgsnd.c: Likewise.
55865         * sysvipc/semctl.c: Likewise.
55866         * sysvipc/semget.c: Likewise.
55867         * sysvipc/semop.c: Likewise.
55868         * sysvipc/semtimedop.c: Likewise.
55869         * sysvipc/shmat.c: Likewise.
55870         * sysvipc/shmctl.c: Likewise.
55871         * sysvipc/shmdt.c: Likewise.
55872         * sysvipc/shmget.c: Likewise.
55873         * termios/tcdrain.c: Likewise.
55874         * termios/tcflow.c: Likewise.
55875         * termios/tcflush.c: Likewise.
55876         * termios/tcgetattr.c: Likewise.
55877         * termios/tcgetpgrp.c: Likewise.
55878         * termios/tcsendbrk.c: Likewise.
55879         * termios/tcsetattr.c: Likewise.
55880         * termios/tcsetpgrp.c: Likewise.
55881         * time/adjtime.c: Likewise.
55882         * time/clock.c: Likewise.
55883         * time/getitimer.c: Likewise.
55884         * time/gettimeofday.c: Likewise.
55885         * time/setitimer.c: Likewise.
55886         * time/settimeofday.c: Likewise.
55887         * time/stime.c: Likewise.
55888         * time/time.c: Likewise.
55890 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
55892         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
55893         /usr/old/bin.
55895         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
55896         instead of spaces.
55897         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
55899 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
55901         [BZ #14796]
55902         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
55903         FE_TONEAREST before applying Dekker multiplication and Knuth
55904         addition.  Clear inexact exceptions and check for exact zero
55905         results afterwards.
55906         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55907         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55908         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55909         * math/libm-test.inc (fma_test): Add more tests.
55910         (fma_test_towardzero): Likewise.
55911         (fma_test_downward): Likewise.
55912         (fma_test_upward): Likewise.
55913         * sysdeps/generic/math_private.h (default_libc_fesetround): New
55914         function.
55915         (libc_fesetround): New macro.
55916         (libc_fesetroundf): Likewise.
55917         (libc_fesetroundl): Likewise.
55918         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
55919         function.
55920         (libc_fesetround_387): Likewise.
55921         (libc_fesetroundf): New macro.
55922         (libc_fesetround): Likewise.
55923         (libc_fesetroundl): Likewise.
55924         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
55925         function.
55926         (libc_fesetroundf): New macro.
55927         (libc_fesetround): Likewise.
55928         (libc_fesetroundl): Likewise.
55929         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
55930         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
55931         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
55932         libm_hidden_ver.
55933         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
55934         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
55935         libm_hidden_def.
55936         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
55937         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
55938         libm_hidden_ver.
55939         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
55940         libm_hidden_def.
55942         [BZ #3439]
55943         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55944         integer constant usable in #if and use that to give value to enum
55945         constant.
55946         (FE_DIVBYZERO): Likewise.
55947         (FE_UNDERFLOW): Likewise.
55948         (FE_OVERFLOW): Likewise.
55949         (FE_INVALID): Likewise.
55950         (FE_INVALID_SNAN): Likewise.
55951         (FE_INVALID_ISI): Likewise.
55952         (FE_INVALID_IDI): Likewise.
55953         (FE_INVALID_ZDZ): Likewise.
55954         (FE_INVALID_IMZ): Likewise.
55955         (FE_INVALID_COMPARE): Likewise.
55956         (FE_INVALID_SOFTWARE): Likewise.
55957         (FE_INVALID_SQRT): Likewise.
55958         (FE_INVALID_INTEGER_CONVERSION): Likewise.
55959         (FE_TONEAREST): Likewise.
55960         (FE_TOWARDZERO): Likewise.
55961         (FE_UPWARD): Likewise.
55962         (FE_DOWNWARD): Likewise.
55963         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55964         (FE_DIVBYZERO): Likewise.
55965         (FE_OVERFLOW): Likewise.
55966         (FE_UNDERFLOW): Likewise.
55967         (FE_INEXACT): Likewise.
55968         (FE_TONEAREST): Likewise.
55969         (FE_DOWNWARD): Likewise.
55970         (FE_UPWARD): Likewise.
55971         (FE_TOWARDZERO): Likewise.
55972         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55973         (FE_UNDERFLOW): Likewise.
55974         (FE_OVERFLOW): Likewise.
55975         (FE_DIVBYZERO): Likewise.
55976         (FE_INVALID): Likewise.
55977         (FE_TONEAREST): Likewise.
55978         (FE_TOWARDZERO): Likewise.
55979         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55980         (FE_OVERFLOW): Likewise.
55981         (FE_UNDERFLOW): Likewise.
55982         (FE_DIVBYZERO): Likewise.
55983         (FE_INEXACT): Likewise.
55984         (FE_TONEAREST): Likewise.
55985         (FE_TOWARDZERO): Likewise.
55986         (FE_UPWARD): Likewise.
55987         (FE_DOWNWARD): Likewise.
55988         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55989         (FE_DIVBYZERO): Likewise.
55990         (FE_OVERFLOW): Likewise.
55991         (FE_UNDERFLOW): Likewise.
55992         (FE_INEXACT): Likewise.
55993         (FE_TONEAREST): Likewise.
55994         (FE_DOWNWARD): Likewise.
55995         (FE_UPWARD): Likewise.
55996         (FE_TOWARDZERO): Likewise.
55998 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56000         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56002 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56004         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56005         commands.  Quote $PWD.
56006         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56007         -x" by "export".
56008         (remove_newlines): Remove.
56010 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56012         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56013         * stdlib/stdlib.h (atof): Moved to ...
56014         * include/bits/stdlib-float.h: Here.  New file.
56015         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56016         * stdlib/bits/stdlib-float.h: New file.
56017         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56018         -mno-sse -mno-mmx.
56019         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56020         <xmmintrin.h>.
56022 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56024         * conform/conformtest.pl (@headers): Add fenv.h.
56025         * conform/data/fenv.h-data: New file.
56026         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56027         include of <math/fenv.h>.
56029         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56030         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56031         && !UNIX98].  Enables tests for XOPEN2K8.
56032         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56033         POSIX2008]: Likewise.
56035         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56036         (struct rusage): Do not expect type or its members.
56038         [BZ #3439]
56039         * math/math.h (FP_NAN): Define macro to integer constant usable in
56040         #if and use that to give value to enum constant.
56041         (FP_INFINITE): Likewise.
56042         (FP_ZERO): Likewise.
56043         (FP_SUBNORMAL): Likewise.
56044         (FP_NORMAL): Likewise.
56046 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56048         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56049         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56050         arguments.
56052 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56054         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56055         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56056         autoconf-time if not.
56057         * configure.in: Remove AC_PREREQ.
56059 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56061         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56062         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56063         of the internal implementation.
56065 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56067         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56068         except include of <misc/sys/syslog.h>.
56070 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56073         function returns with a NULL context exit with zero.
56075 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56077         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56079 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56081         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56082         (run_program_cmd): This.
56083         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56084         (tst_langinfo): New variable.  Use it.
56086 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56088         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56089         floating point opcodes.
56091 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56093         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56094         variable.
56096         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56098         * sysdeps/mach/hurd/powerpc: Remove directory.
56099         * sysdeps/mach/powerpc: Likewise.
56101 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56103         * scripts/check-local-headers.sh: Ignore c++ headers.
56105 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56107         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56108         __libc_cleanup_region_start argument.
56110 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56112         [BZ #14784]
56113         [BZ #14785]
56114         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56115         x * y using scaling, not as x * y + z.
56116         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56117         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56118         * math/libm-test.inc (fma_test): Add more tests.
56119         (fma_test_towardzero): Likewise.
56120         (fma_test_downward): Likewise.
56121         (fma_test_upward): Likewise.
56123 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56125         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56127 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56129         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56130         New variable.
56132 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56134         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56136 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56139         Fix sort order.
56140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56141         Likewise.
56143 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56146         Fix the order of the list for glibc 2.17.
56147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56148         Likewise.
56150 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56154 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56156         [BZ #14610]
56157         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56158         for low part of x being zero before using __atanl (y).
56159         * math/libm-test.inc (atan2_test): Add another test.
56161         * manual/install.texi (Configuring and compiling): Document
56162         general use of test-wrapper and test-wrapper-env.
56163         * INSTALL: Regenerated.
56165         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56166         (__fma): Do not extract and scale down low bits on after-rounding
56167         systems when result rounded to normal precision would have normal
56168         exponent.
56169         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56170         (__fmal): Do not extract and scale down low bits on after-rounding
56171         systems when result rounded to normal precision would have normal
56172         exponent.
56173         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56174         (__fmal): Do not extract and scale down low bits on after-rounding
56175         systems when result rounded to normal precision would have normal
56176         exponent.
56177         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56178         macro.
56179         (fma_test): Add more tests.
56180         (fma_test_towardzero): Likewise.
56181         (fma_test_downward): Likewise.
56182         (fma_test_upward): Likewise.
56184 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56186         * sysdeps/i386/tininess.h: Renamed to ...
56187         * sysdeps/x86/tininess.h: This.
56188         * sysdeps/x86_64/tininess.h: Removed.
56190 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56192         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56193         input.  Use $(build-program-cmd).
56194         ($(objpfx)tst-array1-static.out): Likewise.
56195         ($(objpfx)tst-array2.out): Likewise.
56196         ($(objpfx)tst-array3.out): Likewise.
56197         ($(objpfx)tst-array4.out): Likewise.
56198         ($(objpfx)tst-array5.out): Likewise.
56199         ($(objpfx)tst-array5-static.out): Likewise.
56201 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56203         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56204         if defined.
56206         * nss/nsswitch.h (nss_interface_function): Provide new
56207         macro for use with NSS functions.
56208         * grp/initgroups.c: Use new macro.
56209         * nss/getXXbyYY.c: Likewise.
56210         * nss/getXXbyYY_r.c: Likewise.
56211         * nss/getXXent.c: Likewise.
56212         * nss/getXXent_r.c: Likewise.
56213         * sysdeps/posix/getaddrinfo.c: Likewise.
56215 2012-10-30  Andreas Jaeger  <aj@suse.de>
56217         * po/ru.po: Update Russion translation from translation project.
56219 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56221         [BZ #14152]
56222         [BZ #14783]
56223         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56224         result and shift together with sticky bit instead of replicating
56225         round-to-nearest rounding.
56226         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56227         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56228         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56229         missing underflow exceptions.
56230         (fma_test_towardzero): Add more tests.
56231         (fma_test_downward): Likewise.
56232         (fma_test_upward): Likewise.
56234         [BZ #14047]
56235         * sysdeps/generic/tininess.h: New file.
56236         * sysdeps/i386/tininess.h: Likewise.
56237         * sysdeps/sh/tininess.h: Likewise.
56238         * sysdeps/x86_64/tininess.h: Likewise.
56239         * stdlib/tst-strtod-underflow.c: Likewise.
56240         * stdlib/tst-tininess.c: Likewise.
56241         * stdlib/strtod_l.c: Include <tininess.h>.
56242         (round_and_return): Do not set errno for exact underflow cases.
56243         Force an underflow exception when setting errno for underflow.
56244         Determine underflow based on rounding to normal precision if
56245         TININESS_AFTER_ROUNDING.
56246         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56247         ERANGE for exact underflow cases.
56248         * stdlib/Makefile (tests): Add tst-tininess and
56249         tst-strtod-underflow.
56250         ($(objpfx)tst-tininess): Use $(link-libm).
56251         ($(objpfx)tst-strtod-underflow): Likewise.
56253 2012-10-30  Andreas Jaeger  <aj@suse.de>
56255         [BZ#14767]
56256         * elf/Makefile (tests): Remove conditional for have-initfini-array
56257         since this is now always required and the variable does not exist
56258         anymore.
56259         (tests-static): Likewise.
56260         (modules-names): Likewise.
56262         * po/eo.po: Add Esperanto translation from translation project.
56264         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56265         merged with constructor/destructor.
56266         (init_array): Likewise.
56267         * elf/tst-array2dep.c (fini_array): Likewise.
56268         (init_array): Likewise.
56270 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56272         * manual/message.texi: Delete @cartouche tags.
56274 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56276         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56277         EOPNOTSUPP.
56278         * sysdeps/mach/hurd/fsync.c: Likewise.
56280         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56281         [_POSIX_REALTIME_SIGNALS]: Change condition to
56282         [_POSIX_REALTIME_SIGNALS > 0].
56284 2012-10-27  Andreas Jaeger  <aj@suse.de>
56286         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56287         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56288         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56289         [__WORDSIZE != 64]: Likewise.
56291 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56293         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56294         *  iconvdata/tst-tables.sh: Likewise.
56296 2012-10-25  David S. Miller  <davem@davemloft.net>
56298         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56299         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56300         of strtoull.
56302         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56303         ifunc-impl-list.c
56304         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56305         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56306         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56307         file.
56309 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56311         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56312         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56313         __getdirentries.
56315 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56316             Jim Blandy  <jimb@codesourcery.com>
56318         * scripts/cross-test-ssh.sh: New file.
56319         * manual/install.texi (Configuring and compiling): Document use of
56320         cross-test-ssh.sh.
56321         * INSTALL: Regenerated.
56323 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
56325         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56326         EOPNOTSUPP.
56328 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56330         * Makeconfig (run-program-prefix): Fix comment.
56332 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56333             Jim Blandy  <jimb@codesourcery.com>
56335         * Makeconfig (test-wrapper): New variable,
56336         (test-wrapper-env): Likewise.
56337         [$(cross-compiling) = yes && $(test-wrapper) != ""]
56338         (run-built-tests): Define to yes.
56339         (run-program-prefix): Use $(test-wrapper).
56340         (built-program-cmd): Likewise.
56341         * Rules (make-test-out): Use $(test-wrapper-env) and
56342         $(host-built-program-cmd).
56343         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56344         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56345         tst-pathopt.sh.
56346         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56347         $(test-wrapper-env) to tst-rtld-load-self.sh.
56348         ($(objpfx)order2.out): Use $(test-wrapper).
56349         ($(objpfx)tst-initorder.out): Likewise.
56350         ($(objpfx)tst-initorder2.out): Likewise.
56351         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56352         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56353         (test_wrapper_env): New variable.  Use it to run ld.so.
56354         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56355         Use it to run ld.so.
56356         (test_wrapper_env): Likewise.
56357         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56358         $(test-wrapper) to run-iconv-test.sh.
56359         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56360         (ICONV): Use $test_wrapper.
56361         * posix/Makefile ($(objpfx)globtest.out): Pass
56362         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56363         globtest.sh, not $(run-program-prefix).
56364         * posix/globtest.sh (run_via_rtld_prefix): New variable.
56365         (test_wrapper): Likewise.
56366         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
56367         set together with run_via_rtld_prefix.
56368         (run_program_prefix): Define in terms of test_wrapper and
56369         run_via_rtld_prefix.
56371 2012-10-24  Roland McGrath  <roland@hack.frob.com>
56373         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56374         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56375         Targets removed.
56377         [BZ #14743]
56378         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56379         Declare __clock_getres, __clock_gettime, __clock_settime,
56380         __clock_nanosleep, and __clock_getcpuclockid.
56381         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56382         Remove librt_hidden_def (clock_gettime).
56383         * sysdeps/unix/clock_gettime.c: Likewise.
56384         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56385         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56386         * rt/clock_getres.c: Define __clock_getres as an alias.
56387         * sysdeps/posix/clock_getres.c: Likewise.
56388         * rt/clock_settime.c: Define __clock_settime as an alias.
56389         * sysdeps/unix/clock_settime.c: Likewise.
56390         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56391         * sysdeps/unix/clock_nanosleep.c: Likewise.
56392         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56393         * rt/clock-compat.c: New file.
56394         * rt/Makefile (librt-routines): Add clock-compat and move
56395         $(clock-routines) to ...
56396         (routines): ... here, new variable.
56397         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56398         Don't add get_clockfreq here.
56399         * rt/Versions (libc: GLIBC_2.17): New version set.
56400         Add clock_* symbols here.
56401         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56402         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56403         (GLIBC_2.17): Add clock_* symbols.
56404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56406         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56408         Likewise.
56409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56410         Likewise.
56411         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56415         * NEWS: Mention the move.
56417         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56418         Use __open, __read, __close rather than their public counterparts.
56419         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56420         (__get_clockfreq_via_cpuinfo): Likewise.
56421         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56422         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56424         * config.h.in (HAVE_IFUNC): New #undef.
56425         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56426         was successful.
56427         * configure: Regenerated.
56429 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56431         * configure.in: Move READELF check to start of file.
56432         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56433         libc_cv_asm_gnu_indirect_function in the process.
56434         * configure: Regenerated.
56436 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56438         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56439         send the output to /dev/null.
56440         (libc_cv_cc_with_libunwind): Likewise.
56441         (libc_cv_as_noexecstack): Likewise.
56442         * configure: Regenerate.
56444 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56446         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56448         * posix/globtest.sh (TMPDIR): Do not set.
56449         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56450         (testout): Likewise.
56452 2012-10-24  Andreas Jaeger  <aj@suse.de>
56454         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56455         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56456         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56457         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56458         posix_fadvise64, posix_fallocate64.
56460         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56461         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56462         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56463         Likewise.
56464         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56465         Likewise.
56466         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56468         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56469         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56470         <bits/fcntl-linux.h>.
56471         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56473         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56474         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56475         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56476         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56477         [__WORDSIZE != 64]: Likewise.
56479 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56481         * Makeconfig (run-built-tests): New variable.
56482         * Rules [$(cross-compiling) = yes]: Change condition to
56483         [$(run-built-tests) = no].
56484         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56485         to [$(run-built-tests) = yes].
56486         * elf/Makefile [$(cross-compiling) = no]: Likewise.
56487         * grp/Makefile [$(cross-compiling) = no]: Likewise.
56488         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56489         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56490         * intl/Makefile [$(cross-compiling) = no]: Likewise.
56491         * io/Makefile [$(cross-compiling) = no]: Likewise.
56492         * libio/Makefile [$(cross-compiling) = no]: Likewise.
56493         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56494         * misc/Makefile [$(cross-compiling) = no]: Likewise.
56495         * posix/Makefile [$(cross-compiling) = no]: Likewise.
56496         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56497         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56498         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56499         * string/Makefile [$(cross-compiling) = no]: Likewise.
56501         * posix/Makefile ($(objpfx)globtest.out): Pass
56502         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56503         $(rtld-installed-name).
56504         * posix/globtest.sh (elf_objpfx): Remove variable.
56505         (rtld_installed_name): Likewise.
56506         (library_path): Likewise.
56507         (run_program_prefix): New variable.  Use for running globtest
56508         binary.
56510 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
56511             Joseph Myers  <joseph@codesourcery.com>
56513         * Makeconfig (host-built-program-cmd): New variable.
56514         * elf/Makefile (tst-stackguard1-ARGS): Use
56515         $(host-built-program-cmd).
56516         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56517         (tst-spawn-ARGS): Likewise.
56518         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56520 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56521             Jim Blandy  <jimb@codesourcery.com>
56523         * Makeconfig (run-via-rtld-prefix): New variable.
56524         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56525         (built-program-cmd): Likewise.
56527 2012-10-22  Andreas Jaeger  <aj@suse.de>
56529         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56530         __O_RSYNC if it exists, otherwise to O_SYNC.
56532 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
56533             Joseph Myers  <joseph@codesourcery.com>
56535         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56536         /dev/null.
56537         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56538         from /dev/null
56539         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56540         /dev/null.
56542 2012-10-22  Andreas Jaeger  <aj@suse.de>
56544         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56545         Define always.
56546         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56548         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56549         bits/fcntl-linux.h.
56551         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56552         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56554         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56555         to __O_LARGEFILE.
56556         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56557         to __O_LARGEFILE.
56559 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
56560             Joseph Myers  <joseph@codesourcery.com>
56562         * config.make.in (NM): New variable.
56564 2012-10-21  Andreas Jaeger  <aj@suse.de>
56566         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56567         definitions and declarations that are provided by
56568         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56570 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56572         [BZ #14683]
56573         * elf/Makefile (tests-static): Add tst-leaks1-static.
56574         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56575         ($(objpfx)tst-leaks1-static): New rule.
56576         ($(objpfx)tst-leaks1-static-mem): Likewise.
56577         (tst-leaks1-static-ENV): New macro.
56578         * elf/dl-open.c (dl_open_worker): Check the main application
56579         only if SHARED is defined.
56580         * elf/tst-leaks1-static.c: New file.
56582 2012-10-20  Andreas Jaeger  <aj@suse.de>
56584         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56585         generic values for Linux.
56586         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56587         and declarations that are provided by <bits/fcntl-linux.h> and
56588         include <bits/fcntl-linux.h>.
56589         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56590         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56592 2012-10-20  Roland McGrath  <roland@hack.frob.com>
56594         * io/fcntl.h: Move include of <bits/types.h> to the top and
56595         include it unconditionally.
56597 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56599         * wcsmbs/Makefile (tests-ifunc): New variable.
56600         (tests): Add $(tests-ifunc).
56601         * wcsmbs/test-wcschr-ifunc.c: New file.
56602         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56603         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56604         * wcsmbs/test-wcslen-ifunc.c: Likewise.
56605         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56606         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56608         * string/Makefile (tests-ifunc): New variable.
56609         (tests): Add $(tests-ifunc).
56610         * string/test-memccpy.c (TEST_NAME): New macro.
56611         * string/test-memchr.c (TEST_NAME): Likewise.
56612         * string/test-memcmp.c (TEST_NAME): Likewise.
56613         * string/test-memcpy.c (TEST_NAME): Likewise.
56614         * string/test-memmem.c (TEST_NAME): Likewise.
56615         * string/test-memmove.c (TEST_NAME): Likewise.
56616         * string/test-memset.c (TEST_NAME): Likewise.
56617         * string/test-rawmemchr.c (TEST_NAME): Likewise.
56618         * string/test-stpcpy.c (TEST_NAME): Likewise.
56619         * string/test-stpncpy.c (TEST_NAME): Likewise.
56620         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56621         * string/test-strcasestr.c (TEST_NAME): Likewise.
56622         * string/test-strcat.c (TEST_NAME): Likewise.
56623         * string/test-strchr.c (TEST_NAME): Likewise.
56624         * string/test-strcmp.c(TEST_NAME): Likewise.
56625         * string/test-strcpy.c (TEST_NAME): Likewise.
56626         * string/test-strcspn.c (TEST_NAME): Likewise.
56627         * string/test-strlen.c (TEST_NAME): Likewise.
56628         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56629         * string/test-strncmp.c (TEST_NAME): Likewise.
56630         * string/test-strncpy.c (TEST_NAME): Likewise.
56631         * string/test-strnlen.c (TEST_NAME): Likewise.
56632         * string/test-strpbrk.c (TEST_NAME): Likewise.
56633         * string/test-strrchr.c (TEST_NAME): Likewise.
56634         * string/test-strspn.c (TEST_NAME): Likewise.
56635         * string/test-strstr.c (TEST_NAME): Likewise.
56636         * string/test-bcopy-ifunc.c: New file.
56637         * string/test-bzero-ifunc.c: Likewise.
56638         * string/test-memccpy-ifunc.c: Likewise.
56639         * string/test-memchr-ifunc.c: Likewise.
56640         * string/test-memcmp-ifunc.c: Likewise.
56641         * string/test-memcpy-ifunc.c: Likewise.
56642         * string/test-memmem-ifunc.c: Likewise.
56643         * string/test-memmove-ifunc.c: Likewise.
56644         * string/test-mempcpy-ifunc.c: Likewise.
56645         * string/test-memset-ifunc.c: Likewise.
56646         * string/test-rawmemchr-ifunc.c: Likewise.
56647         * string/test-stpcpy-ifunc.c: Likewise.
56648         * string/test-stpncpy-ifunc.c: Likewise.
56649         * string/test-strcasecmp-ifunc.c: Likewise.
56650         * string/test-strcasestr-ifunc.c: Likewise.
56651         * string/test-strcat-ifunc.c: Likewise.
56652         * string/test-strchr-ifunc.c: Likewise.
56653         * string/test-strchrnul-ifunc.c: Likewise.
56654         * string/test-strcmp-ifunc.c: Likewise.
56655         * string/test-strcpy-ifunc.c: Likewise.
56656         * string/test-strcspn-ifunc.c: Likewise.
56657         * string/test-strlen-ifunc.c: Likewise.
56658         * string/test-strncasecmp-ifunc.c: Likewise.
56659         * string/test-strncat-ifunc.c: Likewise.
56660         * string/test-strncmp-ifunc.c: Likewise.
56661         * string/test-strncpy-ifunc.c: Likewise.
56662         * string/test-strnlen-ifunc.c: Likewise.
56663         * string/test-strpbrk-ifunc.c: Likewise.
56664         * string/test-strrchr-ifunc.c: Likewise.
56665         * string/test-strspn-ifunc.c: Likewise.
56666         * string/test-strstr-ifunc.c: Likewise.
56668         * debug/Makefile (tests-ifunc): New variable.
56669         (tests): Add $(tests-ifunc).
56670         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56671         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56672         * debug/test-stpcpy_chk-ifunc.c: New file.
56673         * debug/test-strcpy_chk-ifunc.c: Likewise.
56675 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56677         [BZ #13601]
56678         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56679         header is not read in.
56681 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
56683         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
56684         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
56685         directly.  Pass built executable to script as
56686         $(built-program-cmd).
56687         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
56688         $testprogram without using LD_LIBRARY_PATH and $ldso.
56690         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56691         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56692         $(rtld-installed-name).
56693         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56694         (rtld_installed_name): Likewise.
56695         (library_path): Likewise.
56696         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
56697         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56698         $(run-program-prefix) to tst-tables.sh.
56699         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
56700         it to run tst-table-from and tst-table-to.
56701         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56702         Pass it to tst-table.sh.
56703         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56704         $(run-program-prefix) to tst-gettext.sh.
56705         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56706         tst-translit.sh.
56707         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56708         tst-gettext2.sh.
56709         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
56710         to run tst-gettext.
56711         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
56712         to run tst-gettext2.
56713         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
56714         to run tst-translit.
56715         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56716         $(run-program-prefix) to tst-mtrace.sh.
56717         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
56718         to run tst-mtrace.
56719         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56720         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56721         $(rtld-installed-name).
56722         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56723         (rtld_installed_name): Likewise.
56724         (run_program_prefix): New variable.  Use it to run wordexp-test.
56726         * Makeconfig (ARCH): Remove all definitions.
56727         (machine): Likewise.
56728         [ARCH]: Remove conditional code.
56729         [!objdir]: Give error.
56730         [!objdir] (objpfx): Remove.
56731         [!objdir] (common-objpfx): Likewise.
56732         [!objdir] (common-objdir): Likewise.
56733         * configure.in (config_makefile): Remove.  Hardcode Makefile in
56734         AC_CONFIG_FILES call.
56735         * configure: Regenerated.
56737         [BZ #13888]
56738         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
56739         or TMPDIR.
56740         (testout): Likewise.
56742         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
56743         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
56744         $(rtld-installed-name).
56745         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
56746         (rtld_installed_name): Likwise.
56747         (runit): Remove function.
56748         (run_getconf): New variable,  Use it for running getconf binary.
56750 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
56752         [BZ #14716]
56753         * string/test-memmem.c (check_result): New function.
56754         (do_one_test): Use it.
56755         (check1): New function.
56756         (test_main): Use it.
56758 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
56760         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
56762 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
56764         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
56765         (_G_LSEEK64): Likewise.
56766         (_G_MMAP64): Likewise.
56767         (_G_FSTAT64): Likewise.
56768         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
56769         (_G_LSEEK64): Likewise.
56770         (_G_MMAP64): Likewise.
56771         (_G_FSTAT64): Likewise.
56772         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
56773         unconditional.  Call __mmap64 directly.
56774         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
56775         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
56776         __lseek64 directly.
56777         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
56778         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
56779         __mmap64 directly.
56780         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
56781         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56782         __lseek64 directly.
56783         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
56784         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56785         __lseek64 directly.
56786         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
56787         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
56788         __lseek64 directly.
56789         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
56790         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
56791         __fxstat64 directly.
56792         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
56793         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
56794         unconditional.
56795         (freopen64) [!_G_OPEN64]: Remove conditional code.
56796         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
56797         unconditional.
56798         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
56799         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
56800         unconditional.
56801         (ftello64) [!_G_LSEEK64]: Remove conditional code.
56802         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
56803         unconditional.
56804         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56805         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
56806         unconditional.
56807         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
56808         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
56809         unconditional.
56810         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56811         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
56812         unconditional.
56813         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56814         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
56815         unconditional.
56816         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56818 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56820         [BZ #12140]
56821         * manual/memory.texi (Malloc Tunable Parameters): Add note
56822         about free list pointers overwriting some perturb bytes.
56823         Wording suggested by Roland McGrath.
56825 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
56827         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
56828         (lgamma_test): Likewise.
56829         (tgamma_test): Likewise.
56831 2012-10-16  Florian Weimer  <fweimer@redhat.com>
56833         [BZ #14700]
56834         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
56835         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
56837 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
56839         * NEWS: Mention BZ #14716.
56840         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
56841         when removing AVAILABLE1_USES_J macro.
56843 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
56845         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
56846         (__bswap_64): __uint64_t for unsigned 64-bit int.
56848 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
56850         * include/string.h (memmem): Declare libc hidden alias.
56851         * string/memmem.c (memmem): Define libc hidden alias.
56852         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
56853         __read, __close instead of open, read, close.
56855 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
56857         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
56858         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
56859         global and hidden.
56860         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
56861         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
56862         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
56863         Likewise.
56864         (__rawmemchr_sse2): Likewise.
56865         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
56866         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
56867         (__strchr_sse2): Likewise.
56868         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
56869         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
56870         (__strcasecmp_sse2): Likewise.
56871         (__strncasecmp_sse2): Likewise.
56872         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
56873         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
56874         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
56875         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
56876         (__strrchr_sse2): Likewise.
56877         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
56878         ifunc-impl-list.c.
56879         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
56880         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
56881         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
56882         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56883         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
56884         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
56885         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56886         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56887         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
56888         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
56889         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
56890         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
56891         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
56892         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
56893         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
56894         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56895         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
56896         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
56897         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
56898         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
56899         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
56900         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
56901         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
56902         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56903         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
56904         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56905         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
56906         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56907         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
56908         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
56910         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
56911         global and hidden.
56912         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
56913         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
56914         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
56915         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
56916         Likewise.
56917         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
56918         Likewise.
56919         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
56920         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
56921         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
56922         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
56923         ifunc-impl-list.c.
56924         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56925         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56926         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56927         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56928         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56929         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56930         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56931         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56932         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56933         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56934         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56935         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56936         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56937         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
56938         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
56939         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56940         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
56941         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
56942         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56943         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56944         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56945         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56946         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56947         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56948         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56949         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56950         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56951         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56952         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56953         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56954         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56955         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56956         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56957         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56958         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56959         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56960         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56961         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56962         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56963         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56964         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56966         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56967         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56968         * include/ifunc-impl-list.h: New file.
56969         * misc/ifunc-impl-list.c: Likewise.
56970         * misc/Makefile (routines): Add ifunc-impl-list.
56971         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56972         * string/test-string.h: Include <ifunc-impl-list.h>.
56973         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56974         TEST_NAME]: New variables.
56975         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56976         are defined.
56977         (test_init): Call __libc_ifunc_impl_list to initialize
56978         func_list if TEST_IFUNC and TEST_NAME are defined.
56980         * string/Makefile (strop-tests): Add bcopy and bzero.
56981         * string/test-bcopy.c: New file.
56982         * string/test-bzero.c: Likewise.
56983         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56984         defined.
56985         * string/test-memset.c: Support bzero test if TEST_BZERO is
56986         defined.
56987         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56988         __libc_memmove.
56989         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56990         __libc_memset.
56991         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56992         of memset.
56994 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
56996         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56997         * configure: Regenerated.
56999         * Makeconfig (+link-static-before-libc): Don't include
57000         $(link-static-libc).
57002         * libio/libio.h (_IO_pos_t): Remove.
57004 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57006         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57007         McGrath.
57009 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57011         * crypt/crypt-entry.c: Include fips-private.h.
57012         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57013         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57014         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57015         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57017 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57019         * crypt/crypt-private.h: Include stdbool.h.
57020         (_ufc_setup_salt_r): Return bool.
57021         * crypt/crypt-entry.c: Include errno.h.
57022         (__crypt_r): Return NULL with EINVAL for bad salt.
57023         * crypt/crypt_util.c (bad_for_salt): New.
57024         (_ufc_setup_salt_r): Check that salt is long enough and within
57025         the specified alphabet.
57026         * crypt/badsalttest.c: New file.
57027         * crypt/Makefile (tests): Add it.
57028         ($(objpfx)badsalttest): New.
57030 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57032         * NEWS: Add entry for BZ #14602.
57034 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57036         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57037         type-generic.
57038         * math/libm-test.inc: Update comment listing what functions and
57039         macros are tested.
57040         (isgreater_test): New function.
57041         (isgreaterequal_test): Likewise.
57042         (isless_test): Likewise.
57043         (islessequal_test): Likewise.
57044         (islessgreater_test): Likewise.
57045         (isunordered_test): Likewise.
57046         (main): Call the new functions.
57048 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57050         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57051         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57052         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57053         * sysdeps/i386/configure: Regenerated.
57054         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57055         * sysdeps/mach/configure: Regenerated.
57056         * sysdeps/mach/hurd/configure: Regenerated.
57057         * sysdeps/powerpc/configure: Regenerated.
57058         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57059         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57060         * sysdeps/s390/s390-32/configure: Regenerated.
57061         * sysdeps/s390/s390-64/configure: Regenerated.
57062         * sysdeps/sh/configure: Regenerated.
57063         * sysdeps/sparc/configure: Regenerated.
57064         * sysdeps/unix/sysv/linux/configure: Regenerated.
57065         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57066         * sysdeps/x86_64/configure: Regenerated.
57068         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57069         defined.  Don't check if MAP is NULL.
57071 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57073         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57074         (_G_stat64): Likewise.
57075         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57076         (_G_stat64): Likewise.
57077         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57078         instead of struct _G_stat64.
57079         * libio/fileops.c (mmap_remap_check): Likewise.
57080         (decide_maybe_mmap): Likewise.
57081         (_IO_new_file_seekoff): Likewise.
57082         (_IO_file_stat): Likewise.
57083         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57084         _G_off64_t.
57085         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57086         instead of struct _G_stat64.
57087         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57089 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57091         [BZ #14602]
57092         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57093         Replace with ...
57094         (CHECK_EOL): New macro.
57095         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57096         CHECK_EOL.
57097         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57098         Replace with CHECK_EOL.
57099         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57100         Replace with CHECK_EOL.
57102 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57104         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57105         type-generic.
57106         * math/libm-test.inc: Update comment listing what functions and
57107         macros are tested.
57108         (finite_test): New function.
57109         (isinf_test): Likewise.
57110         (isnan_test): Likewise.
57111         (fpclassify_test): Test subnormal input.
57112         (isfinite_test): Likewise.
57113         (isnormal_test): Likewise.
57114         (main): Call the new functions.
57116 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57118         [BZ #14660]
57119         * Makerules (%.dynsym): Force C locale when running
57120         $(OBJDUMP) --dynamic-syms.
57122 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57124         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57125         <stdint.h>.
57127 2012-10-06  David S. Miller  <davem@davemloft.net>
57129         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57130         upper 32-bits of the length value in %o2 since we use branch-on-register
57131         tests which consider the entire 64-bit register.
57133 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57135         * string/test-strstr.c (check2): Add a test for page boundary.
57137 2012-10-05  David S. Miller  <davem@davemloft.net>
57139         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57140         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57141         file.
57142         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57143         sysdep_routines.
57144         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57145         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57146         and bzero when HWCAP_SPARC_CRYPTO is present.
57148 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57150         [BZ #14602]
57151         * string/test-strstr.c (check2): New function.
57152         (test_main): Call check2.
57154         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57155         and bug-strchr1.
57156         * string/bug-strcasestr1.c (do_test): Moved to ...
57157         * string/test-strcasestr.c (check1): Here.  New function.
57158         (do_one_test): Break out result checking code into ...
57159         (check_result): This.  New function.
57160         (do_one_test): Call check_result.
57161         (test_main): Call check1.
57162         * string/bug-strchr1.c (do_test): Moved to ...
57163         * string/test-strchr.c (check1): Here.  New function.
57164         (do_one_test): Break out result checking code into ...
57165         (check_result): This.  New function.
57166         (do_one_test): Call check_result.
57167         (test_main): Call check1.
57168         * string/bug-strstr1.c (main): Moved to ...
57169         * string/test-strstr.c (check1): Here.  New function.
57170         (do_one_test): Break out result checking code into ...
57171         (check_result): This.  New function.
57172         (do_one_test): Call check_result.
57173         (test_main): Call check1.
57174         * string/bug-strcasestr1.c: Removed.
57175         * string/bug-strchr1.c: Likewise.
57176         * string/bug-strstr1.c: Likewise.
57178         * elf/Makefile (dl-routines): Add hwcaps.
57179         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57180         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57181         (_dl_important_hwcaps): Moved to ...
57182         * elf/dl-hwcaps.c: Here.  New file.
57183         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57185         [BZ #14557]
57186         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57187         if IS_IN_rtld isn't defined.
57189         * elf/dl-support.c (_dl_sysinfo_map): New.
57190         Include "get-dynamic-info.h" and "setup-vdso.h".
57191         (_dl_non_dynamic_init): Call setup_vdso.
57192         * elf/dynamic-link.h: Don't include <assert.h>.
57193         (elf_get_dynamic_info): Moved to ...
57194         * elf/get-dynamic-info.h: Here.  New file.
57195         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57196         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57197         * elf/setup-vdso.h: Here.  New file.
57198         * elf/rtld.c: Include "setup-vdso.h".
57199         (dl_main): Call setup_vdso.
57201 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57203         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57204         creal in comment listing functions tested.  List finite, isinf,
57205         isnan, isless, islessequal, isgreater, isgreaterequal,
57206         islessgreater, isunordered, lgamma_r and pow10 as functions and
57207         macros not tested.  Mention which functions not tested are aliases
57208         for other functions.  Fix typo.  Note that signs of NaNs are not
57209         tested.
57211         * scripts/config.guess: Update from config.git.
57212         * scripts/config.sub: Likewise.
57214 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57216         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57217         * misc/madvise.c (madvise): Renamed to __madvise.
57218         Make madvise a weak alias.
57219         * include/sys/mman.h: Declare __madvise.
57220         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57221         * sysdeps/unix/syscalls.list
57222         (madvise): Make __madvise the strong name, and madvise a weak alias.
57223         * sysdeps/unix/sysv/linux/syscalls.list
57224         (madvise, mmap): Remove redundant entries.
57225         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57226         * malloc/malloc.c (mtrim): Likewise.
57227         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57229 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57231         * sysdeps/mach/hurd/dl-cache.c: File removed.
57232         * config.h.in (USE_LDCONFIG): New #undef.
57233         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57234         * configure: Regenerated.
57235         * elf/Makefile (dl-routines): Add dl-cache only under
57236         [$(use-ldconfig) = yes].
57237         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57238         cache on [USE_LDCONFIG].
57239         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57240         [USE_LDCONFIG].
57241         * elf/rtld.c (dl_main): Likewise.
57243 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57245         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57246         _SC_LEVEL4_CACHE_LINESIZE.
57248 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57250         * sysdeps/unix/bsd/confstr.h: File removed.
57252 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57254         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57255         sys/sdt-config.h.
57257 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57259         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57260         Make 'mapoff' field ElfW(Off) rather than off_t.
57262 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57264         * nscd/Makefile: Remove nscd-cflags and all its users.
57265         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57266         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57268         [BZ #10631]
57269         * malloc.c (malloc_printerr): Clarify error message.
57271 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57273         [BZ #14648]
57274         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57275         Set bit_FMA_Usable if FMA is supported.
57276         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57277         macro.
57278         (bit_FMA4_Usable): Updated.
57279         (index_FMA_Usable): New macro.
57280         (CPUID_FMA): Likewise.
57281         (HAS_FMA): Defined with bit_FMA_Usable.
57283 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57285         * bits/types.h (__swblk_t): Type removed.
57286         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57287         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57288         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57289         (__SWBLK_T_TYPE): Likewise.
57290         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57291         (__SWBLK_T_TYPE): Likewise.
57292         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57293         (__SWBLK_T_TYPE): Likewise.
57294         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57295         (__SWBLK_T_TYPE): Likewise.
57297 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57298             Honza Horak <hhorak@redhat.com>
57300         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57301         (xdr_mapname): Use YPMAXMAP as maxsize.
57302         (xdr_peername): Use YPMAXPEER as maxsize.
57303         (xdr_keydat): Use YPAXRECORD as maxsize.
57304         (xdr_valdat): Use YPMAXRECORD as maxsize.
57306 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57308         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57310         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57311         * csu/init-first.c: ... here.
57312         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57313         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57314         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57315         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57316         * sysdeps/i386/init-first.c: File removed.
57317         * sysdeps/sh/init-first.c: File removed.
57319 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
57321         [BZ #14645]
57322         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57323         if x * y might underflow to zero and z is zero.
57324         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57325         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57326         * math/libm-test.inc (min_subnorm_value): New variable.
57327         (fma_test): Add more tests.
57328         (fma_test_towardzero): Likewise.
57329         (fma_test_downward): Likewise.
57330         (fma_test_upward): Likewise.
57331         (initialize): Set min_subnorm_value.
57333 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
57335         [BZ #14638]
57336         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57337         0 + 0.
57338         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57339         mode for addition resulting in exact zero.
57340         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57341         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57342         exact 0 + 0.
57343         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57344         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57345         * math/libm-test.inc (fma_test): Add more tests.
57346         (fma_test_towardzero): New function.
57347         (fma_test_downward): Likewise.
57348         (fma_test_upward): Likewise.
57349         (main): Call the new functions.
57351 2012-09-28  David S. Miller  <davem@davemloft.net>
57353         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57355 2012-09-28  Roland McGrath  <roland@hack.frob.com>
57357         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57358         instead of SIGALRM.
57360         * sysdeps/gnu/_G_config.h: Moved to ...
57361         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57362         * sysdeps/mach/hurd/_G_config.h: Moved to ...
57363         * sysdeps/generic/_G_config.h: ... here.
57365         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
57367         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57369         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57370         Conditionalize target on [libnss_test1.so-version].
57372         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57374         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57375         (elfobjdir): Move out of conditionals.
57377         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57378         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57379         (__nss_lookup_function): Conditionalize label remove_from_tree on
57380         [!DO_STATIC_NSS || SHARED], matching its only use.
57382 2012-09-28  David S. Miller  <davem@davemloft.net>
57384         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57385         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57386         file.
57387         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57388         sysdep_routines.
57389         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57390         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57391         when HWCAP_SPARC_CRYPTO is present.
57393 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57395         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57397 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57399         [BZ #6530]
57400         * stdio-common/vfprintf.c (process_string_arg): Revert
57401         2000-07-22 change.
57403 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57405         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57406         for testcase.
57407         * stdio-common/tst-sprintf.c: Include <locale.h>
57408         (main): Test sprintf's handling of incomplete multibyte
57409         characters.
57411 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57413         * elf/dl-runtime.c (VERSYMIDX): Removed.
57414         * elf/dl-version.c (VERSYMIDX): Likewise.
57415         * elf/do-rel.h (VERSYMIDX): Likewise.
57416         (VALIDX): Likewise.
57417         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57418         * elf/rtld.c (VALIDX): Likewise.
57419         (ADDRIDX): Likewise.
57420         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57421         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57422         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57423         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57424         (VALIDX): Likewise.
57425         (ADDRIDX): Likewise.
57427 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57429         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57431 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57433         [BZ #11438]
57434         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57435         to global scope.
57436         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57437         addresses are in the same scope as 192.0.2/24.
57438         * posix/gai.conf: Document new scope table defaults.
57440 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57442         [BZ #5298]
57443         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57444         for ftell.  Compute offsets from write pointers instead.
57445         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57447 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57449         [BZ #14543]
57450         * libio/Makefile (tests): New test case tst-fseek.
57451         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57452         combination works in wide mode.
57453         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57454         state when the external buffer state changes.
57456 2012-09-27  David S. Miller  <davem@davemloft.net>
57458         [BZ #14376]
57459         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57460         pass reloc->r_addend in as the 'high' argument to
57461         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57465 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57467         * rt/tst-aio2.c: Include <pthread.h>.
57468         * rt/tst-aio3.c: Likewise.
57470 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57472         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57474 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57476         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57477         contents on [SHARED].
57479 2012-09-26  Marek Polacek  <polacek@redhat.com>
57481         [BZ #14530]
57482         [BZ #13741]
57483         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57484         for C++ and GCC <4.3 as well as for non GCC compilers.
57486 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57488         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57490 2012-09-25  Roland McGrath  <roland@hack.frob.com>
57492         * Makefile.in (all, install): Declare with .PHONY.
57493         Reported by Michael Hope <michael.hope@linaro.org>.
57495 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57497         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57498         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57499         system header.
57500         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57501         Likewise.
57502         (sydep_routines): Add the new and the internal functions.
57503         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57504         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57506         (GLIBC_2.17): Add the new function.
57507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57508         (GLIBC_2.17): Likewise.
57509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57510         (GLIBC_2.17): Likewise.
57511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57512         (GLIBC_2.17): Likewise.
57513         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57515 2012-09-25  Alan Modra  <amodra@gmail.com>
57517         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57518         Add release barrier before setting once_control to say
57519         initialisation is done.  Add hints on lwarx.  Use macro in
57520         place of isync.
57521         (clear_once_control): Add release barrier.
57523 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57525         [BZ #13629]
57526         * math/s_clog.c (__clog): Handle more values close to |z| = 1
57527         specially.
57528         * math/s_clog10.c (__clog10): Likewise.
57529         * math/s_clog10f.c (__clog10f): Likewise.
57530         * math/s_clog10l.c (__clog10l): Likewise.
57531         * math/s_clogf.c (__clogf): Likewise.
57532         * math/s_clogl.c (__clogl): Likewise.
57533         * math/Makefile (libm-calls): Add x2y2m1.
57534         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57535         (__x2y2m1): Likewise.
57536         (__x2y2m1l): Likewise.
57537         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57538         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57539         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57540         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57541         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57542         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57543         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57544         * sysdeps/i386/fpu/libm-test-ulps: Update.
57545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57547         [BZ #14621]
57548         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57549         int as type of variable DEPTH.
57550         (glob): Use size_t instead of int as type of variables NEWCOUNT
57551         and OLD_PATHC.
57553 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57555         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57556         Add s_sincosf-sse2.
57557         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57558         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57559         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57560         macros for using routine as __sincosf_ia32.
57561         Use macro for function declaration and weak_alias.
57562         * sysdeps/i386/fpu/libm-test-ulps: Update.
57564         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57565         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57567         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57568         subnormal argument.
57569         * math/s_cexpf.c (__cexpf): Likewise.
57570         * math/s_csinf.c (__csinf): Likewise.
57571         * math/s_csinhf.c (__csinhf): Likewise.
57572         * math/s_ctanf.c (__ctanf): Likewise.
57573         * math/s_ctanhf.c (__ctanhf): Likewise.
57574         * math/s_ccosh.c (__ccoshf): Likewise.
57575         * math/s_cexp.c (__cexpl): Likewise.
57576         * math/s_csin.c (__csin): Likewise.
57577         * math/s_csinh.c (__csinh): Likewise.
57578         * math/s_ctan.c (__ctan): Likewise.
57579         * math/s_ctanh.c (ctanh): Likewise.
57580         * math/s_ccoshl.c (__ccoshl): Likewise.
57581         * math/s_cexpl.c (__cexpl): Likewise.
57582         * math/s_csinl.c (__csinl): Likewise.
57583         * math/s_csinhl.c (__csinhl): Likewise.
57584         * math/s_ctanl.c (__ctanl): Likewise.
57585         * math/s_ctanhl.c (__ctanhl): Likewise.
57587 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57589         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57590         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57591         (_IO_off_t): Define to __off_t, not _G_off_t.
57592         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57593         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57594         (_IO_wint_t): Define to wint_t, not _G_wint_t.
57595         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57596         type of __dummy and __dummy2 fields.
57597         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57598         (_G_ssize_t): Likewise.
57599         (_G_off_t): Likewise.
57600         (_G_pid_t): Likewise.
57601         (_G_uid_t): Likewise.
57602         (_G_wchar_t): Likewise.
57603         (_G_wint_t): Likewise.
57604         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57605         (_G_ssize_t): Likewise.
57606         (_G_off_t): Likewise.
57607         (_G_pid_t): Likewise.
57608         (_G_uid_t): Likewise.
57609         (_G_wchar_t): Likewise.
57610         (_G_wint_t): Likewise.
57611         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57612         (_G_ssize_t): Likewise.
57613         (_G_off_t): Likewise.
57614         (_G_pid_t): Likewise.
57615         (_G_uid_t): Likewise.
57616         (_G_wchar_t): Likewise.
57617         (_G_wint_t): Likewise.
57619 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57621         * malloc/arena.c: Include malloc-sysdep.h.
57622         (shrink_heap): Use check_may_shrink_heap to decide if madvise
57623         is sufficient to shrink the heap or an unmap is needed.
57624         * sysdeps/generic/malloc-sysdep.h: New file.  Define
57625         new function check_may_shrink_heap.
57626         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57627         new function check_may_shrink_heap.
57629 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57631         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57632         comments.
57634 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57636         * catgets/test-gencat.sh: Add "set -e".
57637         * elf/tst-pathopt.sh: Likewise.
57638         * grp/tst_fgetgrent.sh: Likewise.
57639         * iconvdata/run-iconv-test.sh: Likewise.
57640         * intl/tst-gettext.sh: Likewise.
57641         * intl/tst-gettext2.sh: Likewise.
57642         * intl/tst-gettext4.sh: Likewise.
57643         * intl/tst-gettext6.sh: Likewise.
57644         * intl/tst-translit.sh: Likewise.
57645         * io/ftwtest-sh: Likewise.
57646         * libio/test-freopen.sh: Likewise.
57647         * malloc/tst-mtrace.sh: Likewise.
57648         * posix/globtest.sh: Likewise.
57649         * posix/tst-getconf.sh: Likewise.
57650         * posix/wordexp-tst.sh: Likewise.
57651         * stdio-common/tst-printf.sh: Likewise.
57652         * stdio-common/tst-unbputc.sh: Likewise.
57653         * stdlib/tst-fmtmsg.sh: Likewise.
57654         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57655         * catgets/Makefile: Do not specify -e option when running
57656         testsuite shell scripts.
57657         * elf/Makefile: Likewise.
57658         * grp/Makefile: Likewise.
57659         * iconvdata/Makefile: Likewise.
57660         * intl/Makefile: Likewise.
57661         * io/Makefile: Likewise.
57662         * libio/Makefile: Likewise.
57663         * malloc/Makefile: Likewise.
57664         * posix/Makefile: Likewise.
57665         * stdio-common/Makefile: Likewise.
57666         * stdlib/Makefile: Likewise.
57667         * sysdeps/x86_64/Makefile: Likewise.
57669         * io/ftwtest-sh: Add copyright header.
57670         * posix/globtest.sh: Likewise.
57671         * posix/tst-getconf.sh: Likewise.
57672         * posix/wordexp-tst.sh: Likewise.
57673         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57675 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57677         [BZ #13679]
57678         * Makeconfig (+link): Defined as $(+link-static) if
57679         $(build-shared) isn't yes.
57680         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57681         isn't yes.
57682         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57684         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57686         [BZ #14562]
57687         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57688         new chunk size with MALLOC_ALIGN_MASK.
57690 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
57692         [BZ #5044]
57693         * stdio-common/printf_fphex.c: Include <stdbool.h> and
57694         <rounding-mode.h>.
57695         (__printf_fphex): Determine rounding using get_rounding_mode and
57696         round_away.
57697         * stdio-common/tst-printf-round.c (struct hex_test): New
57698         structure.
57699         (hex_tests): New variable.
57700         (test_hex_in_one_mode): New function.
57701         (do_test): Also run tests for hex float output.
57703 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
57705         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57706         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57707         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57708         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57709         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57710         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57711         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57712         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57714 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
57716         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57717         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57718         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57719         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57721 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
57723         [BZ #14579]
57724         * elf/rtld.c (dl_main): Limit the check for self loading to normal
57725         mode only.
57726         * elf/tst-rtld-load-self.sh: New test.
57727         * elf/Makefile: Run it.
57729 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
57731         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57732         (tst-writev-ENV): Remove.
57733         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57735 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
57737         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
57739 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
57741         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
57742         unconditional.
57743         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
57744         Likewise.
57745         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
57746         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
57747         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
57748         Likewise.
57750 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
57752         [BZ #14587]
57753         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
57754         * config.make.in (have-cpp-asm-debuginfo): Removed.
57755         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
57756         * configure: Regenerated.
57758 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
57760         [BZ #5044]
57761         * stdio-common/printf_fp.c: Include <stdbool.h> and
57762         <rounding-mode.h>.
57763         (___printf_fp): Determine rounding using get_rounding_mode and
57764         round_away.
57765         * stdio-common/tst-printf-round.c: New file.
57766         * stdio-common/Makefile (tests): Add tst-printf-round.
57767         (link-libm): New variable.
57768         ($(objpfx)tst-printf-round): Depend in $(link-libm).
57770 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
57772         [BZ #14576]
57773         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
57774         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
57775         Likewise.
57776         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
57777         Likewise.
57779 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
57781         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
57782         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57783         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57784         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57786 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
57788         [BZ #14518]
57789         * include/rounding-mode.h: New file.
57790         * sysdeps/generic/get-rounding-mode.h: Likewise.
57791         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
57792         * stdlib/strtod_l.c: Include <rounding-mode.h>.
57793         (MAX_VALUE): New macro.
57794         (MIN_VALUE): Likewise.
57795         (overflow_value): New function.
57796         (underflow_value): Likewise.
57797         (round_and_return): Use overflow_value and underflow_value to
57798         determine return values in overflow and underflow cases.  Use
57799         round_away to determine rounding depending on rounding mode.
57800         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
57801         determine return values in overflow and underflow cases.
57802         * stdlib/tst-strtod-round.c: Include <fenv.h>.
57803         (struct test_results): New structure.
57804         (struct test): Use struct test_results to store expected results
57805         for all rounding modes.
57806         (TEST): Include expected results for all rounding modes.
57807         (test_in_one_mode): New function.
57808         (do_test): Use test_in_one_mode to compute and check results.
57809         Check results for all rounding modes.
57810         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
57811         $(link-libm).
57813 2012-12-09  Allan McRae  <allan@archlinux.org>
57815         * sysdeps/i386/fpu/libm-test-ulps: Update
57817 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
57819         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
57820         (_G_int32_t): Likewise.
57821         (_G_uint16_t): Likewise.
57822         (_G_uint32_t): Likewise.
57823         (_G_HAVE_BOOL): Likewise.
57824         (_G_HAVE_ATEXIT): Likewise.
57825         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57826         (_G_HAVE_IO_FILE_OPEN): Likewise.
57827         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
57828         (_G_int32_t): Likewise.
57829         (_G_uint16_t): Likewise.
57830         (_G_uint32_t): Likewise.
57831         (_G_HAVE_BOOL): Likewise.
57832         (_G_HAVE_ATEXIT): Likewise.
57833         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57834         (_G_HAVE_IO_FILE_OPEN): Likewise.
57835         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
57836         (_G_int32_t): Likewise.
57837         (_G_uint16_t): Likewise.
57838         (_G_uint32_t): Likewise.
57839         (_G_HAVE_BOOL): Likewise.
57840         (_G_HAVE_ATEXIT): Likewise.
57841         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57842         (_G_HAVE_IO_FILE_OPEN): Likewise.
57844 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
57846         * csu/libc-tls.c: Update copyright years.
57848 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
57850         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
57851         [!_G_USING_THUNKS]: Remove conditional code.
57852         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
57853         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
57855         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
57856         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
57857         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57858         (_G_VTABLE_LABEL_PREFIX): Likewise.
57859         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57860         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57861         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57862         (_G_VTABLE_LABEL_PREFIX): Likewise.
57863         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57864         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57865         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57866         (_G_VTABLE_LABEL_PREFIX): Likewise.
57867         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57869 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
57871         * libio/Makefile: Include ../Makeconfig before tests.
57872         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
57873         only if $(build-shared) is yes.
57875         * iconv/gconv_db.c: Update copyright years.
57877 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57879         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
57880         unwind info if defined PIC. Fix special cases description.
57881         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
57883         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
57884         DP_HI_MASK entry.
57885         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
57887 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
57889         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
57891         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
57892         is NULL.
57894         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
57895         (LDLIBS-tst-chk4): This.
57896         (LDFLAGS-tst-chk5): Renamed to ...
57897         (LDLIBS-tst-chk5): This.
57898         (LDFLAGS-tst-chk6): Renamed to ...
57899         (LDLIBS-tst-chk6): This.
57900         (LDFLAGS-tst-lfschk4): Renamed to ...
57901         (LDLIBS-tst-lfschk4): This.
57902         (LDFLAGS-tst-lfschk5): Renamed to ...
57903         (LDLIBS-tst-lfschk5): This.
57904         (LDFLAGS-tst-lfschk6): Renamed to ...
57905         (LDLIBS-tst-lfschk6): This.
57907         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
57908         on $(common-objpfx)soversions.mk.
57910 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
57912         [BZ #10014]
57913         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
57914         example host name.
57916 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57918         * malloc/arena.c (arena_get_retry): New function that gets
57919         another arena for the caller to try its request on.
57920         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
57921         current arena cannot fulfill the request.
57922         (__libc_memalign): Likewise.
57923         (__libc_memalign): Likewise.
57924         (__libc_pvalloc): Likewise.
57925         (__libc_calloc): Likewise.
57927 2012-09-05  John Tobey  <john.tobey@gmail.com>
57929         [BZ #13542]
57930         * manual/arith.texi (Operations on Complex): Fix description
57931         of carg branch cut.
57933 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57935         [BZ #10014]
57936         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
57937         host name.
57939         [BZ #10038]
57940         * manual/memory.texi (Memory): Make order of menu items match
57941         order of sections.
57943 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57945         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57946         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
57947         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57949 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57951         * csu/libc-tls.c (static_dtv): Renamed to ...
57952         (_dl_static_dtv): This.  Make it global.
57953         (_dl_initial_dtv): Removed.
57954         (__libc_setup_tls): Updated.
57955         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57956         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57957         DL_INITIAL_DTV.
57959 2012-09-06  Petr Machata  <pmachata@redhat.com>
57961         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57962         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57963         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57964         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57966 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57968         [BZ #14545]
57969         * csu/libc-tls.c (_dl_initial_dtv): New variable.
57970         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57971         freeing dtv[-1].
57973 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57975         [BZ #14544]
57976         * Makeconfig (link-static-before-libc): Replace $(+prector)
57977         with $(+prectorT).
57978         (link-static-after-libc): Replace $(+postctor) with
57979         $(+postctorT).
57980         (link-bounded): Replace $(+prector)/$(+postctor) with
57981         $(+prectorT)/$(+postctorT).
57982         (+prectorT): New macro.
57983         (+postctorT): Likewise.
57985 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57987         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57988         (round_str): Handle values above the maximum for IBM long double
57989         as inexact.
57990         * stdlib/tst-strtod-round.c (tests): Regenerated.
57992 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57994         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57995         assembler flag.
57996         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57997         zarch_nohighgprs around the zarch optimized routines.
57998         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57999         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58000         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58001         for zarch.
58003 2012-09-05  David S. Miller  <davem@davemloft.net>
58005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58007         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58008         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58009         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58010         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58011         entries.
58013 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58015         * malloc/arena.c: Fold copyright years.
58016         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58018 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58020         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58022 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58024         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58026 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58028         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58029         change internal state upon failure.
58031 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58033         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58034         * malloc/memusage.c (mmap): Likewise.
58035         (mmap64, mremap): Likewise.  Adjust name in comment.
58037 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58039         * libio/fileops.c: Fix typos in comments.
58040         * libio/oldfileops.c: Likewise.
58041         * libio/wfileops.c: Likewise.
58043 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58045         [BZ #1349]
58046         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58047         (tst-malloc-usable-ENV): Set environment for test case.
58048         * malloc/hooks.c (malloc_check_get_size): New function to get
58049         requested size.
58050         * malloc/malloc.c (musable): Use malloc_check_get_size.
58051         * malloc/tst-malloc-usable.c: New test case.
58053 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58055         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58057 2012-09-05  Allan McRae  <allan@archlinux.org>
58059         [BZ #13966]
58060         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58061         determine header location.
58062         * configure: Regenerated.
58064 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58066         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58067         float format.
58068         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58069         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58070         format.
58071         (test): Regenerate.
58073 2012-09-04  David S. Miller  <davem@davemloft.net>
58075         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58076         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58077         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58079 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58081         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58082         failures.
58084         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58086 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58088         [BZ #9914]
58089         * libio/iogetdelim.c: Include <limits.h>.
58090         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58091         + len + 1 would overflow.
58093 2012-09-03  Andreas Jaeger  <aj@suse.de>
58095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58096         * sysdeps/i386/fpu/libm-test-ulps: Update.
58098 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58100         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58101         Add s_sinf-sse2, s_conf-sse2.
58103         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58104         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58105         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58106         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58108         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58109         for using routine as __sinf_ia32.
58110         Use macro for function declaration and weak_alias.
58111         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58112         for using routine as __cosf_ia32.
58113         Use macro for function declaration and weak_alias.
58115         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58116         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58118         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58119         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58122         * math/libm-test.inc (cos_test): Add more test cases.
58123         (sin_test): Likewise.
58124         (sincos_test): Likewise.
58126 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58128         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58129         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58130         hidden.
58131         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58133 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58135         [BZ #14538]
58136         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58137         first element of the GOT.
58138         (elf_machine_load_address): Return the difference between
58139         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58141 2012-09-01  Allan McRae  <allan@archlinux.org>
58143         [BZ #13412]
58144         * configure.in (AWK): Require gawk version 3.0 or later.
58145         * configure: Regenerated.
58147 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58149         * sysdeps/unix/sysv/linux/kernel-features.h
58150         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58151         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58152         [__NR_clock_getres]: Make code unconditional.
58153         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58154         (clock_getcpuclockid): Remove code left unreachable by removal of
58155         conditionals.
58156         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58157         code unconditional.
58158         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58159         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58160         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58161         Make code unconditional.
58162         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58163         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58164         * sysdeps/unix/sysv/linux/clock_settime.c
58165         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58166         conditional code.
58167         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58168         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58170 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58172         [BZ #14476]
58173         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58174         scripts/test-installation.pl.
58176         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58177         and $ld_so_version if it is set.
58179 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58181         [BZ #14516]
58182         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58183         failure if reading from procfs failed.
58184         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58186 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58188         * sysdeps/unix/sysv/linux/kernel-features.h
58189         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58190         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58191         Remove conditional code.
58192         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58193         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58194         Remove conditional code.
58195         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58196         * sysdeps/unix/sysv/linux/i386/fxstat.c
58197         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58198         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58199         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58200         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58201         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58202         * sysdeps/unix/sysv/linux/i386/lxstat.c
58203         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58204         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58205         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58206         Remove conditional code.
58207         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58208         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58209         Remove conditional code.
58210         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58211         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58212         <kernel-features.h>.
58213         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58214         Remove.
58215         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58216         Remove conditional code.
58217         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58218         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58219         Remove conditional.
58221 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58223         [BZ #5400]
58224         * NEWS: Add fixed bug number.
58226 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58228         [BZ #14519]
58229         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58230         underflowing exponent in case of negative sign.
58231         * stdlib/tst-strtod-round-data: Add more tests.
58232         * stdlib/tst-strtod-round.c (tests): Regenerated.
58234         [BZ #3479]
58235         * stdlib/strtod_l.c (NDIG): Remove.
58236         (HEXNDIG): Likewise.
58237         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58238         smallest representable value.
58239         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58240         lie within an exact representation of 1/2 ulp of the result.
58241         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58242         unconditionally.
58243         (TENS_P9_IDX): Define unconditionally.
58244         (TENS_P9_SIZE): Likewise.
58245         (TENS_P10_IDX): Likewise.
58246         (TENS_P10_SIZE): Likewise.
58247         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58248         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58249         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58250         entries for 10^2^13 and 10^2^14.
58251         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58252         (TENS_P13_IDX): Define.
58253         (TENS_P13_SIZE): Likewise.
58254         (TENS_P14_IDX): Likewise.
58255         (TENS_P14_SIZE): Likewise.
58256         (_fpioconst_pow10): Change array size to
58257         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58258         unconditional.
58259         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58260         1024]: Add entries for 10^2^13 and 10^2^14.
58261         [LAST_POW10 > _LAST_POW10]: Remove #error.
58262         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58263         (_fpioconst_pow10): Change array size to
58264         FPIOCONST_POW10_ARRAY_SIZE.
58265         * stdlib/gen-fpioconst.c: New file.
58266         * stdlib/gen-tst-strtod-round.c: Likewise.
58267         * stdlib/tst-strtod-round-data: Likewise.
58268         * stdlib/tst-strtod-round.c: Likewise.
58269         * stdlib/Makefile (tests): Add tst-strtod-round.
58271         [BZ #14459]
58272         * stdlib/strtod_l.c: Include <stdint.h>.
58273         (NDEBUG): Do not define.
58274         (round_and_return): Change EXPONENT parameter to type intmax_t.
58275         Rearrange calculations to avoid internal overflow possibilities.
58276         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58277         Rearrange calculations to avoid internal overflow possibilities.
58278         Assert that number fits inside MPNSIZE limbs.
58279         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58280         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58281         calculations and add assertions to avoid internal overflow
58282         possibilities.  Add casts to avoid signed/unsigned operations.
58283         * stdlib/tst-strtod-overflow.c: New file.
58284         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58286 2012-08-25  Marek Polacek  <polacek@redhat.com>
58288         * time/time.h: Fix some typos in comments.
58290 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58292         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58293         * posix/tst-rfc3484-2.c: Likewise.
58294         * posix/tst-rfc3484-3.c: Likewise.
58296 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58298         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58299         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58301 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58303         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58304         #include of fxstatat64.c.
58306 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58308         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58309         * shadow/getspent_r.c: Likewise.
58310         * shadow/getspnam.c: Likewise.
58311         * shadow/getspnam_r.c: Likewise.
58312         * gshadow/getsgent.c: Likewise.
58313         * gshadow/getsgent_r.c: Likewise.
58314         * gshadow/getsgnam.c: Likewise.
58315         * gshadow/getsgnam_r.c: Likewise.
58316         * inet/getnetbyad.c: Likewise.
58317         * inet/getnetbyad_r.c: Likewise.
58318         * inet/getnetbynm.c: Likewise.
58319         * inet/getnetbynm_r.c: Likewise.
58320         * inet/getnetent.c: Likewise.
58321         * inet/getnetent_r.c: Likewise.
58322         * inet/getproto.c: Likewise.
58323         * inet/getproto_r.c: Likewise.
58324         * inet/getprtent.c: Likewise.
58325         * inet/getprtent_r.c: Likewise.
58326         * inet/getprtname.c: Likewise.
58327         * inet/getprtname_r.c: Likewise.
58328         * inet/getrpcbyname.c: Likewise.
58329         * inet/getrpcbyname_r.c: Likewise.
58330         * inet/getrpcbynumber.c: Likewise.
58331         * inet/getrpcbynumber_r.c: Likewise.
58332         * inet/getrpcent.c: Likewise.
58333         * inet/getrpcent_r.c: Likewise.
58334         * inet/getaliasent.c: Likewise.
58335         * inet/getaliasent_r.c: Likewise.
58336         * inet/getaliasname.c: Likewise.
58337         * inet/getaliasname_r.c: Likewise.
58338         * nscd/getgrgid_r.c: Likewise.
58339         * nscd/getgrnam_r.c: Likewise.
58340         * nscd/gethstbyad_r.c: Likewise.
58341         * nscd/gethstbynm3_r.c: Likewise.
58342         * nscd/getpwnam_r.c: Likewise.
58343         * nscd/getpwuid_r.c: Likewise.
58344         * nscd/getsrvbynm_r.c: Likewise.
58345         * nscd/getsrvbypt_r.c: Likewise.
58346         * nscd/gai.c: Likewise.
58348         * configure.in (build_nscd): New substituted variable, set
58349         by --disable-build-nscd and defaults to $use_nscd.
58350         * configure: Regenerated.
58351         * config.make.in (build-nscd): New substituted variable.
58352         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58353         Change conditional to require [$(build-nscd) = yes] as well.
58354         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58356         [BZ# 13696]
58357         * configure.in (use_nscd): New substituted variable, set by
58358         --disable-nscd.  If enabled, define USE_NSCD.
58359         * configure: Regenerated.
58360         * config.h.in: Add USE_NSCD.
58361         * config.make.in (use-nscd): New substituted variable.
58362         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58363         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58364         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58365         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58366         (CFLAGS-getgrnam_r.c): Likewise.
58367         (CFLAGS-initgroups.c): Likewise.
58368         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58369         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58370         Variables removed.
58371         * inet/getnetgrent_r.c
58372         (nscd_setnetgrent): New function, broken out of ...
58373         (setnetgrent): ... here.  Call it.
58374         (innetgr): Conditionalize nscd bits on [USE_NSCD].
58375         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58376         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58377         * nscd/Makefile (routines, aux): Move definitions after include of
58378         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58379         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58380         Conditionalize on [USE_NSCD].
58381         (is_nscd, nscd_init_cb): Likewise.
58382         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58383         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58384         * nss/nss_db/db-init.c: Likewise.
58385         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58386         [USE_NSCD].
58387         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58388         (make_request): Use it.
58389         (cache_valid_p): New function.
58390         (__check_pf): Use it.
58391         * NEWS: Add item for --disable-nscd.
58393 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58395         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58396         to support sed >= 4.2.1-20-ga9bf076.
58397         * configure: Regenerated.
58399 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58401         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58402         Conditionalize whole body on [IREL].
58404 2012-08-22  Jeff Law <law@redhat.com>
58406         [BZ #14505]
58407         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58408         if the family is PF_UNSPEC.
58410 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58412         * Makerules (lib-version): Rename from V.
58413         (install-lib-nosubdir): Change V to lib-version.
58415 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58417         [BZ #14252]
58418         * powerpc32/power6/wcschr.c: New file.
58419         * powerpc32/power6/wcscpy.c: New file.
58420         * powerpc32/power6/wcsrchr.c: New file.
58421         * powerpc64/power6/wcschr.c: New file.
58422         * powerpc64/power6/wcscpy.c: New file.
58423         * powerpc64/power6/wcsrchr.c: New file.
58425 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58427         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58428         (two_way_short_needle): Use it.
58429         * string/strstr.c (AVAILABLE1_USES_J): Define.
58430         * string/strcasestr.c: Likewise.
58432         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58433         array references.
58434         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58436         [BZ #11607]
58437         * NEWS: Add an entry.
58438         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58439         define their defaults.
58440         (two_way_short_needle): Detect end-of-string on-the-fly.
58441         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58442         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58443         * string/bug-strcasestr1.c: New test.
58444         * string/Makefile: Run it.
58446 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58448         [BZ #11607]
58449         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58450         the first character.
58452 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58454         * csu/elf-init.c (__libc_csu_irel): Function removed.
58455         * csu/libc-start.c (apply_irel): New function.
58456         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58458 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58460         * sysdeps/unix/sysv/linux/kernel-features.h
58461         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58462         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58463         <kernel-features.h>.
58464         [__NR_fadvise64_64]: Make code unconditional.
58465         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58466         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58467         !__NR_fadvise64_64)]: Likewise.
58468         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58469         !__NR_fadvise64_64))]: Likewise.
58470         [__NR_fadvise64]: Make code unconditional.
58471         [!__NR_fadvise64]: Remove conditional code.
58472         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58473         <kernel-features.h>.
58474         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58475         unconditional.
58476         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58477         conditional code.
58478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58479         not include <kernel-features.h>.
58480         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58481         unconditional.
58482         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58483         conditional code.
58484         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58485         include <kernel-features.h>.
58486         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58487         unconditional.
58488         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58489         conditional code.
58491 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58493         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58494         slight instruction rearrangements per scrollpipe analysis.
58495         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58497 2012-08-20  Roland McGrath  <roland@hack.frob.com>
58499         * manual/syslog.texi (syslog; vsyslog, closelog):
58500         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58501         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58503         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58504         DSOCAPS to match condition on defining it.
58506 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
58508         * sysdeps/unix/sysv/linux/kernel-features.h
58509         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58511         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58512         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58514         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58515         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58517         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58518         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58520         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58521         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58523         * sysdeps/unix/sysv/linux/kernel-features.h
58524         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58525         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58526         unconditional.
58527         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58528         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58529         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58530         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58531         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58532         Make code unconditional.
58533         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58534         (__mmap64) [!__NR_mmap2]: Likewise.
58535         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58536         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58537         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58538         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58539         [__NR_mmap2]: Make code unconditional.
58540         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58541         (__mmap64) [!__NR_mmap2]: Likewise.
58543 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58545         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58547 2012-08-18  Andreas Jaeger  <aj@suse.de>
58549         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58551 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58553         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58554         * include/unistd.h (__have_sock_cloexec): Likewise.
58555         (__have_pipe2): Likewise.
58556         (__have_dup3): Likewise.
58558 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58560         [BZ #9685]
58561         * include/unistd.h (__have_pipe2): Change define into an extern int.
58562         (__have_dup3): Likewise.
58563         * socket/have_sock_cloexec.c: Include fcntl.h.
58564         (__have_pipe2): New variable.
58565         (__have_dup3): Likewise.
58567 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
58569         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58571 2012-08-17  Marek Polacek  <polacek@redhat.com>
58573         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58574         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58576 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58578         * configure.in: Add AC_SUBST for sysheaders.
58579         * configure: Regenerated.
58580         * config.make.in (sysheaders): New substituted variable.
58582         * sysdeps/unix/mkfifo.c: Moved ...
58583         * sysdeps/posix/mkfifo.c: ... here.
58584         * sysdeps/unix/mkfifoat.c: Moved ...
58585         * sysdeps/posix/mkfifoat.c: ... here.
58587         * sysdeps/unix/utime.c: Moved ...
58588         * sysdeps/posix/utime.c: ... here.
58590         * sysdeps/unix/time.c: Moved ...
58591         * sysdeps/posix/time.c: ... here.
58592         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58593         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58595         * sysdeps/unix/nice.c: Moved ...
58596         * sysdeps/posix/nice.c: ... here.
58598         * sysdeps/unix/alarm.c: Moved ...
58599         * sysdeps/posix/alarm.c: ... here.
58601         * intl/Makefile ($(codeset_mo)): Depend on the input file.
58603 2012-08-17  Jeff Law <law@redhat.com>
58605         * intl/Makefile (codeset_mo): New variable.
58606         ($(codeset_mo)): New target.
58607         (tst-codeset.out): Depend on that.  Remove explicit rule.
58608         (tst-gettext3.out, tst-gettext5.out): Likewise.
58609         (LOCPATH-ENV, tst-codeset-ENV): New variables.
58610         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58611         * intl/tst-codeset.sh: Remove.
58612         * intl/tst-gettext3.sh: Likewise.
58613         * intl/tst-gettext5.sh: Likewise.
58615 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58617         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
58618         * sysdeps/unix/syscalls.list: ... here.
58620         * sysdeps/posix/getaddrinfo.c
58621         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58622         (gaiconf_init, gaiconf_reload): Use them.
58623         [!_STATBUF_ST_NSEC]
58624         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58625         Define using time_t rather than struct timespec.
58627         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58628         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58629         Macros removed.
58630         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58631         [!NO_THREADS].
58632         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58633         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58634         Likewise.
58636         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58637         __libc_cleanup_push argument.
58639         * bits/param.h: New file.
58640         * misc/sys/param.h: New file.
58641         * include/sys/param.h: New file.
58642         * misc/Makefile (headers): Add bits/param.h.
58643         * sysdeps/generic/sys/param.h: File removed.
58644         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58645         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58646         * sysdeps/mach/hurd/bits/param.h: New file.
58647         * sysdeps/mach/hurd/sys/param.h: File removed.
58649         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58650         last change.
58652         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58653         [_IO_MTSAFE_IO].
58654         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58655         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58656         New macros.
58658         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58659         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58660         rather than -D_IO_MTSAFE_IO conditionally.
58661         * stdio-common/Makefile (CPPFLAGS): Likewise.
58662         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58663         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58664         Use $(libio-mtsafe).
58665         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58666         of -D_IO_MTSAFE_IO.
58667         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58668         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58669         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58670         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58671         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58672         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58673         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58674         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58675         (CFLAGS-fread_u_chk.c): Likewise.
58676         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58677         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58678         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58679         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58680         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58681         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58682         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58683         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58684         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58686         * libio/Makefile: Test [$(libc-reentrant) = yes]
58687         instead of [$(filter %REENTRANT, $(defines)) nonempty].
58689         * Makeconfig
58690         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58691         * sysdeps/pthread/configure: File removed.
58692         * sysdeps/pthread/Makeconfig: New file.
58693         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58694         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58696 2012-08-16  Gary Benson  <gbenson@redhat.com>
58698         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58699         unmapping the first object in a namespace.
58701 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58703         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58704         (__internal_setnetgrent): ... this.  Add internal_function to
58705         definition.  Add libc_hidden_def.
58706         (setnetgrent): Update caller.
58707         (internal_endnetgrent): Renamed to ...
58708         (__internal_endnetgrent): ... this.  Add internal_function to
58709         definition.  Add libc_hidden_def.
58710         (endnetgrent): Update caller.
58711         (internal_getnetgrent_r): Renamed to ...
58712         (__internal_getnetgrent_r): ... this.  Add internal_function to
58713         definition.  Add libc_hidden_def.
58714         (__getnetgrent_r): Update caller.
58715         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
58717 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58719         * stdlib/longlong.h: Update from GCC.
58721 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58723         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58724         on _QL, which is set by umul_ppmm but never used.
58725         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58726         variables, which are set by GMP macros but never used.
58727         * stdio-common/_itowa.c (_itowa): Likewise.
58728         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58729         * stdlib/mod_1.c (mpn_mod_1): Likewise.
58731 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
58733         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58734         struct La_sh_regs is not constant.
58735         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58736         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
58737         and struct La_sparc64_regs are not constant.
58739 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58741         * sysdeps/unix/sysv/linux/kernel-features.h
58742         (__ASSUME_POSIX_TIMERS): Remove.
58743         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58744         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58745         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
58746         Make code unconditional.
58747         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58748         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
58749         Make code unconditional.
58750         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58751         * sysdeps/unix/sysv/linux/clock_nanosleep.c
58752         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
58753         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58754         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
58755         Make code unconditional.
58756         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58757         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
58758         (__libc_missing_posix_timers): Remove.
58760 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58762         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
58763         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
58765         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
58767         * elf/dl-sym.c: Include <stdlib.h>.
58769         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
58770         constants, which avoids warnings in 32-bit builds.
58772         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
58773         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
58775         * misc/lseek.c: File moved to ...
58776         * io/lseek.c: ... here.
58778         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
58780         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
58781         shifting LEN more than 31 bits at once.
58783 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58785         [BZ #14195]
58786         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
58787         segmentation fault for a case of two empty input strings.
58788         * string/test-strncasecmp.c (check1): Renamed to...
58789         (bz12205): ...this.
58790         (bz14195): Add new testcase for two empty input strings and N > 0.
58791         (test_main): Call new testcase, adapt for renamed function.
58793 2012-08-15  Andreas Jaeger  <aj@suse.de>
58795         [BZ #14090]
58796         * crypt/md5test2.c: New test, based on test supplied by Serge
58797         Belyshev <belyshev@depni.sinp.msu.ru>.
58798         * crypt/Makefile (xtests): Add md5test-giant..
58799         * crypt/Makefile ($(objpfx)md5test-giant): Add.
58801 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
58803         [BZ #14090]
58804         * crypt/md5.c (md5_process_block): Don't assume the buffer
58805         length is less than 2**32.
58806         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
58807         length is less than 2**64.
58809 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58811         * string/str-two-way.h: Include <sys/param.h>.
58812         (MAX): Macro removed.
58814         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
58815         Move #define and #undef of memmove to just before and after
58816         including <string.h>.
58818         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
58819         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
58820         and after including <string.h>.  Move declarations of
58821         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
58822         to before #include "string/memmove.c".
58824         * include/dirent.h: Declare __getdirentries.
58826         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
58827         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
58829 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
58831         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
58832         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
58833         * sysdeps/i386/configure: Regenerated.
58834         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
58835         STABS_CURRENT_FILE, and STABS_FUN.
58836         (END): Remove call to STABS_FUN_END.
58837         (STABS_CURRENT_FILE1): Delete.
58838         (STABS_CURRENT_FILE): Likewise.
58839         (STABS_FUN): Likewise.
58840         (STABS_FUN_END): Likewise.
58841         (STABS_FUN2): Likewise.
58842         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
58843         * sysdeps/x86_64/configure: Regenerated.
58845 2012-08-14  Roland McGrath  <roland@hack.frob.com>
58847         * elf/dl-open.c: Include <atomic.h>.
58848         * elf/dl-lookup.c: Likewise.
58850 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
58852         * sysdeps/unix/sysv/linux/kernel-features.h
58853         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
58854         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
58855         unconditionally.
58856         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
58857         unconditionally.
58858         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
58859         condition on __ASSUME_CLONE_THREAD_FLAGS.
58861 2012-08-14  Andreas Jaeger  <aj@suse.de>
58863         * sysdeps/i386/fpu/libm-test-ulps: Update.
58865 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
58867         * include/atomic.h (atomic_exchange_and_add): Split into ...
58868         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
58869         New atomic macros.
58871 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
58873         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58875 2012-08-13  Jeff Law <law@redhat.com>
58877         * manual/stdio.texi (snprintf): Clarify handling of the trailing
58878         null byte in the output string.
58880 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
58882         * sysdeps/unix/sysv/linux/kernel-features.h
58883         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
58884         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
58885         (__ASSUME_ARG_MAX_STACK_BASED): Define.
58886         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
58887         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
58888         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
58889         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
58891 2012-08-09  Jeff Law <law@redhat.com>
58893         [BZ #13939]
58894         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
58895         When avoid_arena is set, don't retry in the that arena.  Pick the
58896         next one, whatever it might be.
58897         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
58898         (arena_lock): Pass in new parameter to arena_get2.
58899         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
58900         arena_get2.
58901         (__libc_malloc): Unify retrying after main arena failure with
58902         __libc_memalign version.
58903         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
58905 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
58907         [BZ #14166]
58908         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
58909         to __redirect_strstr.
58910         (__strstr_sse42): Use typeof __redirect_strstr.
58911         (__strstr_ia32): Likewise.
58912         (__libc_strstr): New prototype.
58913         (strstr): Renamed to ...
58914         (__libc_strstr): This.
58915         (strstr): New strong alias of __libc_strstr.
58916         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58917         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
58918         __redirect_time.
58919         Include <time.h>.
58920         (__libc_time): New prototype.
58921         (time_ifunc): Replace time with __libc_time.
58922         (time): New strong alias and hidden definition of __libc_time.
58923         (__GI_time): Remove strong alias.
58924         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
58925         Include <stddef.h>.
58926         (memmove): Redefined to __redirect_memmove.
58927         (__memmove_sse2): Use typeof __redirect_memmove.
58928         (__memmove_ssse3): Likewise.
58929         (__memmove_ssse3_back): Likewise.
58930         (__libc_memmove): New prototype.
58931         (memmove): Renamed to ...
58932         (__libc_memmove): This.
58933         (memmove): New strong alias of __libc_memmove.
58935 2012-08-08  Mark Salter  <msalter@redhat.com>
58937         * elf/elf.h
58938         (R_MN10300_TLS_GD): Define.
58939         (R_MN10300_TLS_LD): Likewise.
58940         (R_MN10300_TLS_LDO): Likewise.
58941         (R_MN10300_TLS_GOTIE): Likewise.
58942         (R_MN10300_TLS_IE): Likewise.
58943         (R_MN10300_TLS_LE): Likewise.
58944         (R_MN10300_TLS_DTPMOD): Likewise.
58945         (R_MN10300_TLS_DTPOFF): Likewise.
58946         (R_MN10300_TLS_TPOFF): Likewise.
58947         (R_MN10300_SYM_DIFF): Likewise.
58948         (R_MN10300_ALIGN): Likewise.
58949         (R_MN10300_NUM): Update.
58951 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
58953         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58954         Remove.
58956 2012-08-08  Roland McGrath  <roland@hack.frob.com>
58958         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58960         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58961         sysdeps/unix -> sysdeps/posix move.
58962         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58964 2012-08-07      Allan McRae     <allan@archlinux.org>
58966         [BZ #14303]
58967         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58968         (SUNOS_CPP): Likewise.
58969         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58970         not found.
58971         (open_input): Call CPP using execvp.
58973 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58975         * sysdeps/unix/sysv/linux/kernel-features.h
58976         (__ASSUME_PROT_GROWSUPDOWN): Remove.
58977         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58978         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58979         (__ASSUME_WAITID_SYSCALL): Likewise.
58980         * sysdeps/unix/sysv/linux/dl-execstack.c
58981         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58982         code unconditional.
58983         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58984         conditional code.
58985         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58986         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58987         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58988         code.
58989         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58990         unconditional.
58991         [__ASSUME_WAITID_SYSCALL]: Likewise.
58992         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58994 2012-08-07  Roland McGrath  <roland@hack.frob.com>
58996         * sysdeps/unix/closedir.c: Renamed to ...
58997         * sysdeps/posix/closedir.c: ... here.
58998         * sysdeps/unix/dirfd.c: Renamed to ...
58999         * sysdeps/posix/dirfd.c: ... here.
59000         * sysdeps/unix/dirstream.h: Renamed to ...
59001         * sysdeps/posix/dirstream.h: ... here.
59002         * sysdeps/unix/fdopendir.c: Renamed to ...
59003         * sysdeps/posix/fdopendir.c: ... here.
59004         * sysdeps/unix/opendir.c: Renamed to ...
59005         * sysdeps/posix/opendir.c: ... here.
59006         * sysdeps/unix/readdir.c: Renamed to ...
59007         * sysdeps/posix/readdir.c: ... here.
59008         * sysdeps/unix/readdir_r.c: Renamed to ...
59009         * sysdeps/posix/readdir_r.c: ... here.
59010         * sysdeps/unix/rewinddir.c: Renamed to ...
59011         * sysdeps/posix/rewinddir.c: ... here.
59012         * sysdeps/unix/seekdir.c: Renamed to ...
59013         * sysdeps/posix/seekdir.c: ... here.
59014         * sysdeps/unix/telldir.c: Renamed to ...
59015         * sysdeps/posix/telldir.c: ... here.
59016         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59017         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59018         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59019         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59021         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59022         * bits/fcntl.h: ... here.
59024         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59025         not 0.
59026         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59027         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59028         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59029         (struct flock): Move l_start, l_len to the beginning.
59030         Use __pid_t for l_pid.
59031         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59032         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59033         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59034         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59035         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59036         [__USE_LARGEFILE64] (struct flock64): New type.
59037         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59039         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59040         * bits/dirent.h: ... here.
59042         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59043         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59045 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59047         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59048         Change from 2.6.0 to 2.6.16.
59049         * sysdeps/unix/sysv/linux/configure: Regenerated.
59050         * sysdeps/unix/sysv/linux/kernel-features.h
59051         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59052         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59053         version.
59054         (__ASSUME_UTIMES): Likewise.
59055         (__ASSUME_CLONE_STOPPED): Remove.
59056         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59057         architectures, not kernel version.
59058         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59059         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59060         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59061         (__ASSUME_WAITID_SYSCALL): Likewise.
59062         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59063         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59064         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59065         refer to older versions.
59067 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59069         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59070         Define alphasort64 as an alias.
59071         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59072         Define versionsort64 as an alias.
59073         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59074         Define scandir64 as an alias.
59075         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59076         Define scandirat64 as an alias.
59077         * dirent/alphasort64.c (alphasort64):
59078         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59079         * dirent/versionsort64.c: Likewise.
59080         * dirent/scandir64.c: Likewise.
59081         * dirent/scandirat64.c: Likewise.
59082         * sysdeps/wordsize-64/alphasort.c: File removed.
59083         * sysdeps/wordsize-64/alphasort64.c: File removed.
59084         * sysdeps/wordsize-64/scandir.c: File removed.
59085         * sysdeps/wordsize-64/scandir64.c: File removed.
59086         * sysdeps/wordsize-64/scandirat.c: File removed.
59087         * sysdeps/wordsize-64/scandirat64.c: File removed.
59088         * sysdeps/wordsize-64/versionsort.c: File removed.
59089         * sysdeps/wordsize-64/versionsort64.c: File removed.
59090         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59091         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59092         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59093         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59094         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59095         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59096         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59097         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59099         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59100         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59101         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59102         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59103         [defined __arch64__ || defined __sparcv9]
59104         (__INO_T_MATCHES_INO64_T): New macro.
59105         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59106         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59107         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59108         * sysdeps/unix/sysv/linux/bits/dirent.h
59109         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59110         (_DIRENT_MATCHES_DIRENT64): New macro.
59112         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59113         Define lockf64 as an alias.
59114         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59115         Define fseeko64 as an alias.
59116         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59117         Define ftello64 as an alias.
59118         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59119         Define _IO_fgetpos64 and fgetpos64 as aliases.
59120         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59121         Define _IO_fsetpos64 and fsetpos64 as aliases.
59122         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59123         Conditionalize body on this.
59124         * libio/fseeko64.c: Likewise.
59125         * libio/ftello64.c: Likewise.
59126         * libio/iofgetpos64.c: Likewise.
59127         * libio/iofsetpos64.c: Likewise.
59128         * sysdeps/wordsize-64/lockf.c: File removed.
59129         * sysdeps/wordsize-64/lockf64.c: File removed.
59130         * sysdeps/wordsize-64/fseeko.c: File removed.
59131         * sysdeps/wordsize-64/fseeko64.c: File removed.
59132         * sysdeps/wordsize-64/ftello.c: File removed.
59133         * sysdeps/wordsize-64/ftello64.c: File removed.
59134         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59135         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59136         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59137         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59138         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59139         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59140         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59141         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59142         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59143         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59144         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59145         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59146         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59147         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59149         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59150         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59151         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59152         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59153         [defined __arch64__ || defined __sparcv9]
59154         (__OFF_T_MATCHES_OFF64_T): New macro.
59155         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59156         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59157         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59158         (__OFF_T_MATCHES_OFF64_T): New macro.
59160 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59162         * stdlib/secure-getenv.c (__secure_getenv): Replace
59163         GLIBC_2_16 with GLIBC_2_17.
59165 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59167         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59168         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59170 2012-08-03  David S. Miller  <davem@davemloft.net>
59172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59174 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59176         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59177         Remove.
59178         (__ASSUME_CORRECT_SI_PID): Likewise.
59179         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59180         (__ASSUME_TMPFS_NAME): Likewise.
59181         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59182         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59183         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59184         (HAVE_AUX_SECURE): Make definition unconditional.
59185         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59186         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59188 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59190         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59191         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59192         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59193         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59194         __eloop_threshold instead of SYMLOOP_MAX.
59196         * sysdeps/generic/eloop-threshold.h: New file.
59197         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59198         of MAXSYMLINKS.
59199         * elf/chroot_canon.c (chroot_canon): Likewise.
59201 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59203         [BZ #13717]
59204         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59205         Change to 2.6.0 everywhere.
59206         * sysdeps/unix/sysv/linux/configure: Regenerated.
59207         * sysdeps/unix/sysv/linux/kernel-features.h
59208         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59209         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59210         kernel versions.
59211         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59212         (__ASSUME_FUTEX_REQUEUE): Remove.
59213         (__ASSUME_STATFS64): Define unconditionally.
59214         (__ASSUME_AT_SECURE): Likewise.
59215         (__ASSUME_CORRECT_SI_PID): Likewise.
59216         (__ASSUME_TGKILL): Define without depending on kernel version for
59217         i386.
59218         (__ASSUME_UTIMES): Likewise.
59219         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59220         kernel version.
59221         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59222         (__ASSUME_TMPFS_NAME): Likewise.
59223         * README: Update reference to Linux kernel versions.
59225 2012-08-02  Marek Polacek  <polacek@redhat.com>
59227         [BZ# 14150]
59228         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59229         libc_cv_asm_type_prefix with %.
59230         * configure: Regenerated.
59231         * include/libc-symbols.h: Remove comment about
59232         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59233         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59234         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59235         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59236         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59237         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59238         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59239         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59240         * elf/tst-unique2mod1.c: Likewise.
59241         * elf/tst-unique1mod2.c: Likewise.
59242         * elf/tst-unique1mod1.c: Likewise.
59243         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59244         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59245         Replace ASM_TYPE_DIRECTIVE with .type.
59246         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59247         * sysdeps/i386/sysdep.h: Likewise.
59248         * sysdeps/x86_64/sysdep.h: Likewise.
59249         * sysdeps/sh/sysdep.h: Likewise.
59250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59251         Do not define ASM_TYPE_DIRECTIVE.
59252         * sysdeps/powerpc/sysdep.h: Likewise.
59253         * sysdeps/powerpc/powerpc32/sysdep.h:
59254         Replace ASM_TYPE_DIRECTIVE with .type.
59255         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59256         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59257         * sysdeps/i386/fpu/e_powf.S: Likewise.
59258         * sysdeps/i386/fpu/e_expl.S: Likewise.
59259         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59260         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59261         * sysdeps/i386/fpu/e_pow.S: Likewise.
59262         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59263         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59264         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59265         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59266         * sysdeps/i386/fpu/e_log2.S: Likewise.
59267         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59268         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59269         * sysdeps/i386/fpu/e_powl.S: Likewise.
59270         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59271         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59272         * sysdeps/i386/fpu/e_logl.S: Likewise.
59273         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59274         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59275         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59276         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59277         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59278         * sysdeps/i386/fpu/e_log.S: Likewise.
59279         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59280         * sysdeps/i386/fpu/e_logf.S: Likewise.
59281         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59282         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59283         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59284         * sysdeps/i386/fpu/e_log10.S: Likewise.
59285         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59286         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59287         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59288         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59289         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59290         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59291         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59292         * sysdeps/i386/i686/strtok.S: Likewise.
59293         * sysdeps/i386/i386-mcount.S: Likewise.
59294         * sysdeps/i386/strtok.S: Likewise.
59295         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59296         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59297         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59298         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59299         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59300         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59301         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59302         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59303         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59304         * sysdeps/x86_64/_mcount.S: Likewise.
59305         * sysdeps/x86_64/strtok.S: Likewise.
59306         * sysdeps/sh/_mcount.S: Likewise.
59308 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59310         * libio/iofopen.c: Include <fcntl.h>.
59311         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59312         (_IO_fopen64, fopen64): Define as aliases.
59313         * libio/iofopen64.c: Include <fcntl.h>.
59314         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59315         Conditionalize body on this.
59316         * sysdeps/wordsize-64/iofopen.c: File removed.
59317         * sysdeps/wordsize-64/iofopen64.c: File removed.
59319 2012-08-01  Marek Polacek  <polacek@redhat.com>
59321         * libc/Makeconfig: Use elf in place of binfmt-subdir.
59322         Use dlfcn directly instead of a variable.
59323         (binfmt-subdir): Do not define.
59324         (dlfcn): Likewise.
59326 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
59328         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59329         Remove all definitions.
59330         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59331         <kernel-features.h>.
59332         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59333         (miss_F_GETOWN_EX): Remove all definitions.
59334         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59335         macro definition.
59336         [!__ASSUME_FCNTL64]: Remove conditional code.
59337         [__ASSUME_FCNTL64]: Make code unconditional.
59338         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59339         <kernel-features.h>.
59340         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59341         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59342         (lockf64) [__NR_fcntl64]: Make code unconditional.
59343         (lockf64) [__ASSUME_FCNTL64]: Likewise.
59345         * sysdeps/unix/sysv/linux/kernel-features.h
59346         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59347         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59348         Make code unconditional.
59349         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59350         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59352         [__NR_vfork]: Make code unconditional.
59353         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59354         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59356         [__NR_vfork]: Make code unconditional.
59357         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59358         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59360 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59362         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59363         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59365         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59366         Define mkstemp64 as an alias.
59367         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59368         Define mkstemps64 as an alias.
59369         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59370         Define mkostemp64 as an alias.
59371         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59372         Define mkostemps64 as an alias.
59373         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59374         Conditionalize body on this.
59375         * misc/mkostemp64.c: Likewise.
59376         * misc/mkostemps64.c: Likewise.
59377         * misc/mkstemps64.c: Likewise.
59378         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59379         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59380         * sysdeps/wordsize-64/mkostemp.c: File removed.
59381         * sysdeps/wordsize-64/mkstemp.c: File removed.
59382         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59383         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59384         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59385         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59387         [BZ #14138]
59388         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59389         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59390         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59391         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59393         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59394         compat_symbol macros from <shlib-compat.h> rather than the underlying
59395         default_symbol_version and symbol_version macros, so that DEFAULT
59396         lines in shlib-versions are respected.
59397         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59399 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59401         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59402         Declare with warn_unused_result.
59403         (setgid, setregid, setegid, setresgid): Likewise.
59404         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59405         Likewise.
59406         * WUR-REPORT: Remove set*id functions.
59408 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59410         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59412 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59414         [BZ #10191]
59415         * include/sys/socket.h (__libc_accept, __libc_accept4):
59416         Add attribute_hidden.
59417         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59419         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59420         use of PTR_MANGLE.
59421         * inet/getnetgrent_r.c (setup): Likewise.
59423         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59425 2012-07-31  David S. Miller  <davem@davemloft.net>
59427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59429 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59431         [BZ #13629]
59432         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59433         value between 1.0 and 2.0 and smaller part has absolute value less
59434         than 1.0.
59435         * math/s_clog10.c (__clog10): Likewise.
59436         * math/s_clog10f.c (__clog10f): Likewise.
59437         * math/s_clog10l.c (__clog10l): Likewise.
59438         * math/s_clogf.c (__clogf): Likewise.
59439         * math/s_clogl.c (__clogl): Likewise.
59440         * math/libm-test.inc (clog_test): Add more tests.
59441         (clog10_test): Likewise.
59442         * sysdeps/i386/fpu/libm-test-ulps: Update.
59443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59445 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59447         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59448         Exit with zero in case no suitable GID is found, and write a
59449         message to standard error.
59451 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59453         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59454         rather than to 1.
59455         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59456         (MAXPATHLEN): Removed.
59457         (NOGROUP, NODEV): New macros.
59458         (setbit, clrbit, isset, isclr): New macros.
59459         (howmany, roundup, powerof2): New macros.
59460         (DEV_BSIZE): New macro.
59462         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59463         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59465         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59466         definition on [!__NO_LONG_DOUBLE_MATH].
59468         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59469         PTR_MANGLE and PTR_DEMANGLE.
59471         * socket/accept4.c (accept4): Rename to __libc_accept4.
59472         Define accept4 as a weak alias.
59474         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59475         on [_DIRENT_HAVE_D_TYPE].
59476         * io/ftw.c (ftw_dir): Likewise.
59478         * io/xmknod.c (__xmknod): Don't check PATH for being null.
59480         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59482         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59483         Use the BSD numbers rather than the arbitrary ones we had.
59484         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59485         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59486         (SIGXCPU, SIGXFSZ): New macros.
59487         (_NSIG): Now 32.
59489         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59490         initializer on [_LIBC_REENTRANT].
59492         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59493         definitions inside [_POSIX_MAPPED_FILES].
59495         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59497         * dirent/opendir.c: Include <fcntl.h>.
59499         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59500         (__libc_getspecific): Likewise.
59501         (__libc_key_create): Likewise.
59503         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59504         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59505         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59506         (tmpfile64): Define as alias.
59507         * sysdeps/wordsize-64/tmpfile.c: File removed.
59508         * sysdeps/wordsize-64/tmpfile64.c: File removed.
59509         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59510         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59512         * stdio-common/vfscanf.c: Include <stdbool.h>.
59513         * nss/makedb.c: Likewise.
59514         * stdio-common/_i18n_number.h: Likewise.
59515         * argp/argp-help.c: Likewise.
59516         * posix/wordexp.c: Likewise.
59517         * sysdeps/posix/spawni.c: Likewise.
59518         * nss/nss_files/files-initgroups.c: Likewise.
59519         * stdio-common/reg-modifier.c: Include <stdlib.h>.
59520         * nss/nss_files/files-initgroups.c: Likewise.
59521         * nss/nss_db/db-netgrp.c: Likewise.
59522         * nss/nss_db/db-initgroups.c: Likewise.
59523         * io/fchmodat.c: Include <sys/stat.h>.
59525         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59526         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59528         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59529         [HAVE_MMAP].
59531         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59532         Add multiple inclusion protection.
59534 2012-07-27  David S. Miller  <davem@davemloft.net>
59536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59538 2012-07-27  Gary Benson  <gbenson@redhat.com>
59540         [BZ #14298]
59541         * elf/rtld.c: Include <stap-probe.h>.
59542         (dl_main): Added static probes "init_start" and "init_complete".
59543         * elf/dl-load.c: Include <stap-probe.h>.
59544         (lose): Take new parameter "nsid".
59545         Added static probe "map_failed".
59546         (_dl_map_object_from_fd): Pass namespace id to lose.
59547         Added static probe "map_start".
59548         (open_verify): Pass namespace id to lose.
59549         * elf/dl-open.c: Include <stap-probe.h>.
59550         (dl_open_worker) Added static probes "map_complete", "reloc_start"
59551         and "reloc_complete".
59552         * elf/dl-close.c: Include <stap-probe.h>.
59553         (_dl_close_worker): Added static probes "unmap_start" and
59554         "unmap_complete".
59555         * elf/rtld-debugger-interface.txt: New file documenting the above.
59557 2012-07-26  Roland McGrath  <roland@hack.frob.com>
59559         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59560         rather than a string variable.
59561         * sunrpc/rpc_main.c (h_output): Likewise.
59562         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59564 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
59566         * inet/check_native.c: New file.
59568 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
59570         [BZ #13629]
59571         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59572         if larger part has absolute value 1.0.
59573         * math/s_clog10.c (__clog10): Likewise.
59574         * math/s_clog10f.c (__clog10f): Likewise.
59575         * math/s_clog10l.c (__clog10l): Likewise.
59576         * math/s_clogf.c (__clogf): Likewise.
59577         * math/s_clogl.c (__clogl): Likewise.
59578         * math/libm-test.inc (clog_test): Add more tests.
59579         (clog10_test): Likewise.
59580         * sysdeps/i386/fpu/libm-test-ulps: Update.
59581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59583         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59584         (pltexit): Likewise.
59585         (La_regs): Likewise.
59586         (La_retval): Likewise.
59587         (int_retval): Likewise.
59588         Update #error for removed macros to refer only to definitions in
59589         tst-audit.h.
59590         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59591         macro.
59592         (pltexit): Likewise.
59593         (La_regs): Likewise.
59594         (La_retval): Likewise.
59595         (int_retval): Likewise.
59596         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59597         macro.
59598         (pltexit): Likewise.
59599         (La_regs): Likewise.
59600         (La_retval): Likewise.
59601         (int_retval): Likewise.
59602         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59603         macro.
59604         (pltexit): Likewise.
59605         (La_regs): Likewise.
59606         (La_retval): Likewise.
59607         (int_retval): Likewise.
59608         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59609         macro.
59610         (pltexit): Likewise.
59611         (La_regs): Likewise.
59612         (La_retval): Likewise.
59613         (int_retval): Likewise.
59614         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59615         macro.
59616         (pltexit): Likewise.
59617         (La_regs): Likewise.
59618         (La_retval): Likewise.
59619         (int_retval): Likewise.
59620         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59621         macro.
59622         (pltexit): Likewise.
59623         (La_regs): Likewise.
59624         (La_retval): Likewise.
59625         (int_retval): Likewise.
59626         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59627         macro definitions in tst-audit.h.
59628         * sysdeps/i386/tst-audit.h: New file.
59629         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59630         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59631         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59632         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59633         * sysdeps/sh/tst-audit.h: Likewise.
59634         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59635         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59636         * sysdeps/x86_64/tst-audit.h: Likewise.
59638 2012-07-26  Andreas Jaeger  <aj@suse.de>
59640         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59641         ptrace.
59643         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59644         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59645         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59646         PTRACE_O_MASK.
59647         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59648         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59649         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59651         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59652         value.
59654         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59655         _sigsys.
59656         (si_call_addr, si_syscall, si_arch): Define new macro.
59657         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59658         _sigsys.
59659         (si_call_addr, si_syscall, si_arch): Define new marcro.
59660         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59661         _sigsys.
59662         (si_call_addr, si_syscall, si_arch): Define new macro.
59663         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59664         _sigsys.
59665         (si_call_addr, si_syscall, si_arch): Define new macro.
59667 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59669         [BZ #13717]
59670         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59671         Change to 2.4.21 where previously 2.4.1.
59672         * sysdeps/unix/sysv/linux/configure: Regenerated.
59673         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59674         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59675         Linux kernel version.
59676         (__ASSUME_STD_AUXV): Remove.
59677         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59678         kernel version.
59679         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59680         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59681         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59682         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59683         (__ASSUME_NETLINK_SUPPORT): Likewise.
59684         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59685         (__no_netlink_support): Remove conditional definition.
59686         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59687         Remove.
59688         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59689         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59690         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59691         (if_nameindex_ioctl): Remove.
59692         (if_nameindex_netlink): Do not handle __no_netlink_support.
59693         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59694         code.
59695         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59696         Remove conditional code.
59697         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59698         code.
59699         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59700         unconditional.
59701         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59702         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59703         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59704         Remove.
59705         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59706         [!__ASSUME_STD_AUXV]: Remove conditional code.
59707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59708         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59709         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59711         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59712         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59713         code.
59714         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59716         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59717         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59718         conditional code.
59719         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59721         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59722         code.
59723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59724         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59725         conditional code.
59726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59727         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59728         code unconditional.
59729         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59730         conditional code.
59731         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59732         unconditional.
59733         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59734         conditional code.
59735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59736         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59737         unconditional.
59738         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59739         conditional code.
59740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
59741         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59742         code unconditional.
59743         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59744         conditional code.
59745         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59746         unconditional.
59747         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59748         conditional code.
59749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
59750         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59751         code unconditional.
59752         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59753         conditional code.
59754         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59755         unconditional.
59756         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59757         conditional code.
59759 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
59761         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
59762         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
59763         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
59764         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
59765         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
59766         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
59767         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
59768         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
59769         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
59770         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
59771         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
59772         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
59773         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
59774         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
59775         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
59776         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
59777         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
59778         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
59779         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
59780         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
59781         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
59782         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
59783         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59785 2012-07-25  Florian Weimer  <fweimer@redhat.com>
59787         * Versions.def: Add GLIBC_2.17.
59788         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
59789         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
59790         Introduce __libc_secure_getenv.
59791         * stdlib/Versions (2.17): Add secure_getenv
59792         (GLIBC_PRIVATE): Add __libc_secure_getenv.
59793         * stdlib/secure-getenv.c: Rename __secure_getenv to
59794         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
59795         symbol __secure_getenv for GLIBC_2.0.
59796         * stdlib/tst-secure-getenv.c: New.
59797         * stdlib/Makefile (tests): Add testcase.
59798         * manual/startup.texi (Environment Access): Document
59799         secure_getenv.
59800         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
59801         __libc_secure_getenv.
59802         * inet/ruserpass.c (ruserpass): Likewise.
59803         * malloc/mtrace.c (mtrace): Likewise.
59804         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
59805         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
59806         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
59807         * sysdeps/posix/tempname.c: Likewise.  Evaluate
59808         HAVE_SECURE_GETENV.
59809         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
59810         __secure_getenv to __libc_secure_getenv.
59811         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
59812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59813         Likewise.
59814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59815         Likewise.
59816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59818         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59824 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59826         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
59827         (struct La_i86_retval): Likewise.
59828         (struct La_x86_64_regs): Likewise.
59829         (struct La_x86_64_retval): Likewise.
59830         (struct La_x32_regs): Likewise.
59831         (struct La_x32_retval): Likewise.
59832         (struct La_ppc32_regs): Likewise.
59833         (struct La_ppc32_retval): Likewise.
59834         (struct La_ppc64_regs): Likewise.
59835         (struct La_ppc64_retval): Likewise.
59836         (struct La_sh_regs): Likewise.
59837         (struct La_sh_retval): Likewise.
59838         (struct La_s390_32_regs): Likewise.
59839         (struct La_s390_32_retval): Likewise.
59840         (struct La_s390_64_regs): Likewise.
59841         (struct La_s390_64_retval): Likewise.
59842         (struct La_sparc32_regs): Likewise.
59843         (struct La_sparc32_retval): Likewise.
59844         (struct La_sparc64_regs): Likewise.
59845         (struct La_sparc64_retval): Likewise.
59846         (struct audit_ifaces): Remove architecture-specific pltenter and
59847         pltexit members.
59848         * sysdeps/i386/ldsodefs.h: New file.
59849         * sysdeps/powerpc/ldsodefs.h: Likewise.
59850         * sysdeps/s390/ldsodefs.h: Likewise.
59851         * sysdeps/sh/ldsodefs.h: Likewise.
59852         * sysdeps/sparc/ldsodefs.h: Likewise.
59853         * sysdeps/x86_64/ldsodefs.h: Likewise.
59855 2012-07-25  Marek Polacek  <polacek@redhat.com>
59857         [BZ #6808]
59858         * math/libm-test.inc (yn_test): Add another test.
59859         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
59860         to ERANGE when the result is +-Inf.
59861         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59862         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
59863         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
59864         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
59866 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
59868         * conform/data/time.h-data (NULL): Use macro-constant.  Require
59869         equal to 0.
59870         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
59871         clock_t.
59872         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
59874 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
59876         * configure.in <sysdeps resolving>: Correct printing
59877         Implies_before.
59878         * configure: Regenerate.
59880 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
59882         * math/w_ilogb.c: Include <limits.h>.
59883         * math/w_ilogbl.c: Likewise.
59885 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59887         * manual/lang.texi (__va_copy): Document primarily as ISO C99
59888         va_copy.  Document allowing for unavailable va_copy only as
59889         pre-C99 compatibility.
59890         * manual/string.texi (Copying and Concatenation): Use va_copy
59891         instead of __va_copy in concat example.
59893 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
59895         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
59896         (__sendto): Use create_address_port.  Initialize APORT and deallocate
59897         it if not null.
59899         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
59900         with O_NOLINK passed to __file_name_lookup.
59902         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
59903         with O_NOLINK passed to __file_name_lookup.
59905         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
59906         negative N or less than NGIDS.
59908         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
59909         type to string_t.  Set ERANGE as errno and return it if NAME is not big
59910         enough.  Use memcpy instead of strncpy.
59912 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59914         * elf/Makefile (check-data): Remove.
59915         (localplt.data): New vpath directive.
59916         ($(objpfx)check-localplt.out): Use localplt.data from vpath
59917         instead of $(check-data).
59918         * scripts/data/localplt-generic.data: Move to ...
59919         * sysdeps/generic/localplt.data: ... here.
59920         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
59921         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
59922         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
59923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
59924         ... here.
59925         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
59926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
59927         ... here.
59928         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
59929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
59930         ... here.
59931         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
59933         ... here.
59934         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
59935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
59936         ... here.
59937         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
59938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
59939         ... here.
59941 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59943         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59944         PPC32 and PPC64 files.
59945         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59946         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59948 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59950         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59951         __makecontext_ret to ...
59952         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59953         ... here and call exit if uc_link is NULL.  New file.
59954         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59955         __makecontext_ret.S.
59956         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59957         __makecontext_ret to ...
59958         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59959         ... here and call exit if uc_link is NULL.  New file.
59960         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59961         __makecontext_ret.S.
59963 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59965         * elf/elf.h (R_390_IRELATIVE): New definition.
59966         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59967         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
59968         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59969         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59970         (elf_machine_lazy_rel): Likewise.
59971         * sysdeps/s390/dl-irel.h: New file.
59972         * sysdeps/s390/s390-64/memcpy.S: New asm code.
59973         * sysdeps/s390/s390-64/memset.S: New asm code.
59974         * sysdeps/s390/s390-64/memcmp.S: New asm code.
59975         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59976         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59977         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59978         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59979         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59980         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59981         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59982         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59983         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59984         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59985         * sysdeps/s390/s390-32/memcpy.S: New asm code.
59986         * sysdeps/s390/s390-32/memset.S: New asm code.
59987         * sysdeps/s390/s390-32/memcmp.S: New asm code.
59989 2012-07-17  Marek Polacek  <polacek@redhat.com>
59991         [BZ #14349]
59992         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59993         * sysdeps/s390/s390-64/configure.in: Likewise.
59994         * sysdeps/sparc/configure.in: Likewise.
59995         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59996         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59997         * sysdeps/i386/configure.in: Likewise.
59998         * sysdeps/x86_64/configure.in: Likewise.
59999         * sysdeps/sh/configure.in: Likewise.
60000         * sysdeps/s390/s390-32/configure: Regenerated.
60001         * sysdeps/s390/s390-64/configure: Likewise.
60002         * sysdeps/x86_64/configure: Likewise.
60003         * sysdeps/sh/configure: Likewise.
60004         * sysdeps/powerpc/powerpc64/configure: Likewise.
60005         * sysdeps/powerpc/powerpc32/configure: Likewise.
60006         * sysdeps/sparc/configure: Likwise.
60007         * sysdeps/i386/configure: Likewise.
60009         * elf/dl-open.c: Comment fixes.
60011 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60013         * Makefile [CXX] (check-data): Remove.
60014         [CXX] (c++-types.data): New vpath directive.
60015         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60016         vpath.  Do not allow for C++ type data being missing.
60017         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60018         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60019         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60020         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60021         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60022         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60023         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60025         ... here.
60026         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60028         ... here.
60029         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60031         ... here.
60032         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60034         ... here.
60035         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60037         ... here.
60038         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60040         ... here.
60041         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60043         ... here.
60044         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60047         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60048         definitions to architecture-specific files.
60049         (TLS_IE): Likewise.
60050         (TLS_LD): Likewise.
60051         (TLS_GD): Likewise.
60052         * sysdeps/i386/tls-macros.h: New file.
60053         * sysdeps/powerpc/tls-macros.h: Likewise.
60054         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60055         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60056         * sysdeps/sh/tls-macros.h: Likewise.
60057         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60058         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60059         * sysdeps/x86_64/tls-macros.h: Likewise.
60061 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60063         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60064         zero value for regular exit case.
60066         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60067         (__start_context): Preserve zero value for regular exit case.
60069 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60070             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60072         * manual/setjmp.texi (setcontext): Clarify normal process
60073         termination when uc_link is the null pointer.
60074         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60075         exit call.
60077 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60079         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60080         preprocessor.  Test for each exception mask separately.
60082 2012-07-16  Andreas Jaeger  <aj@suse.de>
60084         * po/ru.po: Update from translation team.
60086 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60088         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60089         equal to 0.
60090         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60091         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60092         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60093         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60094         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60096 2012-07-13  Andreas Jaeger  <aj@suse.de>
60098         * po/fr.po: Update from translation team.
60100 2012-07-12  Marek Polacek  <polacek@redhat.com>
60102         [BZ #14173]
60103         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60104         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60105         loop condition.
60107 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60109         [BZ #13717]
60110         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60111         Change to 2.4.1 where previously 2.4.0.
60112         * sysdeps/unix/sysv/linux/configure: Regenerated.
60113         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60114         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60115         version.
60116         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60117         (__ASSUME_AT_CLKTCK): Remove.
60118         (__ASSUME_AT_PAGESIZE): Likewise.
60119         (__ASSUME_AT_XID): Likewise.
60120         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60121         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60122         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60123         unconditionally.
60124         (HAVE_AUX_PAGESIZE): Likewise.
60125         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60126         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60127         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60129 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60131         [BZ #14307]
60132         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60133         the temporary buffer used to invoke __gethostbyname2_r,
60134         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60135         host_data / struct gaih_addrtuple.
60136         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60137         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60138         header file nss/nsswitch.h.
60139         * nss/nsswitch.h (global scope): Add definition of implementation
60140         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60141         resolv/nss_dns/dns-host.c).
60143 2012-07-11  Andreas Jaeger  <aj@suse.de>
60145         * po/fr.po: Update from translation team.
60147         * po/sv.po: Update from translation team
60148         * po/fr.po: Another update from translation team.
60150 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60152         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60153         for subnormals or multiply small sinh result by itself.
60154         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60157 2012-07-11  David S. Miller  <davem@davemloft.net>
60159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60161 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60163         [BZ #14347]
60164         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60165         (INTERNAL_MARK): Shift it here.
60167 2012-07-10  Marek Polacek  <polacek@redhat.com>
60169         [BZ #14151]
60170         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60171         libc_cv_asm_global_directive with .globl.
60172         * configure: Regenerated.
60173         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60174         with .globl.
60175         * sysdeps/i386/configure: Regenerated.
60176         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60177         with .globl.
60178         * sysdeps/x86_64/configure: Regenerated.
60179         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60180         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60181         * elf/tst-unique2mod2.c: Likewise.
60182         * elf/tst-unique2mod1.c: Likewise.
60183         * elf/tst-unique1mod2.c: Likewise.
60184         * elf/tst-unique1mod1.c: Likewise.
60185         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60186         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60187         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60188         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60189         * sysdeps/mach/sysdep.h: Likewise.
60190         * sysdeps/i386/sysdep.h: Likewise.
60191         * sysdeps/i386/i386-mcount.S: Likewise.
60192         * sysdeps/x86_64/_mcount.S: Likewise.
60193         * sysdeps/x86_64/sysdep.h: Likewise.
60194         * sysdeps/sh/_mcount.S: Likewise.
60195         * sysdeps/sh/sysdep.h: Likewise.
60196         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60197         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60198         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60199         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60200         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60201         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60202         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60203         * locale/localeinfo.h: Likewise.
60204         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60205         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60207 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60209         [BZ #14336]
60210         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60211         system".
60212         * manual/message.texi (The Uniforum approach): Likewise.
60213         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60214         (glibc iconv Implementation): Likewise.
60216 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60218         [BZ #14337]
60219         * math/s_clog.c (__clog): Avoid scaling a value down where that
60220         could result in underflow.
60221         * math/s_clog10.c (__clog10): Likewise.
60222         * math/s_clog10f.c (__clog10f): Likewise.
60223         * math/s_clog10l.c (__clog10l): Likewise.
60224         * math/s_clogf.c (__clogf): Likewise.
60225         * math/s_clogl.c (__clogl): Likewise.
60226         * math/libm-test.inc (clog_test): Add more tests.
60227         (clog10_test): Likewise.
60228         * sysdeps/i386/fpu/libm-test-ulps: Update.
60229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60231 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60233         [BZ #14283]
60234         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60235         by 7 not 8 to examine high bit of fractional part.
60237         [BZ #14042]
60238         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60239         for call to __mcount_internal.
60240         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60241         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60242         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60244 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60246         [BZ #14154]
60247         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60248         approximation for values within 0x1p-13f of an odd multiple of
60249         pi/4.
60250         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60251         exception.  Add more tests.
60252         * sysdeps/i386/fpu/libm-test-ulps: Update.
60254         [BZ #6778]
60255         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60256         inputs and return -1 for them.  Do not check for +Inf in case not
60257         reachable for +Inf.
60258         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60259         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60260         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60261         and return -1 for them.  Do not check for +Inf in case not
60262         reachable for +Inf.
60263         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60264         define.
60265         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60266         and return -1 for them.  Do not check for +Inf in case not
60267         reachable for +Inf.
60268         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60269         spurious underflow.
60270         * sysdeps/i386/fpu/libm-test-ulps: Update.
60271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60273 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60275         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60277 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60279         [BZ #14157]
60280         [BZ #14331]
60281         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60282         could result in spurious underflow.  Scale down values above
60283         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60284         * math/s_csqrtf.c (__csqrtf): Likewise.
60285         * math/s_csqrtl.c (__csqrtl): Likewise.
60286         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60287         spurious underflow.
60288         * sysdeps/i386/fpu/libm-test-ulps: Update.
60289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60291 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60293         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60294         xopen-msg.sed.
60295         * catgets/xopen-msg.awk: New file.
60296         * catgets/xopen-msg.sed: Removed.
60298         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60299         po2text.sed.
60300         * intl/po2test.awk: New file.
60301         * intl/po2test.sed: Removed.
60303 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60305         [BZ #14328]
60306         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60307         or multiply small sinh result by itself.
60308         * math/s_ctanf.c (__ctanf): Likewise.
60309         * math/s_ctanh.c (__ctanh): Likewise.
60310         * math/s_ctanhf.c (__ctanhf): Likewise.
60311         * math/s_ctanhl.c (__ctanhl): Likewise.
60312         * math/s_ctanl.c (__ctanl): Likewise.
60313         * math/libm-test.inc (ctan_test_tonearest): New function.
60314         (ctan_test_towardzero): Likewise.
60315         (ctan_test_downward): Likewise.
60316         (ctan_test_upward): Likewise.
60317         (ctanh_test_tonearest): Likewise.
60318         (ctanh_test_towardzero): Likewise.
60319         (ctanh_test_downward): Likewise.
60320         (ctanh_test_upward): Likewise.
60321         (main): Call these new functions.
60322         * sysdeps/i386/fpu/libm-test-ulps: Update.
60323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60325 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
60327         * .gitignore: Delete /ports entry.
60329 2012-07-03  Andreas Jaeger  <aj@suse.de>
60331         * po/bg.po: Update from translation team.
60332         * po/cs.po: Likewise.
60333         * po/de.po: Likewise.
60334         * po/hr.po: Likewise.
60335         * po/nl.pl: Likewise.
60336         * po/pl.po: Likewise.
60337         * po/vi.po: Likewise.
60339 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
60341         * Makeconfig [!+link] (+link-before-libc): New variable.
60342         [!+link] (+link-after-libc): Likewise.
60343         [!+link] (+link-tests): Likewise.
60344         [!+link] (+link): Define in terms of $(+link-before-libc) and
60345         $(+link-after-libc).
60346         [!+link-static] (+link-static-before-libc): New variable.
60347         [!+link-static] (+link-static-after-libc): Likewise.
60348         [!+link-static] (+link-static-tests): Likewise.
60349         [!+link-static] (+link-static): Define in terms of
60350         $(+link-static-before-libc) and $(+link-static-after-libc).
60351         [build-shared] (link-libc-before-gnulib): New variable.
60352         [build-shared] (link-libc-tests): Likewise.
60353         [build-shared] (link-libc): Define in terms of
60354         $(link-libc-before-gnulib).
60355         [!build-shared] (link-libc-tests): New variable.
60356         (link-libc-static-tests): New variable.
60357         [!gnulib] (gnulib-arch): New variable.
60358         [!gnulib] (gnulib-tests): Likewise.
60359         [!gnulib] (static-gnulib-arch): Likewise.
60360         [!gnulib] (static-gnulib-tests): Likewise.
60361         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
60362         Define with "=" instead of ":=".
60363         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
60364         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
60365         * Rules (binaries-all-notests): New variable.
60366         (binaries-all-tests): Likewise.
60367         (binaries-static-notests): Likewise.
60368         (binaries-static-tests): Likewise.
60369         (binaries-all): Define using $(binaries-all-notests) and
60370         $(binaries-all-tests).
60371         (binaries-static): Define using $(binaries-static-notests) and
60372         $(binaries-static-tests).
60373         (binaries-shared-tests): New variable.
60374         (binaries-shared-notests): Likewise.
60375         (binaries-shared): Remove variable.
60376         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60377         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60378         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60379         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60380         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60381         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60382         * elf/Makefile (sln-modules): New variable.
60383         (extra-objs): Add $(sln-modules:=.o).
60384         (ldconfig-modules): Add static-stubs.
60385         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60386         * elf/static-stubs.c: New file.
60388         [BZ #14283]
60389         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60390         by 7 not 8 to examine high bit of fractional part.  Use volatile
60391         variables when splitting into final array of floats if
60392         __FLT_EVAL_METHOD__ != 0.
60393         * math/libm-test.inc (cos_test): Add another test.
60394         (sin_test): Likewise.
60395         * sysdeps/i386/fpu/libm-test-ulps: Update.
60397         [BZ #14273]
60398         * math/libm-test.inc (cosh_test): Add more tests.
60400         * version.h (RELEASE): Set to "development".
60401         (VERSION): Set to "2.16.90".
60403 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60405         * NEWS: Update copyright. Remove last-updated date.
60406         Mention math library bug fixes and timezone data changes.
60407         * README: Mention GNU/Hurd, x32, and HPPA support status.
60409 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60411         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60413 2012-06-27  Andreas Jaeger  <aj@suse.de>
60415         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60417 2012-06-25  Andreas Jaeger  <aj@suse.de>
60419         * sysdeps/s390/fpu/libm-test-ulps: Update.
60421 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60422             Thomas Schwinge  <thomas@codesourcery.com>
60424         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60425         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60426         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60427         fanotify_mark.
60429 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60431         * sysdeps/mach/start.c: Remove file.
60432         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60433         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60434         * sysdeps/sh/init-first.c: Likewise.
60436         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60437         registers for frame unwinding purposes, add CFI directives.
60438         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60439         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60440         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60441         Likewise.
60443         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60444         __fortify_fail returning.
60445         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60447         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60448         sysdeps/sh/____longjmp_chk.S.
60449         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60450         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60451         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60452         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60454         * sysdeps/sh/abort-instr.h: New file.
60455         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60456         process in case exit returns.
60458         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60459         initialize the GOT register before use.
60461         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60462         calculation of ARGC > 4.
60464         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60465         meaningful names to some local labels.
60467 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60468             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60470         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60471         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60472         (__arch_compare_and_exchange_val_16_acq): Likewise.
60473         (__arch_compare_and_exchange_val_32_acq): Likewise.
60474         (atomic_exchange_and_add): Fix gUSA sequence.
60475         (atomic_add): Likewise.
60476         (atomic_add_negative): Likewise.
60477         (atomic_add_zero): Likewise.
60478         (atomic_bit_test_set): Likewise.
60480 2012-06-22  Andreas Schwab  <schwab@redhat.com>
60482         [BZ #13579]
60483         * include/link.h (struct link_map): Add l_free_initfini.
60484         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60485         l_initfini.
60486         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60487         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60488         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60489         set.
60491 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
60493         * configure.in: Use AC_LANG_SOURCE.
60494         * configure: Regenerate.
60496 2012-06-22  Roland McGrath  <roland@hack.frob.com>
60498         * configure.in (libc_cv_localstatedir): New substituted variable.
60499         * configure: Regenerated.
60500         * config.make.in (localstatedir): New variable, substituted from
60501         libc_cv_localstatedir.
60502         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60503         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60504         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60505         * sysdeps/gnu/configure: Regenerated.
60507 2012-06-21  Jeff Law  <law@redhat.com>
60509         [BZ #14277]
60510         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60511         free.  Simplify list management for _LIBC case.
60513 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
60515         [BZ #14273]
60516         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60517         Clear sign bit of 64-bit integer value before comparing against
60518         overflow value.
60520         * sysdeps/mach/configure: Regenerated.
60522 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
60524         [BZ #14278]
60525         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60527 2012-06-21  Jeff Law  <law@redhat.com>
60529         [BZ #13882]
60530         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
60531         uint16_t for elements in the "seen" array to avoid char overflows.
60532         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60533         * elf/dl-open.c (dl_open_worker): Likewise.
60535 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
60537         * scripts/list-sources.sh: Scan PORTS for translations.
60538         * po/libc.pot: Regenerated.
60540 2012-06-21  Andreas Jaeger  <aj@suse.de>
60542         [BZ #12194]
60543         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60544         warning.
60545         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60546         * bits/byteswap-16.h (__bswap_16): Likewise.
60547         * bits/byteswap.h (__bswap_constant_16): Likewise.
60549 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
60551         [BZ #14117]
60552         * sysdeps/i386/fpu_control.h: Removed.
60553         * sysdeps/x86_64/fpu_control.h: Moved to ...
60554         * sysdeps/x86/fpu_control.h: Here.
60556         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60557         (_FPU_SETCW): Likewise.
60559 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
60561         [BZ #14117]
60562         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60563         * sysdeps/x86/fpu/bits/mathinline.h: This.
60564         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60566         [BZ #14050]
60567         [BZ #14117]
60568         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60569         functions if __x86_64__ is defined.
60571 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
60573         * string/endian.h: Add !__ASSEMBLER__ condition for including
60574         conversion interfaces.
60576 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
60578         [BZ #14241]
60579         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60580         of ABS(x) in calculating zero to negative powers other than odd
60581         integers.
60582         * math/libm-test.inc (pow_test): Add more tests.
60584 2012-06-15  Andreas Jaeger  <aj@suse.de>
60586         * manual/contrib.texi (Contributors): Update entry of Liubov
60587         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60588         Machado Filho.
60590 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
60592         * string/string.h: Add __wur to GNU version of strerror_r.
60594 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
60596         [BZ #14229]
60597         * string/Makefile (tests): Add tst-strtok_r.
60598         * string/tst-strtok_r.c: New file.
60599         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60600         RAX_LP/RDX_LP on SAVE_PTR.
60602 2012-06-14  Roland McGrath  <roland@hack.frob.com>
60604         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60606 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
60608         * libm_test.inc (csqrt_test): Allow more spurious underflow
60609         exceptions.
60610         (j0_test): Likewise.
60611         (j1_test): Likewise.
60612         (y0_test): Likewise.
60613         (y1_test): Likewise.
60615 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
60617         * po/Makefile (libc.pot): Use UTF-8 charset.
60619 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60621         [BZ #14210]
60622         Suppress sign-conversion warning from FD_SET.
60623         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60624         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60625         not unsigned long int.
60626         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60628 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60630         [BZ #14050]
60631         [BZ #14117]
60632         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60633         __extern_always_inline instead of __extern_inline.
60634         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60635         (__signbit): Likewise.
60636         (__signbitl): Support C++ namespace.
60637         (lrintf): New inline function.
60638         (lrint): Likewise.
60639         (llrintf): Likewise.
60640         (llrint): Likewise.
60641         (fmaxf): Likewise.
60642         (fmax): Likewise.
60643         (fminf): Likewise.
60644         (fmin): Likewise.
60645         (rint): Likewise.
60646         (rintf): Likewise.
60647         (ceil): Likewise.
60648         (ceilf): Likewise.
60649         (floor): Likewise.
60650         (floorf): Likewise.
60651         (nearbyint): Likewise.
60652         (nearbyintf): Likewise.
60654 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60656         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60657         non-default versions.
60659 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60661         [BZ #14218]
60662         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60664 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60666         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60667         (FE_UPWARD, FE_DOWNWARD): Don't define.
60668         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60669         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60671         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60672         reading it.
60673         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60674         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60676 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60678         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60679         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60680         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60681         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60683 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
60685         [BZ #14117]
60686         * sysdeps/i386/fpu/bits/fenv.h: Removed.
60687         * sysdeps/i386/fpu/Implies: New file.
60688         * sysdeps/x86_64/fpu/Implies: Likewise.
60689         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60690         * sysdeps/x86/fpu/bits/fenv.h: This.
60692         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60693         __SSE_MATH__.
60695 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60697         [BZ #14134]
60698         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60699         character 0xffff that matches the last element of the
60700         conversion table.
60702 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60704         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60705         fmodl commit.
60707 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60709         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60710         values higher than 25.6283.
60712 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60714         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60715         subnormal exponent extraction and add some __builtin_expect.
60716         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60717         Fix for subnormal mantissa calculation.
60719 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
60721         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60722         cpu2 is -1 and errno is not ENOSYS.
60724 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
60726         [BZ #14117]
60727         * sysdeps/i386/i486/bits/string.h: Renamed to ...
60728         * sysdeps/x86/bits/string.h: This.
60729         * sysdeps/x86_64/bits/string.h: Removed.
60731         * sysdeps/i386/i486/bits/string.h: Define inline functions only
60732         if not compiling for x86-64, but compiling for >= i486.
60734         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60735         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60737         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
60738         New macro from Linux kernel 3.4.0.
60739         (FP_XSTATE_MAGIC2): Likewise.
60740         (FP_XSTATE_MAGIC2_SIZE): Likewise.
60741         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60742         (struct _fpx_sw_bytes): New struct.
60743         (struct _xsave_hdr): Likewise.
60744         (struct _ymmh_state): Likewise.
60745         (struct _xstate): Likewise.
60747         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60748         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
60749         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
60750         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
60751         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
60752         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
60754         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
60755         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
60756         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
60757         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
60758         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
60759         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
60761 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60763         [BZ #13743]
60764         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
60765         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
60766         (sysdep_headers): Include sys/platform/ppc.h.
60767         * sysdeps/powerpc/test-gettimebase.c: Test for
60768         __ppc_get_timebase() to catch future ISA opcode/insn changes.
60769         * manual/Makefile (appendices): Include platform.texi.
60770         * manual/contrib.texi (Contributors): Update @node pointers.
60771         * manual/maint.texi (Maintenance): Likewise.
60772         (Platform): New node.
60773         * manual/platform.texi: New file.  Document the new features.
60775 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60776             Jakub Jelinek  <jakub@redhat.com>
60778         [BZ #14188]
60779         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
60780         where __builtin_expect is unavailable.
60782 2012-06-03  David S. Miller  <davem@davemloft.net>
60784         * stdlib/longlong.h: Updated from GCC.
60786 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
60788         [BZ #14042]
60789         * sysdeps/powerpc/powerpc32/mcount.c: New file.
60790         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
60791         __mcount_internal.
60792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60793         (GLIBC_2.16): Likewise.
60795 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60797         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
60799 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
60802         (default-abi): New variable.
60803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
60804         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
60805         variable.
60806         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
60807         Likewise.
60808         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
60809         Likewise.
60810         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
60811         Likewise.
60813         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
60814         definition.  Document in comment.
60816 2012-06-01  David S. Miller  <davem@davemloft.net>
60818         * stdlib/longlong.h: Updated from GCC.
60820 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60822         [BZ #14117]
60823         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
60824         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
60825         sys/debugreg.h sys/io.h here.
60826         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
60827         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
60828         sys/io.h.
60829         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
60830         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
60831         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
60832         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
60833         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
60834         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
60836         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
60837         Define only if __x86_64__ is defined.
60839 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60841         [BZ #14048]
60842         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
60843         Use int64_t for variable i.
60844         * math/libm-test.inc (fmod_test): Add more tests.
60846         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
60847         z computation is not scheduled after fetestexcept.
60848         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
60849         Use math_force_eval instead of asm to ensure calculation scheduled
60850         before exception test.
60851         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
60852         Ensure a1 + u.d computation is not scheduled after fetestexcept.
60854 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
60856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
60857         computation is not scheduled after fetestexcept.
60859 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60861         [BZ #14117]
60862         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
60863         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
60865 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60867         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
60868         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60870 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60872         [BZ #14117]
60873         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
60874         <bits/wordsize.h>.
60875         (__WCHAR_MIN): Support __WORDSIZE == 64.
60876         (__WCHAR_MAX): Likewise.
60878         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
60879         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
60881         [BZ #14183]
60882         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
60883         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
60885         [BZ #14117]
60886         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
60887         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
60889         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
60890         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
60892         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
60893         Defined to 1 if __x86_64__ isn't defined.
60894         (_STAT_VER_LINUX_OLD): New.
60895         (st_atime): Remove duplicate.
60896         (st_mtime): Likewise.
60897         (st_ctime): Likewise.
60899 2012-05-31  David S. Miller  <davem@davemloft.net>
60901         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
60902         entries.
60904 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
60906         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
60907         gen-libm-test.pl.
60909         [BZ #14132]
60910         * elf/dl-reloc.c: Include <_itoa.h>.
60911         (_dl_reloc_bad_type): Remove use of INTUSE.
60912         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
60913         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
60914         * stdio-common/psiginfo.c (psiginfo): Likewise.
60915         * stdio-common/psignal.c (psignal): Likewise.
60916         * string/strsignal.c (strsignal): Likewise.
60917         * include/signal.h (_sys_siglist): Declare hidden proto.
60918         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
60919         INTVARDEF with libc_hidden_data_def.
60920         * stdio-common/itoa-udigits.c: Likewise.
60921         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
60922         (_itoa_lower_digits_internal): Remove declaration.
60923         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
60924         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
60925         (_sys_sigabbrev_internal): Remove aliases.
60926         (_sys_siglist): Define hidden alias.
60928 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
60930         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60931         bits/sysctl.h.
60933 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60935         [BZ #14117]
60936         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
60937         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60939         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
60940         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
60941         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
60942         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60943         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60944         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60946         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60947         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60948         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60950         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60951         with __addr.
60952         (insw): Likewise.
60953         (insl): Likewise.
60954         (outsb): Likewise.
60955         (outsw): Likewise.
60956         (outsl): Likewise.
60958         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60959         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60960         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60962         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60963         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60964         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60965         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60966         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60967         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60969         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60970         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60972         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60973         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60975         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60976         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60977         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60979         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60980         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60981         to ...
60982         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60984         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60985         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60986         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60988         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60989         for x86-64.
60990         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60992 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
60994         * math/math.h (M_El): Use two more decimal places.
60995         (M_LOG2El): Likewise.
60996         (M_LOG10El): Likewise.
60997         (M_LN2l): Likewise.
60998         (M_LN10l): Likewise.
60999         (M_PIl): Likewise.
61000         (M_PI_2l): Likewise.
61001         (M_PI_4l): Likewise.
61002         (M_1_PIl): Likewise.
61003         (M_2_PIl): Likewise.
61004         (M_2_SQRTPIl): Likewise.
61005         (M_SQRT2l): Likewise.
61006         (M_SQRT1_2l): Likewise.
61008 2012-05-31  David S. Miller  <davem@davemloft.net>
61010         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61011         values between float registers.
61012         * sysdeps/sparc/sparc64/memset.S: Likewise.
61013         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61015 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61017         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61018         -D_FORTIFY_SOURCE=1.
61019         (CPPFLAGS-tst-longjmp_chk.c): Define.
61020         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61021         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61022         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61023         CFLAGS-tst-wchar-h.c.
61025 2012-05-31  Marek Polacek  <polacek@redhat.com>
61027         [BZ #14132]
61028         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61029         __endmntent_internal): Remove declaration.
61030         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61031         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61032         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61034 2012-05-30  David S. Miller  <davem@davemloft.net>
61036         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61037         (___Q_simulate_exceptions): Use real FP ops rather than writing
61038         into the %fsr.
61039         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61040         Likewise.
61042 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61044         [BZ #14117]
61045         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61046         * sysdeps/x86/bits/xtitypes.h: This.
61048         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61049         * sysdeps/x86/bits/wordsize.h: This.
61051         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61052         * sysdeps/x86/bits/huge_vall.h: This.
61054         * sysdeps/i386/bits/select.h: Removed.
61055         * sysdeps/x86_64/bits/select.h: Renamed to ...
61056         * sysdeps/x86/bits/select.h: This.
61058         * sysdeps/i386/bits/setjmp.h: Removed.
61059         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61060         * sysdeps/x86/bits/setjmp.h: This.
61062         * sysdeps/i386/bits/mathdef.h: Removed.
61063         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61064         * sysdeps/x86/bits/mathdef.h: This.
61066 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61068         [BZ #14132]
61069         * include/sys/socket.h (__connect_internal)
61070         (__libc_sa_len_internal): Remove declaration.
61071         (__connect, __libc_sa_len): Declare hidden_proto.
61072         (SA_LEN): Remove use of INTUSE.
61073         * socket/connect.c: Add libc_hidden_def.
61074         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61075         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61076         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61077         alias.
61078         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61079         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61080         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61081         of adding _internal alias.
61083 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61085         [BZ #14117]
61086         * sysdeps/i386/bits/link.h: Removed.
61087         * sysdeps/i386/bits/linkmap.h: Likewise.
61088         * sysdeps/x86_64/bits/link.h: Renamed to ...
61089         * sysdeps/x86/bits/link.h: This.
61090         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61091         * sysdeps/x86/bits/linkmap.h: This.
61093         * sysdeps/i386/bits/endian.h: Removed.
61094         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61095         * sysdeps/x86/bits/endian.h: This.
61097         * sysdeps/i386/bits/byteswap.h: Removed.
61098         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61099         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61100         * sysdeps/x86/bits/byteswap.h: This.
61101         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61102         * sysdeps/x86/bits/byteswap-16.h: This.
61103         * sysdeps/i386/Implies: Add x86.
61104         * sysdeps/x86_64/Implies: Likewise.
61106 2012-05-30  David S. Miller  <davem@davemloft.net>
61108         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61109         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61110         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61111         (FP_TRAPPING_EXCEPTIONS): Define.
61112         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61113         (FP_TRAPPING_EXCEPTIONS): Define.
61114         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61115         subnormals only when inexact has been signalled or underflow
61116         exceptions are enabled.
61117         (_FP_PACK_CANONICAL): Likewise.
61119 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61121         [BZ #14183]
61122         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61123         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61125 2012-05-30  Richard Henderson  <rth@twiddle.net>
61127         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61128         with #ifndef NOT_IN_libc.
61130         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61131         marked to avoid plt entry.
61133 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61135         [BZ #14112]
61136         * Makeconfig (default-abi): New macro.
61137         (abi-includes): Likewise.
61138         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61139         $(abi-$(default-abi)-lib-soname) for soname if defined.
61140         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61141         abi-variants.
61142         * Makefile (installed-stubs): Likewise.
61143         * include/stubs-biarch.h: Removed.
61144         * scripts/lib-names.awk: Only handle one library at a time.
61145         * scripts/soversions.awk: Remove WORDSIZE support.
61146         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61147         entries.
61148         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61149         Removed.
61150         (syscall-list-default-condition): Likewise.
61151         (syscall-list-default-condition): Likewise.
61152         (syscall-list-includes): Likewise.
61153         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61154         syscall-list-* with abi-*.  Handle undefined abi-variants.
61155         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61156         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61157         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61158         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61159         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61160         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61161         Removed.
61162         (syscall-list-32-options): Likewise.
61163         (syscall-list-32-condition): Likewise.
61164         (syscall-list-64-options): Likewise.
61165         (syscall-list-64-condition): Likewise.
61166         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61167         macro.
61168         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61169         Renamed to ...
61170         (abi-*): This.
61171         (abi-64-ld-soname): New macro.
61172         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61173         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61174         Renamed to ...
61175         (abi-*): This.
61176         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61177         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61179 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61181         * sysdeps/unix/sysv/linux/kernel-features.h
61182         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61183         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61184         include <kernel-features.h>.
61185         [!__NR_ftruncate64]: Remove conditional code.
61186         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61187         [__NR_ftruncate64]: Make code unconditional.
61188         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61189         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61190         include <kernel-features.h>.
61191         [!__NR_ftruncate64]: Remove conditional code.
61192         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61193         [__NR_ftruncate64]: Make code unconditional.
61194         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61196         include <kernel-features.h>.
61197         [!__NR_ftruncate64]: Remove conditional code.
61198         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61199         [__NR_ftruncate64]: Make code unconditional.
61200         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61202         include <kernel-features.h>.
61203         [!__NR_ftruncate64]: Remove conditional code.
61204         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61205         [__NR_ftruncate64]: Make code unconditional.
61206         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61208         * configure.in (libc_cv_fpie): Weaken to a compile test using
61209         LIBC_TRY_CC_OPTION.
61210         * configure: Regenerated.
61212 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61218         Refreshed.
61219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61225         Refreshed.
61227 2012-05-27  David S. Miller  <davem@davemloft.net>
61229         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61230         (___Q_zero): New.
61231         (__Q_simulate_exceptions): Return void.  Change to simulate
61232         exceptions by writing into the %fsr.
61233         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61234         (__Qp_handle_exceptions): Likewise.
61235         (numbers): Delete.
61236         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61237         __Qp_handle_exceptions.
61238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61239         __Qp_handle_exceptions.
61240         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61241         as unused and give dummy FP_RND_NEAREST initializer.
61242         (FP_INHIBIT_RESULTS): Define.
61243         (___Q_simulate_exceptions): Update declaration.
61244         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61245         formatting.
61246         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61247         as unused and give dummy FP_RND_NEAREST initializer.
61248         (__Qp_handle_exceptions): Update declaration.
61249         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61250         formatting.
61252 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61254         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61255         the temporary FPU control word.
61256         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61257         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61258         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61259         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61260         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61261         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61262         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61263         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61264         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61265         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61266         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61268 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61270         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61271         fields.
61273 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61275         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61276         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61277         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61278         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61279         Likewise.
61280         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61281         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61282         Likewise.
61284 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61286         * po/h.po: Update from translation team.
61288 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61290         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61292         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61293         handling of denormals.
61294         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61295         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61296         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61297         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61298         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61299         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61300         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61301         Likewise.
61303 2012-05-26  Marek Polacek  <polacek@redhat.com>
61305         [BZ #14152]
61306         * math/libm-test.inc (fma_test): Don't always expect underflow
61307         exception.
61309 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61311         [BZ #12416]
61312         * elf/tst-execstack.c: Include stackinfo.h.
61313         (do_test): Adjust test case to ensure that pthread_getattr_np
61314         behaviour remains the same after marking stack executable.
61316 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61318         * sysdeps/unix/sysv/linux/kernel-features.h
61319         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61320         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61321         kernel-features.h.
61322         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61323         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61324         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61325         kernel-features.h.
61326         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61327         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61329 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
61331         * configure.in: Define the default includes to being none.
61332         * configure: Regenerated.
61334 2012-05-25  Roland McGrath  <roland@hack.frob.com>
61336         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61337         * sysdeps/x86_64/setjmp.S: Likewise.
61338         * sysdeps/i386/bsd-setjmp.S: Likewise.
61339         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61340         * sysdeps/i386/setjmp.S: Likewise.
61341         * sysdeps/i386/__longjmp.S: Likewise.
61342         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61343         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61345         * include/stap-probe.h: New file.
61346         * configure.in: Handle --enable-systemtap.
61347         * configure: Regenerated.
61348         * config.h.in (USE_STAP_PROBE): New #undef.
61349         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61350         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61351         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61353 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61355         [BZ #13717]
61356         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61357         to 2.4.0 where earlier.
61358         * sysdeps/unix/sysv/linux/configure: Regenerated.
61359         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61360         <kernel-features.h>.
61361         [__ASSUME_32BITUIDS]: Make code unconditional.
61362         [!__ASSUME_32BITUIDS]: Remove conditional code.
61363         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
61364         <kernel-features.h>.
61365         [__ASSUME_32BITUIDS]: Make code unconditional.
61366         [!__ASSUME_32BITUIDS]: Remove conditional code.
61367         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
61368         [__ASSUME_32BITUIDS]: Make code unconditional.
61369         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61370         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61371         <kernel-features.h>.
61372         [__ASSUME_32BITUIDS]: Make code unconditional.
61373         [!__ASSUME_32BITUIDS]: Remove conditional code.
61374         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61375         <kernel-features.h>.
61376         [__ASSUME_32BITUIDS]: Make code unconditional.
61377         [!__ASSUME_32BITUIDS]: Remove conditional code.
61378         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61379         <kernel-features.h>.
61380         [__ASSUME_32BITUIDS]: Make code unconditional.
61381         [!__ASSUME_32BITUIDS]: Remove conditional code.
61382         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61383         <kernel-features.h>.
61384         [__ASSUME_32BITUIDS]: Make code unconditional.
61385         [!__ASSUME_32BITUIDS]: Remove conditional code.
61386         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61387         <kernel-features.h>.
61388         [__ASSUME_32BITUIDS]: Make code unconditional.
61389         [!__ASSUME_32BITUIDS]: Remove conditional code.
61390         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61391         <kernel-features.h>.
61392         [__ASSUME_32BITUIDS]: Make code unconditional.
61393         [!__ASSUME_32BITUIDS]: Remove conditional code.
61394         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61395         <kernel-features.h>.
61396         [__ASSUME_32BITUIDS]: Make code unconditional.
61397         [!__ASSUME_32BITUIDS]: Remove conditional code.
61398         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61399         <kernel-features.h>.
61400         [__ASSUME_32BITUIDS]: Make code unconditional.
61401         [!__ASSUME_32BITUIDS]: Remove conditional code.
61402         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61403         <kernel-features.h>.
61404         [__ASSUME_32BITUIDS]: Make code unconditional.
61405         [!__ASSUME_32BITUIDS]: Remove conditional code.
61406         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61407         <kernel-features.h>.
61408         [__ASSUME_32BITUIDS]: Make code unconditional.
61409         [!__ASSUME_32BITUIDS]: Remove conditional code.
61410         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61411         <kernel-features.h>.
61412         [__NR_setresgid] (__setresgid): Do not declare.
61413         [__ASSUME_32BITUIDS]: Make code unconditional.
61414         [!__ASSUME_32BITUIDS]: Remove conditional code.
61415         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61416         <kernel-features.h>.
61417         [__NR_setresuid] (__setresuid): Do not declare.
61418         [__ASSUME_32BITUIDS]: Make code unconditional.
61419         [!__ASSUME_32BITUIDS]: Remove conditional code.
61420         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
61421         <kernel-features.h>.
61422         [__ASSUME_32BITUIDS]: Make code unconditional.
61423         [!__ASSUME_32BITUIDS]: Remove conditional code.
61424         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
61425         <kernel-features.h>.
61426         [__ASSUME_32BITUIDS]: Make code unconditional.
61427         [!__ASSUME_32BITUIDS]: Remove conditional code.
61428         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
61429         <kernel-features.h>.
61430         [__ASSUME_32BITUIDS]: Make code unconditional.
61431         [!__ASSUME_32BITUIDS]: Remove conditional code.
61432         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61433         <kernel-features.h>.
61434         [__ASSUME_32BITUIDS]: Make code unconditional.
61435         [!__ASSUME_32BITUIDS]: Remove conditional code.
61436         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61437         <kernel-features.h>.
61438         [__ASSUME_32BITUIDS]: Make code unconditional.
61439         [!__ASSUME_32BITUIDS]: Remove conditional code.
61440         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61441         <kernel-features.h>.
61442         [__ASSUME_32BITUIDS]: Make code unconditional.
61443         [!__ASSUME_32BITUIDS]: Remove conditional code.
61444         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61445         <kernel-features.h>.
61446         [__ASSUME_32BITUIDS]: Make code unconditional.
61447         [!__ASSUME_32BITUIDS]: Remove conditional code.
61448         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61449         <kernel-features.h>.
61450         [__ASSUME_32BITUIDS]: Make code unconditional.
61451         [!__ASSUME_32BITUIDS]: Remove conditional code.
61452         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61453         <kernel-features.h>.
61454         [__ASSUME_32BITUIDS]: Make code unconditional.
61455         [!__ASSUME_32BITUIDS]: Remove conditional code.
61456         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61457         <kernel-features.h>.
61458         [__ASSUME_32BITUIDS]: Make code unconditional.
61459         [!__ASSUME_32BITUIDS]: Remove conditional code.
61460         * sysdeps/unix/sysv/linux/kernel-features.h
61461         (__ASSUME_SETRESUID_SYSCALL): Remove.
61462         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61463         (__ASSUME_32BITUIDS): Likewise.
61464         (__ASSUME_LDT_WORKS): Likewise.
61465         (__ASSUME_O_DIRECTORY): Likewise.
61466         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61467         architecture but not kernel version.
61468         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61469         (__ASSUME_MMAP2_SYSCALL): Likewise.
61470         (__ASSUME_STAT64_SYSCALL): Likewise.
61471         (__ASSUME_IPC64): Likewise.
61472         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61473         <kernel-features.h>.
61474         [__ASSUME_32BITUIDS]: Make code unconditional.
61475         [!__ASSUME_32BITUIDS]: Remove conditional code.
61476         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61477         <kernel-features.h>.
61478         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61479         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61480         132096]: Remove conditional code.
61481         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61482         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61483         <kernel-features.h>.
61484         [__ASSUME_32BITUIDS]: Make code unconditional.
61485         [!__ASSUME_32BITUIDS]: Remove conditional code.
61486         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61487         <kernel-features.h>.
61488         [__ASSUME_32BITUIDS]: Make code unconditional.
61489         [!__ASSUME_32BITUIDS]: Remove conditional code.
61490         * sysdeps/unix/sysv/linux/setegid.c: Do not include
61491         <kernel-features.h>.
61492         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61493         unconditional.
61494         (__setresgid): Do not declare.
61495         [__ASSUME_32BITUIDS]: Make code unconditional.
61496         [!__ASSUME_32BITUIDS]: Remove conditional code.
61497         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61498         <kernel-features.h>.
61499         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61500         unconditional.
61501         (__setresuid): Do not declare.
61502         [__ASSUME_32BITUIDS]: Make code unconditional.
61503         [!__ASSUME_32BITUIDS]: Remove conditional code.
61504         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61505         <kernel-features.h>.
61506         [__ASSUME_32BITUIDS]: Make code unconditional.
61507         [!__ASSUME_32BITUIDS]: Remove conditional code.
61508         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61509         <kernel-features.h>.
61510         [__ASSUME_32BITUIDS]: Make code unconditional.
61511         [!__ASSUME_32BITUIDS]: Remove conditional code.
61513 2012-05-25  Richard Henderson  <rth@twiddle.net>
61515         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61516         dl_hwcap to ifunc resolver.
61517         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61518         elf_ifunc_invoke.
61519         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61520         dl_hwcap to ifunc resolver.
61521         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61523 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61525         [BZ #14153]
61526         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61527         for |x| <= 2**-26, not 2**-57.
61528         * math/libm-test.inc (acos_test): Do not allow spurious underflow
61529         exception.
61531 2012-05-24  Jeff Law  <law@redhat.com>
61533         * stdio-common/Makefile (tests): Add bug25.
61534         * stdio-common/bug25.c: New test.
61536 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61538         [BZ #13576]
61539         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61540         multiple of MALLOC_ALIGNMENT in size.
61541         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61543 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61545         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61546         Require >= 256.
61547         (FILENAME_MAX): Use macro-int-constant.
61548         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
61549         (_IOFBF): Use macro-int-constant.
61550         (_IOLBF): Likewise.
61551         (_IONBF): Likewise.
61552         (SEEK_CUR): Likewise.
61553         (SEEK_END): Likewise.
61554         (SEEK_SET): Likewise.
61555         (TMP_MAX): Likewise.
61556         (EOF): Use macro-int-constant.  Require < 0.
61557         (NULL): Use macro-constant.  Require == 0.
61558         (stdin): Require type to be FILE *.
61559         (stdout): Likewise.
61560         (stderr): Likewise.
61561         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61562         macro-int-constant.
61563         (EXIT_SUCCESS): Likewise.
61564         (NULL): Use macro-constant.  Require == 0.
61565         (RAND_MAX): Use macro-int-constant.
61566         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61567         [C99-based standards] (strtof): Require function.
61568         [C99-based standards] (strtold): Likewise.
61569         [C99-based standards] (strtoll): Likewise.
61570         [C99-based standards] (strtoull): Likewise.
61571         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61572         [ISO || ISO99 || ISO11] (limits.h): Likewise.
61573         [ISO || ISO99 || ISO11] (math.h): Likewise.
61574         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61575         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61576         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61578 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
61580         [BZ #14132]
61581         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61582         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61583         * intl/dgettext.c (DCGETTEXT): Likewise.
61584         * intl/gettext.c (DCGETTEXT): Likewise.
61585         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61586         * posix/regex_internal.h (gettext): Likewise.
61587         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61588         Remove declaration.
61589         * include/argz.h (__argz_count_internal)
61590         (__argz_stringify_internal): Remove declaration.
61591         (__argz_count, __argz_stringify): Declare hidden proto.
61592         * intl/dcgettext.c: Remove use of INTDEF.
61593         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61594         * string/argz-stringify.c: Likewise.
61595         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61596         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61597         Declare hidden proto.
61598         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61599         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61600         Declare hidden proto.
61601         * include/stdio.h (__asprintf_internal): Don't declare.
61602         (__asprintf): Don't define as macro.  Declare hidden proto.
61603         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61604         (__fsetlocking): Declare hidden proto.
61605         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61606         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61607         hidden proto.
61608         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61609         (_IO_setlinebuf): Remove use of INTUSE.
61610         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61611         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61612         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61613         Remove declaration.
61614         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61615         (_IO_do_flush): Remove use of INTUSE.
61616         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61617         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61618         (_IO_adjust_column, _IO_least_wmarker)
61619         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61620         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61621         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61622         (_IO_default_doallocate, _IO_wdefault_doallocate)
61623         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61624         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61625         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61626         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61627         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61628         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61629         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61630         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61631         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61632         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61633         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61634         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61635         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61636         proto.
61637         (_IO_flush_all_internal, _IO_adjust_column_internal)
61638         (_IO_default_uflow_internal, _IO_default_finish_internal)
61639         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61640         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61641         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61642         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61643         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61644         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61645         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61646         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61647         (_IO_file_close_internal, _IO_file_close_it_internal)
61648         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61649         (_IO_file_init_internal, _IO_file_attach_internal)
61650         (_IO_file_fopen_internal, _IO_file_read_internal)
61651         (_IO_file_sync_internal, _IO_file_seek_internal)
61652         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61653         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61654         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61655         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61656         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61657         (_IO_list_all_internal, _IO_link_in_internal)
61658         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61659         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61660         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61661         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61662         (_IO_do_write_internal, _IO_padn_internal)
61663         (_IO_getline_info_internal, _IO_getline_internal)
61664         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61665         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61666         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61667         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61668         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61669         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61670         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61671         with libc_hidden_ver, remove use of INTUSE.
61672         * libio/genops.c: Likewise.
61673         * libio/freopen.c: Likewise.
61674         * libio/freopen64.c: Likewise.
61675         * libio/iofclose.c: Likewise.
61676         * libio/iofdopen.c: Likewise.
61677         * libio/iofflush.c: Likewise.
61678         * libio/iofflush_u.c: Likewise.
61679         * libio/iofgets.c: Likewise.
61680         * libio/iofgets_u.c: Likewise.
61681         * libio/iofopen.c: Likewise.
61682         * libio/iofopncook.c: Likewise.
61683         * libio/iofread.c: Likewise.
61684         * libio/iofread_u.c: Likewise.
61685         * libio/ioftell.c: Likewise.
61686         * libio/iofwrite.c: Likewise.
61687         * libio/iogetline.c: Likewise.
61688         * libio/iogets.c: Likewise.
61689         * libio/iogetwline.c: Likewise.
61690         * libio/iopadn.c: Likewise.
61691         * libio/iopopen.c: Likewise.
61692         * libio/ioseekoff.c: Likewise.
61693         * libio/ioseekpos.c: Likewise.
61694         * libio/iosetbuffer.c: Likewise.
61695         * libio/iosetvbuf.c: Likewise.
61696         * libio/ioungetc.c: Likewise.
61697         * libio/ioungetwc.c: Likewise.
61698         * libio/iovdprintf.c: Likewise.
61699         * libio/iovsprintf.c: Likewise.
61700         * libio/iovsscanf.c: Likewise.
61701         * libio/memstream.c: Likewise.
61702         * libio/obprintf.c: Likewise.
61703         * libio/oldfileops.c: Likewise.
61704         * libio/oldiofclose.c: Likewise.
61705         * libio/oldiofdopen.c: Likewise.
61706         * libio/oldiofopen.c: Likewise.
61707         * libio/oldiopopen.c: Likewise.
61708         * libio/oldstdfiles.c: Likewise.
61709         * libio/putc.c: Likewise.
61710         * libio/setbuf.c: Likewise.
61711         * libio/setlinebuf.c: Likewise.
61712         * libio/stdfiles.c: Likewise.
61713         * libio/strops.c: Likewise.
61714         * libio/vasprintf.c: Likewise.
61715         * libio/vscanf.c: Likewise.
61716         * libio/vsnprintf.c: Likewise.
61717         * libio/vswprintf.c: Likewise.
61718         * libio/wfiledoalloc.c: Likewise.
61719         * libio/wfileops.c: Likewise.
61720         * libio/wgenops.c: Likewise.
61721         * libio/wmemstream.c: Likewise.
61722         * libio/wstrops.c: Likewise.
61723         * libio/__fpurge.c: Likewise.
61724         * libio/__fsetlocking.c: Likewise.
61725         * assert/assert.c: Likewise.
61726         * debug/fgets_chk.c: Likewise.
61727         * debug/fgets_u_chk.c: Likewise.
61728         * debug/fread_chk.c: Likewise.
61729         * debug/fread_u_chk.c: Likewise.
61730         * debug/gets_chk.c: Likewise.
61731         * debug/obprintf_chk.c: Likewise.
61732         * debug/vasprintf_chk.c: Likewise.
61733         * debug/vdprintf_chk.c: Likewise.
61734         * debug/vsnprintf_chk.c: Likewise.
61735         * debug/vsprintf_chk.c: Likewise.
61736         * malloc/mtrace.c: Likewise.
61737         * misc/error.c: Likewise.
61738         * misc/syslog.c: Likewise.
61739         * stdio-common/asprintf.c: Likewise.
61740         * stdio-common/fxprintf.c: Likewise.
61741         * stdio-common/getw.c: Likewise.
61742         * stdio-common/isoc99_fscanf.c: Likewise.
61743         * stdio-common/isoc99_scanf.c: Likewise.
61744         * stdio-common/isoc99_vfscanf.c: Likewise.
61745         * stdio-common/isoc99_vscanf.c: Likewise.
61746         * stdio-common/isoc99_vsscanf.c: Likewise.
61747         * stdio-common/printf-prs.c: Likewise.
61748         * stdio-common/printf_fp.c: Likewise.
61749         * stdio-common/printf_fphex.c: Likewise.
61750         * stdio-common/printf_size.c: Likewise.
61751         * stdio-common/putw.c: Likewise.
61752         * stdio-common/scanf.c: Likewise.
61753         * stdio-common/sprintf.c: Likewise.
61754         * stdio-common/tmpfile.c: Likewise.
61755         * stdio-common/vfprintf.c: Likewise.
61756         * stdio-common/vfscanf.c: Likewise.
61757         * stdlib/strfmon_l.c: Likewise.
61758         * sunrpc/openchild.c: Likewise.
61759         * sunrpc/xdr_stdio.c: Likewise.
61760         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
61761         * sysdeps/mach/hurd/tmpfile.c: Likewise.
61763 2012-05-24  Roland McGrath  <roland@hack.frob.com>
61765         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61767         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
61768         in the third column, to generate for the shared library an IFUNC
61769         that uses _dl_vdso_vsym.
61770         * Makerules (COMPILE.c, compile-stdin.c): New variables.
61771         * Makeconfig (object-suffixes-noshared): New variable.
61773         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
61774         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
61775         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
61776         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
61778         [BZ #14132]
61779         * include/sys/time.h (__gettimeofday): Remove macro.
61780         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
61781         * time/gettimeofday.c (__gettimeofday): Remove #undef.
61782         Remove INTDEF.
61783         (__gettimeofday): Add libc_hidden_def.
61784         (gettimeofday): Add libc_hidden_weak.
61785         * sysdeps/mach/gettimeofday.c: Likewise.
61786         * sysdeps/posix/gettimeofday.c: Likewise.
61787         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
61788         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
61789         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
61790         (__gettimeofday_internal): Remove strong_alias.
61791         (__gettimeofday): Add libc_hidden_def.
61792         (gettimeofday): Add libc_hidden_weak.
61793         * sysdeps/unix/syscalls.list (gettimeofday):
61794         Remove __gettimeofday_internal alias.
61796 2012-05-24  Daniel Jacobowitz  <drow@false.org>
61797             H.J. Lu  <hongjiu.lu@intel.com>
61799         [BZ #12495]
61800         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
61801         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
61802         (largebin_index_32_big): New.
61803         (largebin_index): Use it for 16-byte alignment.
61804         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
61805         correction with front_misalign.
61807 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
61810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
61811         Likewise.
61812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
61813         Likewise.
61814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61815         Likewise.
61816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
61817         Likewise.
61818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
61819         Likewise.
61820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
61821         Likewise.
61822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
61823         Likewise.
61824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61825         Likewise.
61826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
61827         Likewise.
61828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
61829         Likewise.
61830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
61831         Likewise.
61832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
61833         Likewise.
61835         * scripts/data/c++-types-x32-linux-gnu.data: New file.
61836         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
61838 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61840         [BZ #10846]
61841         [BZ #14036]
61842         * math/libm-test.inc (exp_test): Add test from bug 14036.
61843         (pow_test): Add test from bug 10846.
61845         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
61846         and other flags.
61847         (special_function): Do not include flags in test name.
61848         (parse_args): Likewise.
61849         * sysdeps/i386/fpu/libm-test-ulps: Update.
61850         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61851         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61852         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61855         * math/gen-libm-test.pl (%beautify): Add entries for underflow
61856         exceptions.
61857         * math/libm-test.inc ("Philosophy"): Update comment about
61858         exception testing.
61859         (UNDERFLOW_EXCEPTION): New macro.
61860         (UNDERFLOW_EXCEPTION_OK): Likewise.
61861         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
61862         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
61863         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
61864         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
61865         (INVALID_EXCEPTION_OK): Update value.
61866         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61867         (OVERFLOW_EXCEPTION_OK): Likewise.
61868         (IGNORE_ZERO_INF_SIGN): Likewise.
61869         (test_exceptions): Handle underflow exceptions.
61870         (acos_test): Update for underflow exception expectations.
61871         (cexp_test): Likewise.
61872         (clog_test): Likewise.
61873         (clog10_test): Likewise.
61874         (csqrt_test): Likewise.
61875         (ctan_test): Likewise.
61876         (ctanh_test): Likewise.
61877         (exp_test): Likewise.
61878         (exp10_test): Likewise.
61879         (exp2_test): Likewise.
61880         (expm1_test): Likewise.
61881         (fma_test): Likewise.
61882         (j0_test): Likewise.
61883         (jn_test): Likewise.
61884         (nexttoward_test): Likewise.
61885         (pow_test): Likewise.
61886         (scalbn_test): Likewise.
61887         (scalbln_test): Likewise.
61888         (tan_test): Likewise.
61889         (y1_test): Likewise.
61890         * sysdeps/i386/fpu/libm-test-ulps: Update.
61891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61893 2012-05-23  David S. Miller  <davem@davemloft.net>
61895         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61896         (__libc_sigaction): Remove unused local variables.
61898 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61900         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
61902 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
61904         mktime: avoid signed integer overflow
61905         * time/mktime.c (__mktime_internal): Do not mishandle the case
61906         where diff == INT_MIN.
61908         mktime: simplify computation of average
61909         * time/mktime.c (ranged_convert): Use new time_t_avg function
61910         instead of rolling our own (probably-slower) code.
61912         mktime: do not assume signed right shift propagates sign bit
61913         * time/mktime.c (isdst_differ): New static function.
61914         (__mktime_internal): No need to normalize tm_isdst now.
61915         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
61916         tm_isdst values.
61918         mktime: merge another wrapv change from gnulib
61919         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
61920         from some compilers.
61922         mktime: remove incorrect attempt at unusual arithmetics
61923         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
61924         The code didn't really work on such machines anyway.
61925         (TYPE_MINIMUM): Assume two's complement.
61926         (twos_complement_arithmetic): Verify that long_int and time_t
61927         are two's complement (or unsigned, in the latter case).
61929         mktime: check signed shifts on long_int and time_t, too
61930         * time/mktime.c (SHR): Check that shifts work as desired
61931         on the types long_int and time_t too, as SHR is used on
61932         such types.
61934         mktime: do not assume 'long' is wide enough
61935         * time/mktime.c (verify): Move decl up.
61936         (long_int): New type.
61937         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
61938         to remove assumption in the code that 'long' is wide enough to
61939         store year values.  This assumption is not true on x32 and on
61940         some non-glibc platforms.
61942         mktime: merge wrapv change from gnulib
61943         * time/mktime.c (WRAPV): New macro.
61944         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61945         (guess_time_tm, __mktime_internal): Do not assume that signed
61946         integer overflow wraps around; modern compilers generate code
61947         where this assumption is no longer valid.
61949 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61951         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61952         Replace "jmp L(pseudo_end)" with "ret".
61953         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61954         Likewise.
61956 2012-05-23  Andreas Jaeger  <aj@suse.de>
61958         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61959         * sysdeps/unix/sysv/linux/poll.c: Remove file.
61961 2012-05-23  Andreas Jaeger  <aj@suse.de>
61962             Maximilian Attems  <max@stro.at>
61964         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61965         New macros.
61967 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61969         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61970         code so that pseudo_end is just ret and the stack pointer is
61971         correct also for static library in error case.
61973 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
61975         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61976         move to syscalls.list.
61977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61982         * manual/install.texi (Running make install): Do not mention Linux
61983         kernel version for which pt_chown is not needed.
61984         (Linux): Do not mention problems with nscd with 2.0 kernels.
61985         * INSTALL: Regenerated.
61987 2012-05-23  Andreas Jaeger  <aj@suse.de>
61989         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61990         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61991         macro.
61992         * sysdeps/unix/sysv/linux/s390/bits/mman.h
61993         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61994         * sysdeps/unix/sysv/linux/sh/bits/mman.h
61995         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61996         * sysdeps/unix/sysv/linux/i386/bits/mman.h
61997         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61998         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61999         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62000         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62001         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62002         * sysdeps/unix/sysv/linux/bits/in.h
62003         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62005 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62007         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62008         (PREPARE_VERSION): Just use assert instead, it will be elided
62009         under [NDEBUG] anyway.
62011 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62013         * sysdeps/unix/sysv/linux/Makefile: Include
62014         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62015         (sysdep_routines): Remove sysctl.
62016         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62017         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62018         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62019         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62020         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62022 2012-05-22  Andreas Jaeger  <aj@suse.de>
62024         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62025         that pseudo_end is just ret and the stack pointer is correct also
62026         for static library in error case.
62028 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62030         [BZ #14122]
62031         * nss/nsswitch.c (defconfig_entries): New variable.
62032         (__nss_database_lookup): Don't leak defconfig entries.
62033         (nss_parse_service_list): Don't leak on error paths.
62034         (free_database_entries): New function.
62035         (free_defconfig): New function.
62036         (free_mem): Move common code to free_database_entries.
62038 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62040         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62041         Add arch_prctl.
62042         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62044         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62045         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62046         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62047         New macro.
62048         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62049         (INTERNAL_SYSCALL_TYPES): Likewise.
62050         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62051         (LOAD_REGS_TYPES_[1-6]): Likewise.
62052         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62053         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62055 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62057         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62058         copysignl for GLIBC_2_0.
62059         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62060         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62061         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62062         logbl for GLIBC_2_0.
62063         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62064         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62066 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62068         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62069         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62071         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62072         Use "neg %eax".
62074         * time/mktime.c: Update copyright years.
62076 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62078         mktime: merge comment-quoting-style change from gnulib
62079         * time/mktime.c: Quote 'like this' in comments.
62080         The GNU coding standards suggest that we no longer quote `like this',
62081         as "`" and "'" are typically rendered asymmetrically nowadays.
62082         The typical gnulib style is to quote 'like this' when quoting
62083         code, and "like this" when quoting English.
62085         * time/mktime.c (compile-command): Add "-I.".
62087         mktime: merge mktime-internal.h change from gnulib
62088         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62090         mktime: merge time_r change from gnulib
62091         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62093         mktime: merge DEBUG change from gnulib
62094         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62095         case system <time.h> has a #define.
62097         mktime: merge <sys/types.h> change from gnulib
62098         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62099         since <time.t> is now guaranteed to define time_t.
62101         mktime: merge HAVE_CONFIG_H change from gnulib
62102         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62104 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62106         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62107         Use "neg %eax".
62109         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62110         __rlim_t cast.
62111         (struct rusage): Use anonymous union to pad each field to
62112         __syscall_slong_t.
62114 2012-05-21  David S. Miller  <davem@davemloft.net>
62116         * Makefules (o-iterator): Remove .s cases.
62117         (compile-command.s): Delete.
62118         (COMPILE.s): Delete.
62119         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62121 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62123         * configure.in (libc_cv_predef_stack_protector): Only consider
62124         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62125         * configure: Regenerated.
62127 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62129         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62130         New macro.  Use R*LP on int and pointer.
62131         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62132         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62133         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62134         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62136         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62137         [__WORDSIZE_TIME64_COMPAT32] instead of
62138         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62139         (struct utmp): Likewise.
62140         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62141         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62142         Renamed to ...
62143         (__WORDSIZE_TIME64_COMPAT32): This.
62144         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62145         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62146         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62147         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62148         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62149         (__WORDSIZE_TIME64_COMPAT32): New macro.
62151 2012-05-21  Andreas Jaeger  <aj@suse.de>
62153         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62154         only if [SHARED]. Add prototype for __wcschr_ia32.
62156 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62158         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62159         of %rbp unmolested in the jmp_buf while mangling the low bits.
62160         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62161         unmolested high bits of %rbp while demangling the low bits.
62162         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62164 2012-05-21  Andreas Jaeger  <aj@suse.de>
62166         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62167         * sunrpc/svc_simple.c: Use it for registerrpc.
62168         * sunrpc/xcrypt.c: Use it for passwd2des.
62170         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62172 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62174         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62175         Don't define if [__SYSCALL_WORDSIZE != 32].
62176         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62177         New macro.
62179 2012-05-21  Bruno Haible  <bruno@clisp.org>
62180             Andreas Jaeger  <aj@suse.de>
62182         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62183         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62184         inptr and inend for must_buffer_ch.
62185         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62186         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62187         * stdio-common/Makefile (tests): Remove bug15.
62188         (bug15-ENV): Remove macro.
62189         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62190         anymore.
62192 2012-05-19  Andreas Jaeger  <aj@suse.de>
62193             Roland McGrath  <roland@hack.frob.com>
62195         * manual/contrib.texi: Completely rewritten. It contains now an
62196         alphabetical list of contributors and their contributions.
62198 2012-05-21  Richard Henderson  <rth@twiddle.net>
62200         * misc/getauxval.c (__getauxval): Use unsigned long int.
62201         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62202         (getauxval): Use unsigned long int.
62204 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62206         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62208 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62210         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62211         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62212         __alignof__ (long double).
62214 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62218 2012-05-20  Richard Henderson  <rth@twiddle.net>
62220         * misc/getauxval.c: New file.
62221         * misc/sys/auxv.h: New file.
62222         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62223         (routines): Add getauxval.
62224         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62225         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62226         * elf/dl-sysdep.c (_dl_auxv): Remove.
62227         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62228         * elf/dl-support.c (_dl_auxv): New variable.
62229         (_dl_aux_init): Initialize it.
62230         * manual/startup.texi (Auxiliary Vector): New node.
62231         * sysdeps/generic/bits/hwcap.h: New file.
62232         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62233         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62234         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62235         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62236         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62237         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62239         Update.
62240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62243         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62249 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62253 2012-05-19  David S. Miller  <davem@davemloft.net>
62255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62257 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62259         [BZ #14123]
62260         * math/s_ccosh.c: Include <float.h>
62261         (__ccosh): Avoid internal overflow calculating sinh and cosh
62262         values before multiplying by sin and cos values.
62263         * math/s_ccoshf.c: Likewise.
62264         * math/s_ccoshl.c: Likewise.
62265         * math/s_csin.c: Likewise.
62266         * math/s_csinf.c: Likewise.
62267         * math/s_csinl.c: Likewise.
62268         * math/s_csinh.c: Likewise.
62269         * math/s_csinhf.c: Likewise.
62270         * math/s_csinhl.c: Likewise.
62271         * math/libm-test.inc (ccos_test): Add more tests.
62272         (ccosh_test): Likewise.
62273         (csin_test): Likewise.
62274         (csinh_test): Likewise.
62275         * sysdeps/i386/fpu/libm-test-ulps: Update.
62276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62278 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62280         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62281         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62283         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62285 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62287         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62288         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62289         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62290         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62291         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62292         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62293         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62294         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62295         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62296         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62297         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62298         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62299         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62300         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62301         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62302         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62303         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62304         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62305         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62306         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62307         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62308         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62309         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62310         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62311         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62312         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62313         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62314         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62315         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62316         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62317         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62319 2012-05-18  Andreas Jaeger  <aj@suse.de>
62321         * csu/.gitignore: Delete.
62323 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62325         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62326         (timex): Use __syscall_slong_t.
62328 2012-05-18  Andreas Jaeger  <aj@suse.de>
62329             Carlos O'Donell  <carlos_odonell@mentor.com>
62331         * manual/install.texi (Configuring and compiling): Update
62332         description about files modified in the source directory.
62333         * INSTALL: Regenerated.
62335 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62337         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62338         value.  Use "or" to set return value to -1.
62339         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62340         negate return value.
62342 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62344         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62345         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62346         failure if the compiler has Graphite support disabled.
62347         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62348         Likewise.
62349         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62350         (CFLAGS-memmove.c): Likewise.
62351         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62352         Likewise.
62354 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62356         * sysdeps/x86_64/x32/_itoa.h: New file.
62358         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62359         getdents system call only if kernel and user dirents have the
62360         same d_ino and d_off.
62362         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62363         LLONG_MAX != LONG_MAX.
62364         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62365         (_fitoa_word): Likewise.
62367         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62368         years.
62369         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62370         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62371         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62373         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62374         include <bits/wordsize.h>.  Check __x86_64__ instead of
62375         __WORDSIZE.
62376         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62377         if __x86_64__ is defined.  Use anonymous union on fpstate.
62379         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62380         anonymous union.
62382 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62384         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62385         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62386         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62387         Refer to _rtld_local_ro instead of _rtld_global_ro.
62388         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62389         Likewise.
62390         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62391         Likewise.
62392         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62393         Likewise.
62394         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62395         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62396         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62398         [BZ #10882]
62399         * sysdeps/powerpc/powerpc32/dl-machine.c
62400         (__elf_machine_runtime_setup) [PROF]: Don't reference
62401         _dl_prof_resolve.
62403 2012-05-18  Andreas Jaeger  <aj@suse.de>
62405         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62406         function only available for GCCs before 3.4 since GCC 3.4
62407         introduced a builtin.
62408         (lrint): Likewise.
62409         (llrintf): Likewise.
62410         (llrint): Likewise.
62411         (fmaxf): Likewise.
62412         (fmax): Likewise.
62413         (fminf): Likewise.
62414         (fmin): Likewise.
62415         (rint): Likewise.
62416         (rintf): Likewise.
62417         (nearbyint): Likewise.
62418         (nearbyintf): Likewise.
62419         (ceil): Likewise.
62420         (ceilf): Likewise.
62421         (floor): Likewise.
62422         (floorf): Likewise.
62424 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62426         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62427         on both fields and cast pointer to __syscall_ulong_t.
62429         * bits/types.h (__fsword_t): New type.
62430         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62431         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62432         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62433         (__FSWORD_T_TYPE): Likewise.
62434         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62435         (__FSWORD_T_TYPE): Likewise.
62436         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62437         (__FSWORD_T_TYPE): Likewise.
62438         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62439         (__FSWORD_T_TYPE): Likewise.
62440         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62441         __SWORD_TYPE with __fsword_t.
62442         (statfs64): Likewise.
62444 2012-05-17  David S. Miller  <davem@davemloft.net>
62446         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62448 2012-05-17  Andreas Jaeger  <aj@suse.de>
62450         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62451         warning.
62453 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62455         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62457 2012-05-17  Andreas Jaeger  <aj@suse.de>
62459         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62460         when it is used.
62462 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62464         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62466 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62468         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62469         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62471 2012-05-17  Andreas Jaeger  <aj@suse.de>
62472             Carlos O'Donell  <carlos_odonell@mentor.com>
62474         [BZ #14059]
62475         * sysdeps/x86_64/multiarch/init-arch.h
62476         (bit_YMM_Usable): Rename to...
62477         (bit_AVX_Usable): ... this.
62478         (bit_FMA4_Usable): New macro.
62479         (bit_XMM_state): New macro.
62480         (bit_YMM_state): New macro.
62481         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62482         [__ASSEMBLER__] (index_AVX_Usable): ... this.
62483         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62484         (CPUID_OSXSAVE): New macro.
62485         (CPUID_AVX): New macro.
62486         (CPUID_FMA4): New macro.
62487         (index_YMM_Usable): Rename to...
62488         (index_AVX_Usable): ... this.
62489         (HAS_AVX): Use HAS_ARCH_FEATURE.
62490         (HAS_FMA4): Likewise.
62491         (HAS_YMM_USABLE): Remove.
62492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62493         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62494         are present.
62495         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62496         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62497         * sysdeps/x86_64/multiarch/Makefile: Likewise.
62498         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62499         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62501 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62503         * math/libm-test.c: Support platforms without multiple rounding modes.
62504         * math/bug-nextafter.c: Support platforms without FP exceptions.
62505         * math/bug-nexttoward.c: Likewise.
62506         * math/test-fenv.c: Likewise.
62507         * math/test-misc.c: Likewise.
62508         * stdlib/bug-getcontext.c: Likewise.
62510 2012-05-17  Andreas Jaeger  <aj@suse.de>
62512         * manual/examples/search.c (critter_cmp): Change signature to
62513         avoid warnings.
62514         * manual/string.texi (Collation Functions): Likewise.
62516 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62518         * bits/types.h: Fold copyright years.
62519         * bits/typesizes.h: Likewise.
62520         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62521         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62522         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62523         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62524         * time/time.h: Likewise.
62526 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
62528         [BZ #208]
62529         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62530         in instead of returning them.  Return void.
62531         (__libc_mallinfo): Accumulate over all arenas.
62532         (__malloc_stats): Adjust for change in int_mallinfo interface.
62534 2012-05-16  Roland McGrath  <roland@hack.frob.com>
62536         [BZ #10375]
62537         * configure.in (NM): Add AC_CHECK_TOOL for it.
62538         (libc_extra_cflags): New substituted variable.
62539         Check for -fstack-protector being used implicitly.
62540         * configure: Regenerated.
62541         * config.make.in (config-extra-cflags): New variable,
62542         gets @libc_extra_cflags@.
62543         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62545         [BZ #10375]
62546         * configure.in: Check for _FORTIFY_SOURCE being predefined.
62547         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62548         * configure: Regenerated.
62549         * config.make.in (CPPUNDEFS): New substituted variable.
62550         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62551         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62552         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62554 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62556         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62557         (mq_attr): Use __syscall_slong_t.
62559 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62561         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62562         Check __x86_64__ instead of __WORDSIZE.
62563         (_STAT_VER_LINUX): Likewise.
62564         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
62565         __syscall_ulong_t and __syscall_slong_t.
62566         (stat64): Likewise.
62568 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62570         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62572 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62574         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62576 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62578         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62579         __syscall_ulong_t.
62581         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62582         include <bits/wordsize.h>.  Check __x86_64__ instead of
62583         __WORDSIZE.
62584         (greg_t): Use "__extension__ long long int" if __x86_64__ is
62585         defined.
62586         (mcontext_t): Replace "unsigned long" with "unsigned long long".
62588         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62589         include <bits/wordsize.h>.  Check __x86_64__ instead of
62590         __WORDSIZE.
62591         (user_regs_struct): Use "__extension__ unsigned long long"
62592         instead of "unsigned long" if __x86_64__ is defined.
62593         (user): Likewise.  Pad after pointer field if __ILP32__ is
62594         defined.
62596 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
62598         * configure.in (makeinfo): Require version 4.5 or later.  Allow
62599         versions 5 to 9.
62600         * configure: Regenerated.
62601         * manual/install.texi (texinfo): Increase version requirement to
62602         4.5 or later.
62603         * INSTALL: Regenerated.
62605         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62607 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62609         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62611         * sysdeps/x86_64/x32/ffs.c: New file.
62613         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62614         __syscall_ulong_t.
62615         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62616         defined.  Use __syscall_ulong_t.
62617         (shminfo): Use __syscall_ulong_t.
62618         (shm_info): Likewise.
62620         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62621         __syscall_ulong_t.
62623         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62624         <bits/wordsize.h>.
62625         (msgqnum_t): Use __syscall_ulong_t.
62626         (msglen_t): Likewise.
62627         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62628         __syscall_ulong_t.
62630         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62631         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62633         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62635         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62636         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62638         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62639         __syscall_slong_t.
62641         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62642         include <bits/wordsize.h>.  Check __x86_64__ instead of
62643         __WORDSIZE.
62645         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62646         "unsigned long long int" if __x86_64__ is defined.
62647         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62649         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62650         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62651         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62653         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62654         <stdint.h>.
62655         (GET_PC): Cast to uintptr_t first.
62656         (GET_FRAME): Likewise.
62657         (GET_STACK): Likewise.
62659         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62660         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62661         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62662         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62663         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62664         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62665         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62666         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62667         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62668         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62669         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62670         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62671         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62672         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62673         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62674         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62675         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62676         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62677         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62678         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62679         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62680         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62681         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62682         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62683         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62684         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62685         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62686         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62687         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62689 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
62691         * Makerules (+depfiles): Also collect depfiles from .oS in
62692         $(extra-objs).
62693         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62694         .oS, $(libnldbl-routines)).
62696         * Makerules (native-compile-mkdep-flags): Define.
62697         * sunrpc/Makefile (extra-objs): Add $(addprefix
62698         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62699         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62700         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
62701         calling $(make-target-directory).
62703 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62705         * bits/types.h (__snseconds_t): Removed.
62706         * time/time.h (struct timespec): Replace __snseconds_t with
62707         __syscall_slong_t.
62708         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62709         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62710         Likewise.
62711         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62712         (__SNSECONDS_T_TYPE): Likewise.
62713         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62714         (__SNSECONDS_T_TYPE): Likewise.
62715         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62716         (__SNSECONDS_T_TYPE): Likewise.
62718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62720         * sysdeps/mach/hurd/bits/typesizes.h
62721         (__SYSCALL_SLONG_TYPE): New macro.
62722         (__SYSCALL_ULONG_TYPE): Likewise.
62724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62726         * bits/types.h (__syscall_slong_t): New type.
62727         (__syscall_ulong_t): Likewise.
62729         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62730         (__SYSCALL_ULONG_TYPE): Likewise.
62731         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62732         (__SYSCALL_SLONG_TYPE): Likewise.
62733         (__SYSCALL_ULONG_TYPE): Likewise.
62734         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62735         (__SYSCALL_SLONG_TYPE): Likewise.
62736         (__SYSCALL_ULONG_TYPE): Likewise.
62737         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62738         (__SYSCALL_SLONG_TYPE): Likewise.
62739         (__SYSCALL_ULONG_TYPE): Likewise.
62741 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62743         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
62744         Add sigaltstack-offsets.sym.
62745         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
62746         <sigaltstack-offsets.h>.
62747         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
62748         longjmp_msg pointer.
62749         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
62750         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
62751         signal stack.
62752         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
62754 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62756         * elf/stackguard-macros.h: Remove file.
62757         * sysdeps/generic/stackguard-macros.h: New file.
62758         * sysdeps/i386/stackguard-macros.h: Likewise.
62759         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62760         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62761         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62762         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62763         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62764         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62765         * sysdeps/x86_64/stackguard-macros.h: Likewise.
62766         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
62767         <elf/stackguard-macros.h>.
62769         [BZ #14109]
62770         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
62771         __aligned__ in attribute.
62772         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
62773         (gregset_t): Likewise.
62775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62777         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
62778         * sysdeps/x86_64/64/Implies-after: Here.  New file.
62779         * sysdeps/x86_64/x32/Implies-after: New file.
62781 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62783         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
62784         and access return value for _dl_profile_fixup.  Use R10_LP to
62785         load frame size.
62787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62789         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
62791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62793         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
62794         * sysdeps/x86_64/x32/sysdep.h: New file.
62796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62798         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
62799         * sysdeps/x86_64/setjmp.S: Likewise.
62801 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62803         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
62804         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
62805         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
62806         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
62807         remove unused global constant.
62809 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
62811         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
62812         include of <not-cancel.h>.
62814 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62816         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
62818 2012-05-15  Jeff Law  <law@redhat.com>
62819             Andreas Jaeger  <aj@suse.de>
62821         [BZ #13594]
62822         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
62823         out from...
62824         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
62825         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
62826         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
62827         code changing __hst_map_handle.map.
62829 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62831         * configure.in (sysnames): Look for Implies-before and Implies-after
62832         files.
62833         * configure: Regenerated.
62835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62837         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
62838         8-byte data alignment with LP_SIZE alignment.
62840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62842         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
62843         into R10_LP.
62845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62847         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
62849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62851         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
62852         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
62853         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
62854         Likewise.
62855         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62859         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
62860         (stackinfo_sub_sp): Likewise.
62862 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62864         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
62865         RAX_LP.
62867 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62869         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
62870         into R*_LP.
62872 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62874         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
62875         sizes into R*_LP.
62877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62879         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
62881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62883         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
62884         into R11_LP and load __x86_64_shared_cache_size_half into
62885         R8_LP.
62887 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62889         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62890         R8_LP.
62892 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62894         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
62895         logb for POWER7.
62896         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
62897         logbf for POWER7.
62898         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
62899         logbl for POWER7.
62900         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
62901         powerpc32/power7/fpu/s_logb.c via #include.
62902         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
62903         powerpc32/power7/fpu/s_logbf.c via #include.
62904         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
62905         powerpc32/power7/fpu/s_logbl.c via #include.
62907 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62909         * README.libm: Remove file.
62911 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62913         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
62914         count for x32.  Use R*_LP and omit operand-size suffix.
62916 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62918         * shlib-versions: Move x86_64-.*-linux.* entries to ...
62919         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
62920         * sysdeps/x86_64/x32/shlib-versions: New file.
62922 2012-05-14  Roland McGrath  <roland@hack.frob.com>
62924         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
62925         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
62926         Use _dl_fatal_printf instead.
62928 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62930         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
62931         set if not set by the user.  Do not allow for being unset.
62932         * sysdeps/unix/sysv/linux/configure: Regenerated.
62934 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62936         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
62937         the `q' suffix from lea and replace .quad with ASM_ADDR.
62939 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62941         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
62942         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
62943         instead of $17.
62944         (PTR_DEMANGLE): Likewise.
62946 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62948         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62949         (LP_OP): Likewise.
62950         (ASM_ADDR): Likewise.
62951         (RAX_LP): Likewise.
62952         (RBP_LP): Likewise.
62953         (RBX_LP): Likewise.
62954         (RCX_LP): Likewise.
62955         (RDI_LP): Likewise.
62956         (RSI_LP): Likewise.
62957         (RSP_LP): Likewise.
62958         (R8_LP): Likewise.
62959         (R9_LP): Likewise.
62960         (R10_LP): Likewise.
62961         (R10_LP): Likewise.
62962         (R11_LP): Likewise.
62963         (R12_LP): Likewise.
62964         (R13_LP): Likewise.
62965         (R14_LP): Likewise.
62966         (R15_LP): Likewise.
62968 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62970         * sysdeps/x86_64/x32/dl-machine.h: New file.
62972 2012-05-14  Andreas Jaeger  <aj@suse.de>
62974         * manual/Makefile (subdir): Remove export of subdir.
62975         (all): Remove target.
62976         (.PHONY): Remove all from list.
62977         (mkinstalldirs): Remove.
62978         (.PHONY): Remove installdirs from list.
62979         ($(inst_infodir)/libc.info): Use make-target-directory.
62980         (installdirs): Remove.
62981         (subdir_%): Remove.
62982         (glibc-targets): Remove.
62983         (lib): Remove.
62984         (stubs): Remove.
62985         ($(objpfx)stubs ../po/manual.pot): Remove.
62986         ($(objpfx)stamp%): Remove.
62987         (make-target-directory): Remove.
62988         (subdir_install): Remove.
62989         (routines): Remove.
62990         (aux): Remove.
62991         (sources): Remove.
62992         (objects): Remove.
62993         (headers): Remove.
62995         [BZ #13750]
62996         * manual/.gitignore: Remove, it's not needed anymore.
62997         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62998         all files in it.
62999         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63000         directory.
63001         (texis): Renamed to $(objpfx)texis.
63002         (texis-path): New, contains path to generated files.
63003         (chapters.%): Use texis-path for complete path, add extra argument
63004         libc-texinfo.sh.
63005         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63006         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63007         (summary,texi, stamp-summary): Use complete path of
63008         files. Generate files in build dir.
63009         (dir-add.texi): Build in build dir.
63010         (libm-err.texi,stamp-libm-err): Likewise.
63011         (version.texi, stamp-version): Likewise.
63012         (.%c.texi): Likewise.
63013         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63014         (mostlyclean): Remove target.
63015         (realclean): Remove target.
63016         (generated): Add new variable with contents from mostlyclean and
63017         realclean, remove entries duplicated in common-mostlyclean, add
63018         stamp-libm-err and stamp-version.
63019         (generated-dirs): Add libc directory.
63020         ($(inst_infodir)/libc.info): Install files from build dir.
63022         * manual/install.texi (Configuring and compiling): Adjust since
63023         the info files are not part of the tar ball anymore.
63025 2012-05-14  Andreas Jaeger  <aj@suse.de>
63027         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63028         variable.
63030 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63032         [BZ #13717]
63033         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63034         to 2.2.0 where earlier.
63035         * sysdeps/unix/sysv/linux/configure: Regenerated.
63036         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63037         Remove conditional code.
63038         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63039         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63040         Remove conditional code.
63041         [!__NR_lchown]: Likewise.
63042         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63043         [__NR_lchown]: Likewise.
63044         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63045         comment referencing __ASSUME_LCHOWN_SYSCALL.
63046         * sysdeps/unix/sysv/linux/i386/sigaction.c
63047         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63048         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63049         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63050         Remove conditional code.
63051         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63052         (__protocol_available): Remove #if 0 code.
63053         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63054         conditional code.
63055         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63056         * sysdeps/unix/sysv/linux/kernel-features.h
63057         (__ASSUME_GETCWD_SYSCALL): Don't define.
63058         (__ASSUME_REALTIME_SIGNALS): Likewise.
63059         (__ASSUME_PREAD_SYSCALL): Likewise.
63060         (__ASSUME_PWRITE_SYSCALL): Likewise.
63061         (__ASSUME_POLL_SYSCALL): Likewise.
63062         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63063         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63064         non-SPARC.
63065         (__ASSUME_SIOCGIFNAME): Don't define.
63066         (__ASSUME_MSG_NOSIGNAL): Likewise.
63067         (__ASSUME_SENDFILE): Define unconditionally.
63068         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63069         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63070         conditional code.
63071         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63072         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63073         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63074         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63075         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63076         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63077         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63079         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63080         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63082         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63083         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63085         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63086         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63088         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63089         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63091         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63092         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63094         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63095         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63097         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63098         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63100         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63101         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63102         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63103         Remove conditional code.
63104         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63105         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63106         Remove conditional code.
63107         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63108         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63109         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63110         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63111         Remove conditional code.
63112         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63113         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63114         Remove conditional code.
63115         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63116         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63117         Remove conditional code.
63118         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63119         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63120         Remove conditional code.
63121         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63122         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63123         Remove conditional code.
63124         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63125         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63126         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63127         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63128         * sysdeps/unix/sysv/linux/sigaction.c
63129         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63130         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63131         * sysdeps/unix/sysv/linux/sigpending.c
63132         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63133         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63134         * sysdeps/unix/sysv/linux/sigprocmask.c
63135         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63136         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63137         * sysdeps/unix/sysv/linux/sigsuspend.c
63138         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63139         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63140         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63141         (__libc_missing_rt_sigs): Remove.
63142         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63143         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63144         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63145         Remove conditional code.
63146         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63147         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63148         return 1.
63149         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63150         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63151         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63152         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63154 2012-05-14  Andreas Jaeger  <aj@suse.de>
63156         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63157         it's not used in glibc.
63158         (__coshm1): Likewise.
63159         (__acosh1p): Likewise.
63160         (__sgn): Likewise.
63162         * manual/string.texi (Copying and Concatenation): Add missing
63163         variable in concat example.
63164         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63166 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63168         [BZ #14103]
63169         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63170         __builtin_clzl with __builtin_clzll.
63172 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63174         [BZ #14104]
63175         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63176         libc_freeres_ptr.
63178 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63180         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63181         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63182         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63183         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63185 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63187         * NEWS: Update ia64 info.
63189 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63191         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63192         used as bcopy.
63194 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63196         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63197         * sysdeps/unix/syscalls.list (dup3): Likewise.
63198         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63199         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63201 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63203         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63204         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63206 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63208         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63209         thread pointer.
63210         (TLS_IE): Use mov/add instead of movq/addq to load thread
63211         pointer.
63212         (TLS_GD_PREFIX): New.
63213         (TLS_GD): Use it.
63215 2012-05-11  David S. Miller  <davem@davemloft.net>
63217         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63218         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63219         (_FPU_SETCW): Likewise.
63221 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63223         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63224         is 32-byte aligned.
63226 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63228         [BZ #11837]
63229         * iconvdata/gb18030.c: Update tables.
63230         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63231         characters specially.
63232         (BODY for TO_LOOP): Add encoding of missing ranges.
63234 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63236         [BZ #13673]
63237         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63238         * sysdeps/mach/hurd/dup3.c: Likewise.
63239         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63240         * sysdeps/powerpc/memmove.c:: Likewise.
63242 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63244         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63245         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63247 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63249         * elf/elf.h (R_X86_64_RELATIVE64): New.
63250         (R_X86_64_NUM): Updated.
63251         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63252         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63253         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63254         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63255         tst-quad1pie tst-quad2pie
63256         (modules-names): Add tst-quadmod1 tst-quadmod2.
63257         ($(objpfx)tst-quad1): New dependency.
63258         ($(objpfx)tst-quad2): Likewise.
63259         ($(objpfx)tst-quad1pie): Likewise.
63260         ($(objpfx)tst-quad2pie): Likewise.
63261         * sysdeps/x86_64/tst-quad1.c: New file.
63262         * sysdeps/x86_64/tst-quad1pie.c: New file.
63263         * sysdeps/x86_64/tst-quad2.c: Likewise.
63264         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63265         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63266         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63267         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63268         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63270 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63272         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63273         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63274         * streams/stropts.h (t_scalar_t): Define type.
63276         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63277         (_PATH_PRESERVE): Set to "/var/lib".
63278         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63280         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63281         instead of int.
63283         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63284         if __dir_mkfile succeeded.
63286         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63287         checking for _hurd_dtablesize.  Unlock it right after having
63288         finished _hurd_dtable allocation.
63290 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63292         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63293         * sysdeps/mach/hurd/configure: Regenerated.
63294         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63295         special-casing to...
63296         * sysdeps/gnu/configure.in: ... this new file.
63297         * sysdeps/unix/sysv/linux/configure: Regenerated.
63298         * sysdeps/gnu/configure: New generated file.
63300         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63301         for Linux: use nsec instead of usec, as well as:
63302         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63303         members of type struct timespec.
63304         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63305         New macros.
63306         (struct stat64): Likewise.
63307         (_STATBUF_ST_NSEC): New macro.
63308         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63310         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63311         __strtoul_internal rather than strtoul.
63313 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63315         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63316         and reject them.
63318 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63320         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63321         which preserves existing values.
63322         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63324 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63326         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63327         TIMEOUT values.  Return EINVAL for NFDS values either negative or
63328         greater than FD_SETSIZE.
63330 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63332         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63333         allocated, call __vm_protect to finish enabling the existing space, and
63334         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63335         allocate the remainder.
63337 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63339         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63340         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
63342 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63344         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63345         sysdeps/mach/hurd/readlink.c.
63347         * posix/tst-sysconf.c (posix_options): Only use
63348         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63349         _POSIX_SYNCHRONIZED_IO when they are defined
63350         * sysdeps/mach/hurd/bits/posix_opt.h:
63351         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63352         (_XOPEN_REALTIME): Undefine macro.
63353         (_XOPEN_REALTIME_THREADS): Undefine macro.
63354         (_XOPEN_SHM): Undefine macro.
63355         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63356         macro to -1.
63357         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63358         macro to -1.
63359         (_POSIX_ASYNC_IO): Undefine macro.
63360         (_POSIX_PRIORITIZED_IO): Undefine macro.
63361         (_POSIX_SPIN_LOCKS): Define macro to -1.
63363         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63364         SA_NODEFER, SA_RESETHAND.
63365         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63366         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63367         F_DUPFD_CLOEXEC.
63369 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63371         * elf/Makefile (pldd-modules): Define unconditionally.
63373 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63375         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63377 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63379         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63380         Return ENOENT when name is empty.
63381         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63383 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63385         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63387         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63389 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63391         Fix mlock in all cases except non-readable pages.
63392         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63393         instead of VM_PROT_ALL as parameter to __vm_wire function.
63395         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63396         (__mkdir): When path is `/', just fail with EEXIST.
63397         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63399 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63401         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63402         <sys/uio.h> (for writev).
63403         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63404         and <sys/param.h> (for MIN).
63406 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63408         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63409         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63410         if interrupted.
63412 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63414         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63415         Depend on against $(link-rpcuserlibs).
63417 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63419         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63420         (__libc_stack_end): Do not use attribute_relro.
63421         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63422         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63423         to libthread-provided value.
63424         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63425         attribute_relro.
63427 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63429         [BZ #3748]
63430         * bits/libc-lock.h (__libc_once_get): New macro.
63431         * sysdeps/mach/bits/libc-lock.h: Likewise.
63432         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63433         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63434         instead of using implementation details.
63436         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63437         * libio/freopen.c: Likewise.
63438         * libio/freopen64.c: Likewise.
63439         * misc/syslog.c: Likewise.
63440         * nscd/connections.c: Likewise.
63441         * nscd/netgroupcache.c: Likewise.
63442         * sysdeps/posix/getcwd.c: Likewise.
63444 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63446         * math/w_ilogbf.c: Add #include <limits.h>.
63448 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63450         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63451         path instead of returning without unlocking.
63453         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63454         immediate-write ioctls.
63455         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63457 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63459         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63460         __builtin_frame_address instead of making assumptions about the
63461         location of the return address relative to DATA.  Force early load of
63462         the return address.
63463         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63464         __builtin_frame_address.
63466         dup3 for GNU Hurd.
63467         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63468         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63469         implement dup3 and do some further code clean-ups.
63470         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63471         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63473 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63475         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63477         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63478         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63479         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63480         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63481         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63482         d->port.lock.
63484         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63485         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
63486         when handler == SIG_ERR, not when handler != SIG_ERR.
63488 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63490         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63491         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63492         definitions.
63494         accept4 for GNU Hurd.
63495         * include/sys/socket.h (__libc_accept4): New prototype.
63496         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
63497         to implement __libc_accept4.
63498         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63499         __libc_accept4.
63500         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63502         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63503         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63504         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63505         signal-defines.sym.
63507 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63509         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63511 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63513         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63514         assertion on O_CLOEXEC flag.
63515         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63516         * hurd/intern-fd.c: Likewise.
63517         * hurd/port2fd.c: Likewise.
63519 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63521         [BZ #3906]
63522         * bits/in.h (IPV6_PKTINFO): Define new macro.
63523         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63525 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63527         [BZ #13954]
63528         [BZ #13955]
63529         [BZ #13956]
63530         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63531         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63532         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63533         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63534         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63535         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63536         * math/libm-test.inc (logb_test) : Additional logb tests.
63538 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
63539             Andreas Jaeger  <aj@suse.de>
63541         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63542         * configure: Regenerated.
63543         * config.h.in (LINK_OBSOLETE_RPC): New macro.
63544         * config.make.in (link-obsolete-rpc): New substituted variable.
63545         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63546         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63547         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63548         (shared-only-routines): Don't set it under [link-obsolete-rpc],
63549         so that libc.a contains the symbols.
63550         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63551         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63552         * sunrpc/auth_none.c: Likewise.
63553         * sunrpc/auth_unix.c: Likewise.
63554         * sunrpc/authdes_prot.c: Likewise.
63555         * sunrpc/authuxprot.c: Likewise.
63556         * sunrpc/clnt_gen.c: Likewise.
63557         * sunrpc/clnt_perr.c: Likewise.
63558         * sunrpc/clnt_raw.c: Likewise.
63559         * sunrpc/clnt_simp.c: Likewise.
63560         * sunrpc/clnt_tcp.c: Likewise.
63561         * sunrpc/clnt_udp.c: Likewise.
63562         * sunrpc/clnt_unix.c: Likewise.
63563         * sunrpc/des_crypt.c: Likewise.
63564         * sunrpc/des_soft.c: Likewise.
63565         * sunrpc/get_myaddr.c: Likewise.
63566         * sunrpc/key_call.c: Likewise.
63567         * sunrpc/key_prot.c: Likewise.
63568         * sunrpc/netname.c: Likewise.
63569         * sunrpc/pm_getmaps.c: Likewise.
63570         * sunrpc/pm_getport.c: Likewise.
63571         * sunrpc/pmap_clnt.c: Likewise.
63572         * sunrpc/pmap_prot.c: Likewise.
63573         * sunrpc/pmap_prot2.c: Likewise.
63574         * sunrpc/pmap_rmt.c: Likewise.
63575         * sunrpc/publickey.c: Likewise.
63576         * sunrpc/rpc_cmsg.c: Likewise.
63577         * sunrpc/rpc_common.c: Likewise.
63578         * sunrpc/rpc_dtable.c: Likewise.
63579         * sunrpc/rpc_prot.c: Likewise.
63580         * sunrpc/rpc_thread.c: Likewise.
63581         * sunrpc/rtime.c: Likewise.
63582         * sunrpc/svc.c: Likewise.
63583         * sunrpc/svc_auth.c: Likewise.
63584         * sunrpc/svc_raw.c: Likewise.
63585         * sunrpc/svc_run.c: Likewise.
63586         * sunrpc/svc_tcp.c: Likewise.
63587         * sunrpc/svc_udp.c: Likewise.
63588         * sunrpc/svc_unix.c: Likewise.
63589         * sunrpc/svcauth_des.c: Likewise.
63590         * sunrpc/xcrypt.c: Likewise.
63591         * sunrpc/xdr.c: Likewise.
63592         * sunrpc/xdr_array.c: Likewise.
63593         * sunrpc/xdr_float.c: Likewise.
63594         * sunrpc/xdr_intXX_t.c: Likewise.
63595         * sunrpc/xdr_mem.c: Likewise.
63596         * sunrpc/xdr_rec.c: Likewise.
63597         * sunrpc/xdr_ref.c: Likewise.
63598         * sunrpc/xdr_sizeof.c: Likewise.
63599         * sunrpc/xdr_stdio.c: Likewise.
63601 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63603         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63604         change.  Update copyright years.
63606 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63608         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63610 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
63611             Joseph Myers  <joseph@codesourcery.com>
63612             Paul Pluzhnikov  <ppluzhnikov@google.com>
63614         [BZ #14012]
63615         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63616         requiring rpcgen.
63617         [cross-compiling] (extra-libs): Likewise.
63618         [cross-compiling] (extra-libs-others): Likewise.
63619         [cross-compiling] (librpcsvc-routines): Likewise.
63620         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63621         [cross-compiling] (omit-deps): Likewise.
63622         (sunrpc-CPPFLAGS): New variable.
63623         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63624         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63625         (cross-rpcgen-objs): New variable.
63626         (extra-objs): Append $(cross-rpcgen-objs).
63627         ($(cross-rpcgen-objs)): New rule.
63628         ($(objpfx)cross-rpcgen): Likewise.
63629         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63630         comment.
63631         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63632         ($(objpfx)x%.stmp): Likewise.
63633         * sunrpc/proto.h [IS_IN_build] (_): Define.
63634         [IS_IN_build] (_libc_intl_domainname): Likewise.
63636 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63638         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63639         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63640         and R_X86_64_TPOFF64.
63642 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63644         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63645         sysdeps/unix/sysv/syscalls.list.
63646         (stime): Likewise.
63647         (utime): Likewise.
63648         * sysdeps/unix/sysv/syscalls.list: Remove file.
63650 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63652         [BZ #3440]
63653         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63654         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63655         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63656         (__LC_IDENTIFICATION): Make these macros useful in #if
63657         expressions, as required by C99.
63659 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63661         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63662         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63663         after this.
63665 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63667         * stdlib/longlong.h: Updated from GCC.
63669 2012-05-09  Andreas Jaeger  <aj@suse.de>
63671         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63672         default is first entry.
63673         (run_mode): Set type.
63674         (main): Remove informal message about syslog.
63675         (options): Fix typo.
63677         [BZ #14053]
63678         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63679         to asm.
63680         (lrint): Likewise.
63681         (llrintf): Likewise.
63682         (llrint): Likewise.
63683         (rint): Likewise.
63684         (rintf): Likewise.
63685         (nearbyint): Likewise.
63686         (nearbyintf): Likewise.
63688 2012-05-09  Andreas Jaeger  <aj@suse.de>
63689             Pedro Alves  <palves@redhat.com>
63691         * nscd/nscd.c (run_mode): Use enum.
63692         (main): Cleanup coding style issue.
63694 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
63695             Andreas Jaeger  <aj@suse.de>
63697         * nscd/nscd.c (go_background): Replaced with...
63698         (run_mode): ... this.
63699         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63700         (options): Add -F --foreground.
63701         (main): Implement it.
63702         (parse_opt): Parse it.
63704 2012-05-09  Andreas Jaeger  <aj@suse.de>
63706         [BZ #14083]
63707         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63708         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63709         -Wconversion warning.
63710         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63711         Likewise.
63713 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
63715         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
63716         == 0.
63717         (LC_ALL): Use macro-int-constant.
63718         (LC_COLLATE): Likewise.
63719         (LC_CTYPE): Likewise.
63720         (LC_MESSAGES): Likewise.
63721         (LC_MONETARY): Likewise.
63722         (LC_NUMERIC): Likewise.
63723         (LC_TIME): Likewise.
63724         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63725         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63726         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63727         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63728         Specify type.
63729         [C99-based standards] (float_t): Expect type.
63730         [C99-based standards] (double_t): Expect type.
63731         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
63732         type.
63733         [C99-based standards] (HUGE_VALL): Likewise.
63734         [C99-based standards] (INFINITY): Likewise.
63735         [C99-based standards] (NAN): Likewise.
63736         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
63737         [C99-based standards] (FP_NAN): Likewise.
63738         [C99-based standards] (FP_NORMAL): Likewise.
63739         [C99-based standards] (FP_SUBNORMAL): Likewise.
63740         [C99-based standards] (FP_ZERO): Likewise.
63741         [C99-based standards] (FP_FAST_FMA): Use
63742         optional-macro-int-constant.  Specify type.  Require == 1.
63743         [C99-based standards] (FP_FAST_FMAF): Likewise.
63744         [C99-based standards] (FP_FAST_FMAL): Likewise.
63745         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
63746         [C99-based standards] (FP_ILOGBNAN): Likewise.
63747         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
63748         Specify type.
63749         [C99-based standards] (MATH_ERREXCEPT): Likewise.
63750         [C99-based standards] (math_errhandling): Specify type.
63751         [ISO99 || ISO11] (signgam): Do not allow.
63752         [non-C99-based standards] (copysignf): Do not allow.
63753         [non-C99-based standards] (exp2f): Likewise.
63754         [non-C99-based standards] (log2f): Likewise.
63755         [non-C99-based standards] (modff): Allow.
63756         [non-C99-based standards] (erff): Do not allow.
63757         [non-C99-based standards] (erfcf): Likewise.
63758         [non-C99-based standards] (gammaf): Likewise.
63759         [non-C99-based standards] (hypotf): Likewise.
63760         [non-C99-based standards] (j0f): Likewise.
63761         [non-C99-based standards] (j1f): Likewise.
63762         [non-C99-based standards] (jnf): Likewise.
63763         [non-C99-based standards] (lgammaf): Likewise.
63764         [non-C99-based standards] (tgammaf): Likewise.
63765         [non-C99-based standards] (y0f): Likewise.
63766         [non-C99-based standards] (y1f): Likewise.
63767         [non-C99-based standards] (ynf): Likewise.
63768         [non-C99-based standards] (isnanf): Likewise.
63769         [non-C99-based standards] (acoshf): Likewise.
63770         [non-C99-based standards] (asinhf): Likewise.
63771         [non-C99-based standards] (atanhf): Likewise.
63772         [non-C99-based standards] (cbrtf): Likewise.
63773         [non-C99-based standards] (expm1f): Likewise.
63774         [non-C99-based standards] (ilogbf): Likewise.
63775         [non-C99-based standards] (log1pf): Likewise.
63776         [non-C99-based standards] (logbf): Likewise.
63777         [non-C99-based standards] (nextafterf): Likewise.
63778         [non-C99-based standards] (remainderf): Likewise.
63779         [non-C99-based standards] (rintf): Likewise.
63780         [non-C99-based standards] (scalbf): Likewise.
63781         [non-C99-based standards] (copysignl): Likewise.
63782         [non-C99-based standards] (exp2l): Likewise.
63783         [non-C99-based standards] (log2l): Likewise.
63784         [non-C99-based standards] (modfl): Allow.
63785         [non-C99-based standards] (erfl): Do not allow.
63786         [non-C99-based standards] (erfcl): Likewise.
63787         [non-C99-based standards] (gammal): Likewise.
63788         [non-C99-based standards] (hypotl): Likewise.
63789         [non-C99-based standards] (j0l): Likewise.
63790         [non-C99-based standards] (j1l): Likewise.
63791         [non-C99-based standards] (jnl): Likewise.
63792         [non-C99-based standards] (lgammal): Likewise.
63793         [non-C99-based standards] (tgammal): Likewise.
63794         [non-C99-based standards] (y0l): Likewise.
63795         [non-C99-based standards] (y1l): Likewise.
63796         [non-C99-based standards] (ynl): Likewise.
63797         [non-C99-based standards] (isnanl): Likewise.
63798         [non-C99-based standards] (acoshl): Likewise.
63799         [non-C99-based standards] (asinhl): Likewise.
63800         [non-C99-based standards] (atanhl): Likewise.
63801         [non-C99-based standards] (cbrtl): Likewise.
63802         [non-C99-based standards] (expm1l): Likewise.
63803         [non-C99-based standards] (ilogbl): Likewise.
63804         [non-C99-based standards] (log1pl): Likewise.
63805         [non-C99-based standards] (logbl): Likewise.
63806         [non-C99-based standards] (nextafterl): Likewise.
63807         [non-C99-based standards] (remainderl): Likewise.
63808         [non-C99-based standards] (rintl): Likewise.
63809         [non-C99-based standards] (scalbl): Likewise.
63810         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63811         [non-C99-based standards] (FP_*): Do not allow.
63812         [C99-based standards] (FP_*): Change to
63813         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63814         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63815         allow.
63816         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
63817         (SIG_ERR): Likewise.
63818         [X/Open-based standards] (SIG_HOLD): Likewise.
63819         (SIG_IGN): Likewise.
63820         (SIGABRT): Use macro-int-constant.  Specify type.  Require
63821         positive value.
63822         (SIGFPE): Likewise.
63823         (SIGILL): Likewise.
63824         (SIGINT): Likewise.
63825         (SIGSEGV): Likewise.
63826         (SIGTER): Likewise.
63827         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
63828         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
63829         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
63830         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
63831         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
63832         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
63833         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
63834         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
63835         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
63836         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
63837         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
63838         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
63839         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
63840         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
63841         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
63842         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
63843         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
63844         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
63845         [X/Open-based standards] (SIGTRAP): Likewise.
63846         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
63847         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
63848         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
63849         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
63850         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63851         allow.
63853 2012-05-08  Ian Wienand  <ianw@vmware.com>
63855         [BZ #14080]
63856         * time/tzset.c (__tzset_parse_tz): Update default rules for
63857         daylight time changes in the Energy Policy Act of 2005.
63859 2012-05-09  Andreas Jaeger  <aj@suse.de>
63861         [BZ #13983]
63862         * elf/ldconfig.c (parse_conf): Change string to make clear that
63863         ldconfig only issued a warning if ld.so.conf does not exist.
63865 2012-05-08  David S. Miller  <davem@davemloft.net>
63867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
63868         movxtod instead of popping the value on the stack.
63870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63872 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
63874         * config.h.in: Add HAVE_ARM_PCS_VFP.
63876 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
63878         [BZ #13979]
63879         * include/features.h: Warn if user requests __FORTIFY_SOURCE
63880         checking but the checks are disabled for any reason.
63882 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
63884         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
63885         and ELF64_R_TYPE with ELFW(R_TYPE).
63887 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
63889         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
63890         (ulimit): Likewise.
63892         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
63893         (settimeofday): Likewise.
63895 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
63897         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
63898         a struct th_u2 inside the union, and move tu_block/tu_code into
63899         a new th_u3 union of tu_block/tu_code inside of that.  Move
63900         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
63901         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
63902         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
63903         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
63904         (th_stuff): Change to th_u1.tu_stuff.
63905         (th_data): Define.
63906         (th_msg): Change to th_u1.th_u2.tu_data.
63908 2012-05-07  David S. Miller  <davem@davemloft.net>
63910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63912         [BZ #14074]
63913         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
63914         (SETUP_PIC_REG): Use it.
63915         (SETUP_PIC_REG_LEAF): Use it.
63917 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
63919         [BZ #13885]
63920         [BZ #13923]
63921         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63922         USE_AS_EXPM1L.
63923         (EXPL_FINITE): Likewise.
63924         (FLDLOG): Likewise.
63925         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63926         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63927         e_expl.S.
63928         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63929         USE_AS_EXPM1L.
63930         (EXPL_FINITE): Likewise.
63931         (FLDLOG): Likewise.
63932         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63933         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63934         e_expl.S.
63935         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
63936         test of -max_value argument for long double.
63937         * sysdeps/i386/fpu/libm-test-ulps: Update.
63938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63940 2012-05-06  David S. Miller  <davem@davemloft.net>
63942         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63943         quad soft-float symbols whose references which are compiler
63944         generated.
63945         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63947 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
63949         [BZ #13884]
63950         [BZ #13914]
63951         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63952         USE_AS_EXP10L.
63953         (EXPL_FINITE): Likewise.
63954         (FLDLOG): Likewise.
63955         (c0): Likewise.
63956         (c1): Likewise.
63957         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63958         Adjust comments for base varying.
63959         (__expl_finite): Change alias to EXPL_FINITE.
63960         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63961         e_expl.S.
63962         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63963         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63964         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63965         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63966         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63967         USE_AS_EXP10L.
63968         (EXPL_FINITE): Likewise.
63969         (FLDLOG): Likewise.
63970         (c0): Likewise.
63971         (c1): Likewise.
63972         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63973         Adjust comments for base varying.
63974         (__expl_finite): Change alias to EXPL_FINITE.
63975         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
63976         tests for bugs.
63977         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63979         [BZ #14064]
63980         * math/libm-test.inc (check_float_internal): Correct ulp
63981         calculation for subnormal expected results.
63983 2012-05-06  Andreas Jaeger  <aj@suse.de>
63985         * Makeconfig (+math-flags): New, set to -frounding-math.
63986         (+cflags): Add +math-flags so that all of glibc gets compiled with
63987         it.
63989         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63991 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
63993         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63994         Disable one test.
63996         [BZ #13787]
63997         [BZ #13922]
63998         [BZ #14036]
63999         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64000         (__ieee754_expl): Allow for and saturate large arguments.
64001         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64002         (u_threshold): Likewise.
64003         (__exp): Call __ieee754_exp before checking for overflow and
64004         underflow.
64005         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64006         (u_threshold): Likewise.
64007         (__expf): Call __ieee754_expf before checking for overflow and
64008         underflow.
64009         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64010         (u_threshold): Likewise.
64011         (__expl): Call __ieee754_expl before checking for overflow and
64012         underflow.
64013         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64014         (__ieee754_expl): Allow for and saturate large arguments.
64015         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64016         missing overflow exception on overflow.
64017         (expm1_test): Do not allow missing overflow exception on overflow.
64019         * sysdeps/i386/fpu/e_expl.c: Move to ...
64020         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64021         rather than using inline asm.
64022         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64023         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64024         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64026         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64027         (nice): Likewise.
64028         (poll): Likewise.
64029         (signal): Likewise.
64030         (time): Likewise.
64031         (times): Likewise.
64033 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64035         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64036         sysdeps/unix/common/syscalls.list.
64037         (fchmod): Likewise.
64038         (fchown): Likewise.
64039         (ftruncate): Likewise.
64040         (getrusage): Likewise.
64041         (gettimeofday): Likewise.
64042         (setpgid): Likewise.
64043         (setregid): Likewise.
64044         (setreuid): Likewise.
64045         (sigaction): Likewise.
64046         (truncate): Likewise.
64047         (vhangup): Likewise.
64048         * sysdeps/unix/common/syscalls.list: Remove file.
64049         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64050         * sysdeps/unix/sysv/linux/Implies: Likewise.
64052 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64054         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64056         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64057         Moved to ...
64058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64059         Here.
64060         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64061         to ...
64062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64063         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64064         to ...
64065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64066         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64067         to ...
64068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64069         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64070         to ...
64071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64072         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64073         to ...
64074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64075         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64076         to ...
64077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64078         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64079         to ...
64080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64081         Here.
64082         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64083         to ...
64084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64085         Here.
64086         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64087         to ...
64088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64089         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64090         Moved to ...
64091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64092         Here.
64093         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64094         to ...
64095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64097 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64099         * sysdeps/unix/common/bits/dirent.h: Remove file.
64100         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64102         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64103         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64104         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64105         * sysdeps/unix/bsd/isatty.c: Likewise.
64106         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64107         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64108         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64110 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64112         [BZ #13563]
64113         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64114         long double comparison inaccuracies.
64115         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64118 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64120         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64121         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64123 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64125         [BZ #14049]
64126         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64127         nonzero digits before rounding a hex value.
64128         * stdlib/tst-strtod.c (tests): Add another test.
64130 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64132         * sysdeps/s390/fpu/libm-test-ulps: Update.
64134 2012-05-03  Andreas Jaeger  <aj@suse.de>
64136         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64137         does not get optimized out.
64138         (malloc_opt_barrier): New.
64140 2012-05-03  Andreas Jaeger  <aj@suse.de>
64141             Roland McGrath  <roland@hack.frob.com>
64143         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64144         intermediate file deletion.
64145         (generated): Add .symlist files.
64147 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64149         [BZ #13775]
64150         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64151         Redirect under this condition.
64152         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64153         [__USE_GNU] (__dprintf_chk): Not under this condition.
64154         [__USE_GNU] (__vdprintf_chk): Likewise.
64155         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64156         under this condition.
64157         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64158         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64159         [__USE_XOPEN2K8] (vdprintf): Likewise.
64160         [__USE_GNU] (__dprintf_chk): Not under this condition.
64161         [__USE_GNU] (__vdprintf_chk): Likewise.
64162         [__USE_GNU] (dprintf): Likewise.
64163         [__USE_GNU] (vdprintf): Likewise.
64165 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64167         * elf/Makefile (common-generated): Set this instead of generated for
64168         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64169         $(all-built-dso)-derived lists.
64171 2012-05-03  Andreas Jaeger  <aj@suse.de>
64173         * sysdeps/i386/fpu/libm-test-ulps: Update.
64175         * FAQ: Removed.
64176         * FAQ.in: Likewise.
64177         * scripts/gen-FAQ.pl: Likewise.
64178         * manual/install.texi (Installation): Point to online location of
64179         FAQ.
64180         * Makefile (files-for-dist): Remove FAQ.
64181         (FAQ): Remove.
64183 2012-05-02  Allan McRae  <allan@archlinux.org>
64185         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64186         (LDFLAGS-reldepmod5.so): Likewise.
64187         (LDFLAGS-reldep6mod1.so): Likewise.
64188         (LDFLAGS-reldep6mod4.so): Likewise.
64189         (LDFLAGS-reldep8mod3.so): Likewise.
64190         (LDFLAGS-unload4mod1.so): Likewise.
64191         (LDFLAGS-unload4mod2.so): Likewise.
64192         (LDFLAGS-tst-initorder): Likewise.
64193         (LDFLAGS-tst-initordera2.so): Likewise.
64194         (LDFLAGS-tst-initordera3.so): Likewise.
64195         (LDFLAGS-tst-initordera4.so): Likewise.
64196         (LDFLAGS-tst-initorderb2.so): Likewise.
64197         (LDFLAGS-noload): Likewise.
64198         (LDFLAGS-next): Likewise.
64199         (LDFLAGS-order2mod1.so): Likewise.
64200         (LDFLAGS-order2mod2.so): Likewise.
64201         (LDFLAGS-tst-initorder2): Likewise.
64202         (LDFLAGS-tst-initorder2a.so): Likewise.
64203         (LDFLAGS-tst-initorder2b.so): Likewise.
64204         (LDFLAGS-tst-initorder2c.so): Likewise.
64205         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64207 2012-05-02  David S. Miller  <davem@davemloft.net>
64209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64211 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64213         [BZ #14055]
64214         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64216 2012-05-02  Andreas Jaeger  <aj@suse.de>
64218         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64219         since we manipulate rounding mode.
64220         (CPPFLAGS-test-idouble.c): Likewise.
64221         (CPPFLAGS-test-ifloat.c): Likewise.
64222         (CFLAGS-test-ldouble.c): Likewise.
64223         (CFLAGS-test-double.c): Likewise.
64224         (CFLAGS-test-float.c): Likewise.
64225         (CFLAGS-test-misc.c): Likewise.
64226         (CFLAGS-test-test-fenv.c): Likewise.
64228 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64230         [BZ #2550]
64231         [BZ #2570]
64232         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64233         comparisons to determine direction to adjust input.
64235 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64237         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64238         output to the target.
64240         * scripts/localplt.awk: New file.
64241         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64242         (check-localplt-CFLAGS): Variable removed.
64243         ($(all-built-dso:=.jmprel)): New static pattern rule.
64244         (generated): Add those targets.
64245         (localplt-built-dso): New variable.
64246         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64248         * elf/check-localplt.c: File removed.
64250         * scripts/check-execstack.awk: New file.
64251         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64252         (check-execstack-CFLAGS): Variable removed.
64253         ($(objpfx)check-execstack.h): Target removed.
64254         ($(objpfx)execstack-default): New target.
64255         (generated): Add that instead of check-execstack.h.
64256         ($(all-built-dso:=.phdr)): New static pattern rule.
64257         (generated): Add those targets.
64258         * elf/check-execstack.c: File removed.
64260         * scripts/check-textrel.awk: New file.
64261         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64262         (check-textrel-CFLAGS): Variable removed.
64263         (all-built-dso): Use := to define.o
64264         ($(all-built-dso:=.dyn)): New static pattern rule.
64265         (generated): Add those targets.
64266         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64267         * config.make.in (READELF): New substituted variable.
64268         * elf/check-textrel.c: File removed.
64270 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64272         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64273         allow.
64274         * conform/data/ctype.h-data [C99-based standards] (isblank):
64275         Expect function.
64276         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64277         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64278         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64279         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64280         Specify type.  Require positive value.
64281         (EILSEQ): Likewise.
64282         (ERANGE): Likewise.
64283         [ISO || POSIX] (EILSEQ): Do not expect.
64284         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64285         Specify type.  Require positive value.
64286         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64287         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64288         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64289         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64290         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64291         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64292         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64293         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64294         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64295         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64296         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64297         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64298         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64299         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64300         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64301         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64302         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64303         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64304         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64305         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64306         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64307         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64308         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64309         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64310         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64311         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64312         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64313         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64314         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64315         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64316         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64317         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64318         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64319         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64320         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64321         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64322         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64323         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64324         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64325         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64326         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64327         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64328         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64329         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64330         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64331         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64332         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64333         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64334         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64335         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64336         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64337         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64338         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64339         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64340         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64341         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64342         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64343         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64344         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64345         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64346         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64347         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64348         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64349         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64350         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64351         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64352         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64353         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64354         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64355         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64356         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64357         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64358         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64359         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64360         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64361         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64362         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64363         Require >= 2.
64364         (FLT_ROUNDS): Expect as macro, not constant.
64365         (FLT_MANT_DIG): Use macro-int-constant.
64366         (DBL_MANT_DIG): Likewise.
64367         (LDBL_MANT_DIG): Likewise.
64368         (FLT_DIG): Likewise.
64369         (DBL_DIG): Likewise.
64370         (LDBL_DIG): Likewise.
64371         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
64372         (DBL_MIN_EXP): Likewise.
64373         (LDBL_MIN_EXP): Likewise.
64374         (FLT_MAX_EXP): Use macro-int-constant.
64375         (DBL_MAX_EXP): Likewise.
64376         (LDBL_MAX_EXP): Likewise.
64377         (FLT_MAX_10_EXP): Likewise.
64378         (DBL_MAX_10_EXP): Likewise.
64379         (LDBL_MAX_10_EXP): Likewise.
64380         (FLT_MAX): Use macro-constant.
64381         (DBL_MAX): Likewise.
64382         (LDBL_MAX): Likewise.
64383         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64384         (DBL_EPSILON): Likewise.
64385         (LDBL_EPSILON): Likewise.
64386         (FLT_MIN): Likewise.
64387         (DBL_MIN): Likewise.
64388         (LDBL_MIN): Likewise.
64389         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64390         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64391         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64392         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64393         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64394         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64395         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64396         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64397         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64398         [ISO11] (FLT_TRUE_MIN): Likewise.
64399         [ISO11] (LDBL_TRUE_MIN): Likewise.
64400         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64401         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64402         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64403         (SCHAR_MAX): Likewise.
64404         (UCHAR_MAX): Likewise.
64405         (CHAR_MIN): Likewise.
64406         (CHAR_MAX): Likewise.
64407         (MB_LEN_MAX): Use macro-int-constant.
64408         (SHRT_MIN): Use macro-int-constant.  Specify type.
64409         (SHRT_MAX): Likewise.
64410         (USHRT_MAX): Likewise.
64411         (INT_MAX): Likewise.
64412         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64413         bound negative.
64414         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64415         bound with "U".
64416         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64417         bound with "L".
64418         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64419         bound negative.  Suffix upper bound with "L".
64420         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64421         bound with "UL".
64422         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64423         Specify type.
64424         [C99-based standards] (LLONG_MAX): Likewise.
64425         [C99-based standards] (ULLONG_MAX): Likewise.
64426         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64427         == 0.
64428         [ISO11] (max_align_t): Require type.
64429         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64431         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64432         from $CFLAGS, without defining away __attribute__ calls.
64433         (checknamespace): Use $CFLAGS_namespace.
64435         * conform/conformtest.pl (@keywords): Only include C99 keywords
64436         for standards based on C99 or C11.
64438         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64439         Disable tests.
64440         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64441         UNIX98]: Likewise.
64443         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64444         usability of symbols in #if.
64446         * conform/conformtest.pl: If macro or constant types start
64447         "promoted:", expect the symbol to be of the following type
64448         promoted by the integer promotions.
64450         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64451         in one place.  Also handle "macro-constant".
64453         * conform/conformtest.pl: Only accept expected macro values with
64454         "==".  Parse all "macro" lines in one place.
64455         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64457         * conform/conformtest.pl: Handle braced types on "constant" lines
64458         instead of handling "typed-constant".
64459         * conform/data/signal.h-data: Use "constant" instead of
64460         "typed-constant".
64462         * conform/conformtest.pl: Handle "optional-" at start of lines in
64463         one place rather than duplicating several cases.  Handle each
64464         format of "macro" line with initial "optional-".
64466         * conform/conformtest.pl: Only accept expected constant or
64467         optional-constant values with "==".  Parse all "constant" lines in
64468         one place.  Parse all "optional-constant" lines in one place.
64469         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64470         * conform/data/fmtmsg.h-data: Likewise.
64471         * conform/data/netinet/in.h-data: Likewise.
64472         * conform/data/tar.h-data: Likewise.
64473         * conform/data/limits.h-data: Use "==" form on "constant" and
64474         "optional-constant" lines.
64476         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64477         Use -std=c99 for XOPEN2K.
64478         (@knownproblems): Remove.
64479         (newtoken): Don't check %isknown.
64481         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64482         Do not expect macro.
64483         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64484         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64485         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64486         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64487         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64488         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64489         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64490         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64491         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64492         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64493         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64494         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64495         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64496         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64497         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64498         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64499         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64500         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64501         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64502         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64503         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64504         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64505         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64506         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64507         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64508         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64509         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64510         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64511         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64512         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64513         [XPG3] (acosh): Likewise.
64514         [XPG3] (asinh): Likewise.
64515         [XPG3] (atanh): Likewise.
64516         [XPG3] (cbrt): Likewise.
64517         [XPG3] (expm1): Likewise.
64518         [XPG3] (ilogb): Likewise.
64519         [XPG3] (log1p): Likewise.
64520         [XPG3] (logb): Likewise.
64521         [XPG3] (nextafter): Likewise.
64522         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64523         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64524         [XPG3] (remainder): Likewise.
64525         [XPG3] (rint): Likewise.
64526         [XPG3 || XPG4 || UNIX98] (round): Likewise.
64527         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64528         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64529         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64530         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64531         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64532         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64533         [UNIX98 || XOPEN2K] (scalb): Expect.
64534         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64535         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64536         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64537         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64538         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64539         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64540         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64541         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64542         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64543         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64544         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64545         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64546         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64547         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64548         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64549         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64550         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64551         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64552         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64553         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64554         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64555         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64556         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64557         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64558         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64559         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64560         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64561         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64562         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64563         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64564         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64565         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64566         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64567         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64568         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64569         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64570         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64571         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64572         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64573         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64574         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64575         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64576         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64577         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64578         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64579         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64580         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64581         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64582         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64583         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64584         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64585         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64586         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64587         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64588         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64589         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64590         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64591         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64592         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64593         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64594         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64595         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64596         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64597         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64598         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64599         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64600         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64601         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64602         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64603         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64604         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64605         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64606         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64607         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64608         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64609         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64610         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64611         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64612         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64613         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64614         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64615         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64616         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64617         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64618         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64619         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64620         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64621         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64622         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64623         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64624         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64625         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64626         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64627         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64628         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64629         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64630         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64631         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64632         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64633         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64634         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64635         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64636         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64637         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64638         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64639         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64640         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64641         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64642         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64643         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64644         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64645         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64646         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64647         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64648         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64649         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64650         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64651         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64652         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64653         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64654         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64655         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64656         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64657         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64658         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64659         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64660         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64661         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64662         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64663         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64664         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64665         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64666         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64667         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64668         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64669         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64670         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64672         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64673         _XOPEN_SOURCE_EXTENDED for XPG4.
64675         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64677         * Makeconfig (localtime): Remove variable.
64678         (inst_localtime-file): Likewise.
64680 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64683         Update.
64684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64685         Update.
64686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64687         Update.
64688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64689         Update.
64690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64691         Update.
64692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64693         Update.
64694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64695         Update.
64696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64697         Update.
64698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64699         Update.
64701 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64703         [BZ #2550]
64704         [BZ #2570]
64705         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64706         comparisons to determine direction to adjust input.
64707         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64708         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64709         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64710         Likewise.
64711         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64712         Likewise.
64713         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64714         Likewise.
64715         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64716         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64717         Likewise.
64718         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64719         Likewise.
64720         * math/libm-test.inc (nexttoward_test): Add more tests.
64722 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64724         [BZ #14040]
64725         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64726         in version GLIBC_2.1, not GLIBC_2.0.
64727         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64728         Likewise.
64730 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
64732         [BZ #13942]
64733         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64734         (1 - x) * (1 + x).
64735         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64736         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
64737         * math/libm-test.inc (acos_test): Add more tests.
64738         (asin_test): Likewise.
64739         * sysdeps/i386/fpu/libm-test-ulps: Update.
64740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64742         [BZ #14034]
64743         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
64744         of square root.
64745         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
64746         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64747         * math/libm-test.inc (acos_test_tonearest): New function.
64748         (acos_test_towardzero): Likewise.
64749         (acos_test_downward): Likewise.
64750         (acos_test_upward): Likewise.
64751         (asin_test_tonearest): Likewise.
64752         (asin_test_towardzero): Likewise.
64753         (asin_test_downward): Likewise.
64754         (asin_test_upward): Likewise.
64755         (main): Call the new functions.
64756         * sysdeps/i386/fpu/libm-test-ulps: Update.
64757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64759         [BZ #13884]
64760         [BZ #13924]
64761         * math/e_exp10.c: Include <float.h>.
64762         (__ieee754_exp10): Handle underflow here rather than multiplying
64763         large negative argument by M_LN10.
64764         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
64765         of __ieee754_expf.
64766         * math/e_exp10l.c: Include <float.h>.
64767         (__ieee754_exp10l): Handle underflow here rather than multiplying
64768         large negative argument by M_LN10l.
64769         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
64770         spurious overflow exception on underflow.
64772 2012-04-29  Marek Polacek  <polacek@redhat.com>
64774         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
64775         (__fortify_function): New macro.
64776         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
64777         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
64778         __extern_always_inline.
64779         * libio/bits/stdio2.h: Likewise.
64780         * libio/bits/stdio.h: Likewise.
64781         * string/string.h: Likewise.
64782         * string/bits/string3.h: Likewise.
64783         * include/stdio.h: Likewise.
64784         * stdlib/bits/stdlib.h: Likewise.
64785         * stdlib/stdlib.h: Likewise.
64786         * rt/bits/mqueue2.h: Likewise.
64787         * rt/mqueue.h: Likewise.
64788         * posix/bits/unistd.h: Likewise.
64789         * posix/unistd.h: Likewise.
64790         * io/bits/poll2.h: Likewise.
64791         * io/bits/fcntl2.h: Likewise.
64792         * io/fcntl.h: Likewise.
64793         * io/sys/poll.h: Likewise.
64794         * misc/bits/syslog.h: Likewise.
64795         * misc/bits/syslog-ldbl.h: Likewise.
64796         * misc/sys/syslog.h: Likewise.
64797         * socket/bits/socket2.h: Likewise.
64798         * socket/sys/socket.h: Likewise.
64799         * debug/tst-chk1.c: Likewise.
64800         * wcsmbs/bits/wchar2.h: Likewise.
64801         * wcsmbs/bits/wchar-ldbl.h: Likewise.
64802         * wcsmbs/wchar.h: Likewise.
64804 2012-04-29  Andreas Jaeger  <aj@suse.de>
64806         * Makerules (tests): Remove enable-check-abi protection.
64807         (check-abi-warn): Remove.
64808         (check-abi-%): Remove check-abi-warn usage.
64810         * configure.in: Remove check-abi configure option.
64811         * configure: Regenerated.
64812         * config.make.in (enable-check-abi): Remove.
64814 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
64816         [BZ #14033]
64817         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
64818         double functions to double *_finite functions.
64820         [BZ #13941]
64821         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
64822         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
64823         LDBL_MIN_EXP.
64824         * stdio-common/Makefile (tests): Add tst-sprintf3.
64825         * stdio-common/tst-sprintf3.c: New file.
64827         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
64828         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
64830 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64832         * conform/conformtest.pl: Remove duplicate typed-constant
64833         handling.
64835 2012-04-28  David S. Miller  <davem@davemloft.net>
64837         * Makerules (%.abilist): Add vpath on sysdep_dirs.
64838         (check-abi-%): Remove AWK script prerequisite and explicit
64839         abilist directory.
64840         (check-abi): Rewrite to just diff the symlist with the abilist.
64841         (config-tls, config-abi-config): Delete, no longer used.
64842         (update-abi-%): Remove AWK script and explicit abilist directory.
64843         (update-abi): Rewrite to simply compare and conditionally copy the
64844         symlist and the sysdep abilist file.  Remove update-abi-config
64845         checks.
64846         * abilist/ld.abilist: Remove.
64847         * abilist/libBrokenLocale.abilist: Remove.
64848         * abilist/libanl.abilist: Remove.
64849         * abilist/libcrypt.abilist: Remove.
64850         * abilist/libdl.abilist: Remove.
64851         * abilist/librt.abilist: Remove.
64852         * abilist/libthread_db.abilist: Remove.
64853         * abilist/libutil.abilist: Remove.
64854         * scripts/extract-abilist.awk: Remove.
64855         * scripts/merge-abilist.awk: Remove.
64856         * sysdeps/generic/libcidn.abilist: New file.
64857         * sysdeps/generic/libnss_compat.abilist: New file.
64858         * sysdeps/generic/libnss_db.abilist: New file.
64859         * sysdeps/generic/libnss_dns.abilist: New file.
64860         * sysdeps/generic/libnss_files.abilist: New file.
64861         * sysdeps/generic/libnss_hesiod.abilist: New file.
64862         * sysdeps/generic/libnss_nis.abilist: New file.
64863         * sysdeps/generic/libnss_nisplus.abilist: New file.
64864         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
64865         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
64866         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
64867         file.
64868         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
64869         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
64870         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
64871         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
64872         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
64873         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
64874         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
64875         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
64876         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
64877         file.
64878         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
64879         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
64880         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
64881         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
64882         file.
64883         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
64884         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
64885         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
64886         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
64887         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
64888         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
64889         file.
64890         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
64891         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
64892         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
64893         file.
64894         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
64895         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
64896         New file.
64897         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
64898         New file.
64899         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
64900         New file.
64901         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
64902         New file.
64903         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
64904         New file.
64905         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
64906         New file.
64907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
64908         New file.
64909         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
64910         New file.
64911         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
64912         New file.
64913         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
64914         New file.
64915         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
64916         New file.
64917         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
64918         New file.
64919         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
64920         New file.
64921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
64922         file.
64923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
64924         New file.
64925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
64926         New file.
64927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
64928         file.
64929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
64930         New file.
64931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
64932         New file.
64933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
64934         file.
64935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
64936         New file.
64937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64938         New file.
64939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
64940         New file.
64941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
64942         New file.
64943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64944         New file.
64945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64946         New file.
64947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64949         file.
64950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64951         New file.
64952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64953         file.
64954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64955         file.
64956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64957         file.
64958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64959         file.
64960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64961         file.
64962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64963         New file.
64964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64965         file.
64966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64967         file.
64968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64969         New file.
64970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64971         file.
64972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64974         file.
64975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64976         New file.
64977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64978         file.
64979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64980         file.
64981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64982         file.
64983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64984         file.
64985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64986         file.
64987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64988         New file.
64989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64990         file.
64991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64992         file.
64993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64994         New file.
64995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64996         file.
64997         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64998         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64999         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65000         file.
65001         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65002         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65003         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65004         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65005         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65006         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65007         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65008         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65009         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65010         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65013         file.
65014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65015         New file.
65016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65017         file.
65018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65019         file.
65020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65021         file.
65022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65023         file.
65024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65025         file.
65026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65027         New file.
65028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65029         New file.
65030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65031         file.
65032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65033         New file.
65034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65035         file.
65036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65038         file.
65039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65040         New file.
65041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65042         file.
65043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65044         file.
65045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65046         file.
65047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65048         file.
65049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65050         file.
65051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65052         New file.
65053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65054         New file.
65055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65056         file.
65057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65058         New file.
65059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65060         file.
65062 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65064         * conform/conformtest.pl: Fix typo in handling typed-constant from
65065         allow-header.
65067 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65069         * README: Cut down references to pre-2.6 Linux kernels and
65070         Linuxthreads.  Update lists of configurations in libc and ports
65071         and sort alphabetically.  Say "or newer" with Linux kernel version
65072         requirements.
65074         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65076 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65078         [BZ #887]
65079         * math/libm-test.inc (logb_test_downward): New test to expose
65080         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65081         rounding mode.
65083 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65085         [BZ #14027]
65086         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65087         to be done.
65088         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65089         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65091 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65093         * sysdeps/unix/i386/brk.S: Remove file.
65094         * sysdeps/unix/i386/dl-brk.S: Likewise.
65095         * sysdeps/unix/i386/pipe.S: Likewise.
65096         * sysdeps/unix/i386/sigreturn.S: Likewise.
65097         * sysdeps/unix/i386/syscall.S: Likewise.
65098         * sysdeps/unix/i386/vfork.S: Likewise.
65099         * sysdeps/unix/i386/wait.S: Likewise.
65101         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65102         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65104         * configure.in (arm*-none*): Do not allow without
65105         --enable-hacker-mode.
65106         (netbsd*): Remove case setting base_os.
65107         (386bsd*): Likewise.
65108         (freebsd*): Likewise.
65109         (bsdi*): Likewise.
65110         (osf*): Likewise.
65111         (sunos*): Likewise.
65112         (ultrix*): Likewise.
65113         (newsos*): Likewise.
65114         (dynix*): Likewise.
65115         (*bsd*): Likewise.
65116         (sysv*): Likewise.
65117         (isc*): Likewise.
65118         (esix*): Likewise.
65119         (sco*): Likewise.
65120         (minix*): Likewise.
65121         (irix4*): Likewise.
65122         (irix6*): Likewise.
65123         (solaris[2-9]*): Likewise.
65124         (none): Likewise.
65125         * configure: Regenerated.
65127 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65129         [BZ #11521]
65130         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65131         overflow or cancellation in calculating denominator.
65132         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65133         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65134         down expression to avoid unexpected rounding in newer GCCs.
65135         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65137 2012-04-26  David S. Miller  <davem@davemloft.net>
65139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65140         long-double compat symbols.
65141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65155 2012-04-25  David S. Miller  <davem@davemloft.net>
65157         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65158         HWCAP_* values only after the memory barriers have been defined.
65159         (atomic_full_barrier): Define.
65160         (atomic_read_barrier): Define.
65161         (atomic_write_barrier): Define.
65163 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65165         * shlib-versions: Add libgcc_s version information.
65166         * sysdeps/generic/libgcc_s.h: Remove.
65167         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65168         libgcc_s.h.
65169         * sysdeps/gnu/unwind-resume.c: Likewise.
65170         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65172 2012-04-25  David S. Miller  <davem@davemloft.net>
65174         * sysdeps/unix/sparc/brk.S: Delete.
65175         * sysdeps/unix/sparc/dl-brk.S: Delete.
65176         * sysdeps/unix/sparc/pipe.S: Delete.
65177         * sysdeps/unix/sparc/sysdep.S: Delete.
65178         * sysdeps/unix/sparc/sysdep.h: Delete.
65179         * sysdeps/unix/sparc/vfork.S: Delete.
65180         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65181         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65182         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65183         (ret_ERRVAL, r0, r1, MOVE): Define.
65184         (JUMPTARGET): Remove.
65185         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65186         sysdeps/unix/sparc/sysdep.h
65187         (ENTRY, END): Remove.
65188         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65190 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65192         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65193         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65194         -DIS_IN_build.
65196         * timezone/README: Update upstream location and email address for
65197         tzcode and tzdata.
65198         * timezone/zdump.c: Update from tzcode 2012b.
65199         * timezone/zic.c: Likewise.
65201         * configure.in (libc_cv_as_needed): Remove test.
65202         * configure: Regenerated.
65203         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65204         conditional definition.
65205         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65206         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65207         * config.make.in (have-as-needed): Remove variable.
65209 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65210             Paul Pluzhnikov  <ppluzhnikov@google.com>
65212         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65213         strings correctly.
65215 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65217         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65218         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65219         * sysdeps/sh/strlen.S: Likewise.
65221 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65223         * sysdeps/unix/fork.S: Remove file.
65224         * sysdeps/unix/i386/fork.S: Likewise.
65225         * sysdeps/unix/sparc/fork.S: Likewise.
65227         * sysdeps/unix/system.c: Remove file.
65228         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65230         * sysdeps/unix/getegid.S: Remove file.
65231         * sysdeps/unix/geteuid.S: Likewise.
65233 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65235         * scripts/check-localplt.awk: New file.
65236         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65237         of diff.
65238         * scripts/data/localplt-generic.data: Add a comment.
65240         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65241         NODE when __dir_mkfile failed.
65242         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65243         Reported by Ludovic Courtès <ludo@gnu.org>.
65245 2012-04-24  Andreas Jaeger  <aj@suse.de>
65247         * Makerules (common-clean): Also remove gen-as-const-headers
65248         files.
65250 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65252         * Makerules (native-compile): Do not change working directory for
65253         build.  Use $(OUTPUT_OPTION) in command.
65254         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65256 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65258         [BZ #13886]
65259         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65260         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65261         * math/libm-test.inc (floor_test): Add more tests.
65262         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65264 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65266         * sysdeps/unix/getdents.c: Remove file.
65267         * sysdeps/unix/sysv/getdents.c: Likewise.
65268         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65270         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65271         sysdeps/unix/mman/syscalls.list.
65272         (mmap): Likewise.
65273         (mprotect): Likewise.
65274         (msync): Likewise.
65275         (munmap): Likewise.
65276         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65277         * sysdeps/unix/mman/syscalls.list: Remove.
65278         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65280         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65281         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65282         * configure: Regenerated.
65283         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65284         $(libgcc_s_suffix).
65285         * config.make.in (libgcc_s_suffix): Remove variable.
65287 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65289         * sysdeps/unix/sysv/gethostname.c: Move to ...
65290         * sysdeps/posix/gethostname.c: ... here.
65292         * sysdeps/unix/execve.S: Remove file.
65294         * sysdeps/unix/_exit.S: Remove file.
65296 2012-04-23  Andreas Jaeger  <aj@suse.de>
65298         [BZ #13739]
65299         * manual/Makefile: Remove make dist support, there's no
65300         need for a stand-alone documentation tar ball.
65301         (TEXI2DVI): Define always, it's not in Makeconfig.
65302         (dist): Removed.
65303         (tar-it): Removed.
65304         (edition): Removed.
65305         (glibc-doc-$(edition).tar): Removed
65306         (%.Z): Removed.
65307         (%.gz): Removed.
65308         (%.uu): Removed.
65309         (ETAGS): Remove, it's in Makeconfig.
65310         (move-if-change): Remove, it's in Makeconfig.
65312 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
65314         [BZ #13970]
65315         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65316         (strtod, strtof, strtold, strtol, strtoul, strtoq)
65317         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65318         (strtod_l, strtof_l, strtold_l): Remove __wur.
65319         It is not necessarily an error to ignore strtol's return value.
65320         One can reliably look at the stored endptr to decide whether
65321         the number had valid syntax.
65323 2012-04-21  Andreas Jaeger  <aj@suse.de>
65325         [BZ #13739]
65326         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65328 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
65330         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65331         * sysdeps/unix/sysv/Versions: Remove file.
65333 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
65335         [BZ #13927]
65336         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65338 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
65340         [BZ #7064]
65341         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65342         version from __vm86.
65344 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
65346         * sysdeps/unix/common/lxstat.c: Remove file.
65347         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65349         * sysdeps/unix/sysv/Makefile: Remove file.
65351         * sysdeps/unix/sysv/direct.h: Remove file.
65353         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65354         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65355         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65356         * sysdeps/unix/sysv/bits/signum.h: Likewise.
65357         * sysdeps/unix/sysv/bits/stat.h: Likewise.
65358         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65359         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65361         * sysdeps/unix/sysv/setrlimit.c: Remove file.
65363         * sysdeps/unix/xmknod.c: Remove file.
65364         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65366         * sysdeps/unix/sysv/settimeofday.c: Remove file.
65368         * sysdeps/unix/sysv/i386/time.S: Remove file.
65370         * sysdeps/unix/fxstat.c: Remove file.
65371         * sysdeps/unix/xstat.c: Likewise.
65372         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65374         * sysdeps/unix/sysv/sigaction.c: Remove file.
65376         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65377         (sysdep_headers): Remove variable.
65378         [termio.h not in sysdep_headers] (generated): Likewise.
65379         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65380         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65381         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65382         * sysdeps/unix/sysv/tcflow.c: Likewise.
65383         * sysdeps/unix/sysv/tcflush.c: Likewise.
65384         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65385         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65386         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65387         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65388         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65390         * sysdeps/unix/siglist.c: Remove file.
65392         * sysdeps/unix/getppid.S: Remove file.
65394         * sysdeps/unix/mkdir.c: Remove file.
65395         * sysdeps/unix/rmdir.c: Likewise.
65397 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65399         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65400         ERR_MAX value.
65401         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65402         errlist-compat value.
65404 2012-04-18  David S. Miller  <davem@davemloft.net>
65406         * sysdeps/generic/memcopy.h (reg_char): Delete.
65407         * debug/strcat_chk.c: Use char, not reg_char.
65408         * debug/strcpy_chk.c: Likewise.
65409         * debug/strncat_chk.c: Likewise.
65410         * debug/strncpy_chk.c: Likewise.
65411         * string/memchr.c: Likewise.
65412         * string/memrchr.c: Likewise.
65413         * string/rawmemchr.c: Likewise.
65414         * string/strcat.c: Likewise.
65415         * string/strchr.c: Likewise.
65416         * string/strchrnul.c: Likewise.
65417         * string/strcmp.c: Likewise.
65418         * string/strcpy.c: Likewise.
65419         * string/strncat.c: Likewise.
65420         * string/strncmp.c: Likewise.
65421         * string/strncpy.c: Likewise.
65423 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65425         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65426         __builtin_memcopy is called when src and dest ranges are known to not
65427         overlap.
65429 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65431         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65432         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65433         fwd_align_merge macro call.
65434         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65435         bwd_align_merge macro call.
65436         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65438 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65440         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65441         bwd_align_merge macros.
65442         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65443         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65444         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65446 2012-04-18  David S. Miller  <davem@davemloft.net>
65448         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65450 2012-04-18  Andreas Jaeger  <aj@suse.de>
65452         [BZ# 6794]
65453         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65454         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65455         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65457         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65458         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65459         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65461         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65462         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65463         Adjust for changed ldbl-128 files.
65465         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65466         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65467         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65469 2012-04-17  David S. Miller  <davem@davemloft.net>
65471         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65473 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65475         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65476         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65477         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65478         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65479         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65480         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65482 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65484         [BZ #6794]
65485         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65486         * math/libm-test.inc: Add ilogb errno and exception tests.
65487         * math/w_ilogb.c: New file: ilogb wrapper.
65488         * math/w_ilogbf.c: New file: ilogbf wrapper.
65489         * math/w_ilogbl.c: New file: ilogbl wrapper.
65490         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65491         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65492         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65493         exception being thrown with 0.0 as argument.
65494         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65495         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65496         exception being thrown with 0.0 as argument.
65497         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65498         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65499         exception being thrown with 0.0 as argument.
65500         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65501         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65502         exception being thrown with 0.0 as argument.
65503         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65504         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65505         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65506         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65507         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65508         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65509         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65510         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65511         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65513 2012-04-17  Petr Baudis  <pasky@ucw.cz>
65515         * include/sys/uio.h: Change __vector to __iovec to avoid clash
65516         with altivec.
65518 2012-04-16  Marek Polacek  <polacek@redhat.com>
65520         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65522 2012-04-16  Marek Polacek  <polacek@redhat.com>
65524         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65525         operands of fdivp instruction.
65527 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65529         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65530         * elf/tst-auditmod3b.c: Likewise.
65531         * elf/tst-auditmod4b.c: Likewise.
65532         * elf/tst-auditmod5b.c: Likewise.
65533         * elf/tst-auditmod6b.c: Likewise.
65534         * elf/tst-auditmod6c.c: Likewise.
65535         * elf/tst-auditmod7b.c: Likewise.
65536         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65537         * sysdeps/x86_64/preconfigure.in: Likewise.
65538         * sysdeps/x86_64/preconfigure: Regenerated.
65540 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65542         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65543         __ILP32__.
65545 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
65547         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65548         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65550 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
65552         [BZ #13973]
65553         * locale/iso-639.def: Fix gl language name. Spotted by
65554         Yaron Shahrabani.
65556 2012-04-12  Roland McGrath  <roland@hack.frob.com>
65558         [BZ #2074]
65559         * libio/libio.h (__io_write_fn): Update comment.
65561 2012-04-12  Petr Baudis  <pasky@ucw.cz>
65563         [BZ #2074]
65564         * stdio.texi (Hook Functions): The user provided writer function
65565         is not allowed to return -1.
65567 2012-04-11  David S. Miller  <davem@davemloft.net>
65569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65571 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
65573         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65574         Add a leading slash to rtkaio.
65576 2012-04-11  Jim Meyering  <meyering@redhat.com>
65578         [BZ #11959]
65579         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65580         It is not necessarily an error to ignore fwrite's return
65581         value.  One can reliably use ferror to test for errors after
65582         the fact.
65584 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65586         * bits/types.h (__snseconds_t): New type.
65587         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65589         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65590         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65591         (__SNSECONDS_T_TYPE): Likewise.
65592         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65593         (__SNSECONDS_T_TYPE): Likewise.
65594         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65595         (__SNSECONDS_T_TYPE): Likewise.
65597 2012-04-10  Andreas Jaeger  <aj@suse.de>
65599         [BZ #2636]
65600         * manual/time.texi (Processor Time): Return type of times is
65601         elapsed real time since an arbitrary point in the past.
65602         (CPU Time): Move CLK_TCK from here...
65603         (Processor Time): ...to here.  Correct description.
65604         * manual/conf.texi (Constants for Sysconf): Correct description of
65605         _SC_CLK_TCK.
65607 2012-04-10  David S. Miller  <davem@davemloft.net>
65609         [BZ #13967]
65610         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65611         where the is a gap between DT_REL(A) and DT_JMPREL.
65613 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65615         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65616         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65617         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65619 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65621         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65622         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65623         (dl_main): Handle --inhibit-cache.
65624         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65625         _dl_inhibit_cache.
65626         * elf/dl-load.c (_dl_map_object): Use it.
65627         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65629 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65631         [BZ #13872]
65632         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65633         (__ieee754_powl): Saturate large exponents rather than testing for
65634         overflow of y*log2(x).
65635         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65636         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65637         exceptions.
65639         [BZ #11521]
65640         * math/s_ctan.c: Include <float.h>.
65641         (__ctan): Avoid internal overflow or cancellation in calculating
65642         denominator.
65643         * math/s_ctanf.c: Likewise.
65644         * math/s_ctanl.c: Likewise.
65645         * math/s_ctanh.c: Likewise.
65646         * math/s_ctanhf.c: Likewise.
65647         * math/s_ctanhl.c: Likewise.
65648         * math/libm-test.inc (ctan_test): Add more tests.
65649         (ctanh_test): Likewise.
65650         * sysdeps/i386/fpu/libm-test-ulps: Update.
65651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65653 2012-04-09  Andreas Jaeger  <aj@suse.de>
65655         [BZ #6894]
65656         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65657         is an optional BSD extension.
65659         [BZ #10254]
65660         * manual/stdio.texi (Opening Streams): Document additional fopen
65661         parameters.
65663 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65665         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65666         %eax without telling the compiler.
65668 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65670         [BZ # 13963]
65671         * manual/install.texi: Use sourceware.org.
65673 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65675         [BZ #13873]
65676         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65677         (__ieee754_pow): Generate overflow and underflow using huge*huge
65678         and tiny*tiny rather than just returning constant infinity or zero
65679         for large exponents.
65680         * math/libm-test.inc (pow_test): Require overflow exceptions for
65681         applicable cases of large exponents.
65683         [BZ #706]
65684         * sysdeps/i386/fpu/e_pow.S (p10): New object.
65685         (__ieee754_pow): Use iterative multiplication algorithm only for
65686         integer exponents with absolute value below 1024.  Check for odd
65687         integer exponents when using algorithm for real exponents.
65688         * math/libm-test.inc (pow_test): Add more tests.
65689         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65691 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
65693         [BZ #13705]
65694         * math/libm-test.inc (exp_test): Do not allow overflow exception
65695         on underflow test.
65697 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
65699         [BZ #13705]
65700         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65701         instead of __kernel_standard_f.
65703 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
65705         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65706         * sysdeps/x86_64/memset_chk.S: Likewise.
65708 2012-04-08  Andreas Jaeger  <aj@suse.de>
65710         [BZ #10153]
65711         * manual/startup.texi (Environment Access): Describe return value
65712         for putenv and setenv.
65714         [BZ #6895]
65715         * manual/filesys.texi (Directory Entries): Add description for
65716         DT_LNK.
65718         [BZ #6890]
65719         * manual/filesys.texi (Directory Entries): Clarify that it's file
65720         system not operating system in the description of DT_UNKNOWN.
65722         [BZ #6578]
65723         * manual/syslog.texi (closelog): Fix reference, it's openlog.
65725 2012-04-08  Stephen Compall  <s11@member.fsf.org>
65727         [BZ #6649]
65728         * manual/llio.texi (Opening and Closing Files): Add cross
65729         reference to explain mode argument.
65731 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
65733         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65734         * sysdeps/x86_64/memset_chk.S: Likewise.
65736 2012-04-07  David S. Miller  <davem@davemloft.net>
65738         * elf/elf.h (R_SPARC_WDISP10): Define.
65739         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
65740         R_SPARC_SIZE32.
65741         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
65742         R_SPARC_SIZE64 and R_SPARC_H34.
65744 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
65746         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
65747         conditions and remove no longer applicable assertion.
65749 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65751         * bits/byteswap.h: Include <features.h>.
65752         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65753         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65755 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65757         * bits/byteswap.h (__bswap_16): Removed.
65758         Include <bits/byteswap-16.h> to get __bswap_16.
65759         * sysdeps/i386/bits/byteswap.h: Likewise.
65760         * sysdeps/s390/bits/byteswap.h: Likewise.
65761         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65762         * bits/byteswap-16.h: New file.
65763         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65764         * sysdeps/s390/bits/byteswap-16.h: Likewise.
65765         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
65766         * string/Makefile (headers): Add bits/byteswap-16.h.
65768 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65770         [BZ #13895]
65771         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
65772         extra indirection.
65773         * nss/Makefile (tests-static, tests): Add tst-nss-static.
65774         * nss/tst-nss-static.c: New.
65776 2012-04-06  Robert Millan  <rmh@gnu.org>
65778         [BZ #6486]
65779         * manual/llio.texi (File Position Primitive): lseek
65780         refers to WHENCE when it really means OFFSET.
65782 2012-04-06  Andreas Jaeger  <aj@suse.de>
65784         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
65785         strncmp declarations.
65787         * abilist/libc.abilist: Add __poll and __ppoll.
65789 2012-04-05  David S. Miller  <davem@davemloft.net>
65791         * scripts/check-local-headers.sh: Accept a host triplet in the
65792         path matched by the exclude regexp.
65794         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
65795         definition.
65796         * sysdeps/powerpc/powerpc32/dl-machine.h
65797         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
65798         * sysdeps/s390/s390-32/dl-machine.h
65799         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65800         * sysdeps/sparc/sparc32/dl-machine.h
65801         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65802         * sysdeps/sparc/sparc64/dl-machine.h
65803         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65805         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
65806         lazy binding.
65807         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
65808         undefined symbol errors.
65810         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
65811         DT_NEEDED entries.
65813 2012-04-05  Michael Matz  <matz@suse.de>
65815         [BZ #13592]
65816         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
65818 2012-04-05  Andreas Jaeger  <aj@suse.de>
65820         [BZ #13908]
65821         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
65822         comment.
65824 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65826         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
65827         which ROUND is no valid rounding mode.
65829 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65831         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
65832         read again.
65833         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
65835 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65837         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
65838         an exception using FPU order intentionally.
65840 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65842         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
65843         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
65844         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
65845         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
65847 2012-04-05  Simon Josefsson  <simon@josefsson.org>
65849         [BZ #12340]
65850         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
65851         EINVAL when BUFLEN is too smal.
65853 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65855         [BZ #13553]
65856         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
65857         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
65859 2012-04-03  Andreas Jaeger  <aj@suse.de>
65861         [BZ #13938]
65862         * manual/setjmp.texi (System V contexts): Fix sentence.
65864         [BZ #13926]
65865         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
65866         New macro for this case.
65867         [!__GNUC__] (__bswap_64): New inline function for this case.
65868         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65869         * bits/byteswap.h: Likewise.
65870         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
65871         ull, guard with __GLIBC_HAVE_LONG_LONG.
65873         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
65874         __GLIBC_HAVE_LONG_LONG.
65876         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
65877         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
65879 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65881         [BZ #13691]
65882         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
65883         inptr and inend, rather than using last_ch.
65885 2012-04-02  David S. Miller  <davem@davemloft.net>
65887         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65888         * stdio-common/printf-parse.h (read_int): Change return type to
65889         'int', return -1 on INT_MAX overflow.
65890         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
65891         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
65892         overflows INT_MAX.  Check for overflow of in-format-string precision
65893         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
65894         SIZE_MAX not INT_MAX for integer overflow test.
65895         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
65896         skip the construct in the format string but do not record anything.
65897         * stdio-common/bug22.c: Adjust to test both width/prevision
65898         INT_MAX overflow as well as total length INT_MAX overflow.  Check
65899         explicitly for proper errno values.
65901 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65903         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
65904         CHAR_MAX.
65905         * string/test-strcmp.c [! WIDE]: Likewise.
65906         * time/tst-mktime2.c: Likewise for INT_MAX.
65907         * string/test-string.h: #include <sys/param.h> for MIN.
65909         * csu/init-first.c (__libc_init_first): Call __ctype_init.
65910         * sysdeps/i386/init-first.c (init): Likewise.
65911         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
65912         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
65913         * sysdeps/sh/init-first.c (init): Likewise.
65915 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
65917         * po/ru.po: Update from translation team.
65918         * po/vi.po: Likewise.
65920 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65922         * resolv/nss_dns/dns-host.c: Merge copyright years.
65924 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65926         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65927         Optimize memcpy with prefetch if
65928         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
65929         src, dst pointers have unequal 16 byte alignments.
65931 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65933         [BZ #13928]
65934         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
65935         from a CNAME entry and return the minimum ttl for the query.
65936         (gaih_getanswer_slice): Likewise.
65938 2012-03-30  Jeff Law  <law@redhat.com>
65940         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
65941         due to long keys.
65942         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65943         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65945         * resolv/nss_dns/dns-host.c: Update copyright year.
65947 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
65949         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65950         requests to save a system call.  Fix check that all bytes are sent.
65952         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65953         comments for sendmmsg.
65955 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65957         [BZ #13691]
65958         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65959         with only 1 character between 0x0041 and 0x01b0.
65960         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65961         * wcsmbs/tst-mbsnrtowcs.c: New file.
65963 2012-03-29  David S. Miller  <davem@davemloft.net>
65965         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65966         small copies by hand.
65968 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65970         [BZ #13761]
65971         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65972         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65973         group memberships.
65975 2012-03-28  David S. Miller  <davem@davemloft.net>
65977         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65978         that branches into memcpy.
65979         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65980         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65981         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65982         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65983         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65984         bits.
65985         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65986         implementation too.
65987         * sysdeps/sparc/mempcpy.S: New file.
65989         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65990         the IFUNC routine in the libc case.
65991         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65993         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65994         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65995         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65996         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65997         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65998         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65999         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66000         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66002         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66003         loop to 256 bytes instead of 64 bytes and fix test signedness.
66005         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66006         * sysdeps/sparc/sparc32/Makefile: rather than here...
66007         * sysdeps/sparc/sparc64/Makefile: and here.
66009 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66011         * malloc/mallocbug.c: Avoid warnings about unused variables.
66013 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66015         [BZ #13760]
66016         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66017         in the right place. Discard and retry query if response is
66018         larger than input buffer size.
66020 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66022         [BZ #369]
66023         [BZ #2678]
66024         [BZ #3866]
66025         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66026         x for large integer exponent.
66027         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66028         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66029         sign of result as needed afterwards.
66030         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66031         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66032         result for underflowing pow the same as for overflow.
66033         (__kernel_standard_l): Handle powl overflow and underflow here
66034         rather than calling __kernel_standard.
66035         * math/libm-test.inc (pow_test): Add more tests.
66037         [BZ #3868]
66038         [BZ #13879]
66039         [BZ #13910]
66040         [BZ #13911]
66041         [BZ #13912]
66042         [BZ #13913]
66043         [BZ #13915]
66044         [BZ #13916]
66045         [BZ #13917]
66046         [BZ #13918]
66047         [BZ #13919]
66048         [BZ #13920]
66049         [BZ #13921]
66050         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66051         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66052         (__kernel_standard_l): New function.
66053         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66054         __kernel_standard.
66055         * math/w_acosl.c (__acosl): Likewise.
66056         * math/w_asinl.c (__asinl): Likewise.
66057         * math/w_atan2l.c (__atan2l): Likewise.
66058         * math/w_atanhl.c (__atanhl): Likewise.
66059         * math/w_coshl.c (__coshl): Likewise.
66060         * math/w_exp10l.c (__exp10l): Likewise.
66061         * math/w_exp2l.c (__exp2l): Likewise.
66062         * math/w_fmodl.c (__fmodl): Likewise.
66063         * math/w_hypotl.c (__hypotl): Likewise.
66064         * math/w_j0l.c (__j0l, __y0l): Likewise.
66065         * math/w_j1l.c (__j1l, __y1l): Likewise.
66066         * math/w_jnl.c (__jnl, __ynl): Likewise.
66067         * math/w_lgammal.c (__lgammal): Likewise.
66068         * math/w_log10l.c (__log10l): Likewise.
66069         * math/w_log2l.c (__log2l): Likewise.
66070         * math/w_logl.c (__logl): Likewise.
66071         * math/w_powl.c (__powl): Likewise.
66072         * math/w_remainderl.c (__remainderl): Likewise.
66073         * math/w_scalbl.c (sysv_scalbl): Likewise.
66074         * math/w_sinhl.c (__sinhl): Likewise.
66075         * math/w_sqrtl.c (__sqrtl): Likewise.
66076         * math/w_tgammal.c (__tgammal): Likewise.
66077         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66078         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66079         * math/libm-test.inc (acos_test): Add more tests.
66080         (acosh_test): Likewise.
66081         (asin_test): Likewise.
66082         (atanh_test): Likewise.
66083         (exp_test): Likewise.
66084         (exp10_test): Likewise.
66085         (exp2_test): Likewise.
66086         (expm1_test): Likewise.
66087         (lgamma_test): Likewise.
66088         (log_test): Likewise.
66089         (log10_test): Likewise.
66090         (log1p_test): Likewise.
66091         (log2_test): Likewise.
66092         (pow_test): Do not allow some spurious overflow exceptions.
66093         (sqrt_test): Add more tests.
66094         (tgamma_test): Likewise.
66095         (y0_test): Likewise.
66096         (y1_test): Likewise.
66097         (yn_test): Likewise.
66099 2012-03-27  Anton Blanchard  <anton@samba.org>
66101         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66102         MAP_HUGETLB.
66103         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66104         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66105         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66107 2012-03-27  David S. Miller  <davem@davemloft.net>
66109         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66111         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66112         have-as-vis3 check.
66114 2012-03-27  Andreas Jaeger  <aj@suse.de>
66116         * sysdeps/x86_64/elf/configure.in: Moved to ...
66117         * sysdeps/x86_64/configure.in: ... here.
66118         * sysdeps/x86_64/elf/start.S: Moved to ...
66119         * sysdeps/x86_64/start.S: ... here.
66120         * sysdeps/x86_64/elf/configure: Delete.
66122         * sysdeps/x86_64/configure.in: Merge contents from
66123         sysdeps/i386/configure.in (without i686 check).
66125         * sysdeps/i386/elf/Versions: Merge into ...
66126         * sysdeps/i386/Versions: ... this.
66127         * sysdeps/i386/elf/Versions: Delete file.
66128         * sysdeps/i386/elf/start.S: Moved to ...
66129         * sysdeps/i386/start.S: ...here.
66130         * sysdeps/i386/elf/configure.in: Merge into...
66131         * sysdeps/i386/configure.in: ...here.
66132         * sysdeps/i386/elf/configure.in: Delete file.
66133         * sysdeps/i386/elf/configure: Delete file.
66135         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66136         * debug/backtracesyms.c: ... here.
66137         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66138         * debug/backtracesymsfd.c: ... here.
66139         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66140         * sysdeps/generic/ifunc-sel.h: ... here.
66142         * sysdeps/unix/i386/start.c: Delete file.
66143         * sysdeps/unix/sparc/start.c: Delete file.
66144         * sysdeps/unix/start.c: Delete file.
66146         * sysdeps/sh/elf/configure.in: Moved to ...
66147         * sysdeps/sh/configure.in: ... here.
66148         * sysdeps/sh/elf/start.S: Moved to ...
66149         * sysdeps/sh/start.S: ... here.
66150         * sysdeps/sh/elf/configure: Delete file.
66152         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66153         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66154         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66155         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66156         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66157         * sysdeps/powerpc/powerpc64/start.S: here.
66158         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66159         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66160         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66161         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66162         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66164         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66165         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66166         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66167         * sysdeps/powerpc/powerpc32/start.S: ... here.
66168         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66169         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66170         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66172         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66173         * sysdeps/powerpc/ifunc-sel.h: ... here.
66174         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66175         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66177         * sysdeps/sparc/elf/configure.in: Moved to ...
66178         * sysdeps/sparc/configure.in: ... here.
66179         * sysdeps/sparc/elf/configure: Delete file.
66180         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66181         * sysdeps/sparc/sparc32/start.S: ... here.
66182         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66183         * sysdeps/sparc/sparc64/start.S: ... here.
66184         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66185         * sysdeps/sparc/sparc32/Makefile: ... this.
66186         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66187         * sysdeps/sparc/sparc64/Makefile: ... this.
66189         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66190         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66191         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66192         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66193         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66194         * sysdeps/s390/s390-32/setjmp.S: ... here.
66195         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66196         * sysdeps/s390/s390-32/configure.in: ... here.
66197         * sysdeps/s390/s390-32/elf/configure: Delete file.
66198         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66199         * sysdeps/s390/s390-32/start.S: ... here.
66201         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66202         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66203         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66204         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66205         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66206         * sysdeps/s390/s390-64/setjmp.S: ... here.
66207         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66208         * sysdeps/s390/s390-64/configure.in: ... here
66209         * sysdeps/s390/s390-64/elf/configure: Delete file.
66210         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66211         * sysdeps/s390/s390-64/start.S: ... here.
66212         * sysdeps/s390/s390-64/elf/configure: Delete.
66214         * configure.in: Remove support for elf directories in sysdeps.
66216         * configure: Regenerated.
66217         * sysdeps/i386/configure: Regenerated.
66218         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66219         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66220         * sysdeps/s390/s390-32/configure: Regenerated.
66221         * sysdeps/s390/s390-64/configure: Regenerated.
66222         * sysdeps/sh/configure: Regenerated.
66223         * sysdeps/sparc/configure: Regenerated.
66224         * sysdeps/x86_64/configure: Regenerated.
66226 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66230         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66231         denormal result into account.
66233 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66235         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66236         Reported by Allan McRae <allan@archlinux.org>.
66238 2012-03-23  Jeff Law  <law@redhat.com>
66240         * nss/getnssent.c (__nss_getent): Fix typo.
66242 2012-03-23  David S. Miller  <davem@davemloft.net>
66244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66246 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66248         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66249         to pad to uint64_t for each field.
66250         (dl_tls_index): Replace unsigned long with uint64_t.
66252 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66253         Paul Pluzhnikov  <ppluzhnikov@google.com>
66255         [BZ #6528]
66256         * grp/Makefile (otherlibs): Don't set it.
66257         * inet/Makefile (otherlibs): Likewise.
66258         * login/Makefile (otherlibs): Likewise.
66259         * nscd/Makefile (otherlibs): Likewise.
66260         * posix/Makefile (otherlibs): Likewise.
66261         * pwd/Makefile (otherlibs): Likewise.
66262         * rt/Makefile (otherlibs): Likewise.
66263         * sunrpc/Makefile (otherlibs): Likewise.
66264         * nss/Makefile (otherlibs): Likewise.
66265         Add libnss_files to routines and static-only-routines.
66266         ($(objpfx)getent): Remove rule.
66267         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66268         static-only-routines.
66270 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66272         [BZ #13892]
66273         * math/s_cexp.c: Include <float.h>.
66274         (__cexp): Handle exp result overflowing not necessarily
66275         overflowing both real and imaginary parts of result.
66276         * math/s_cexpf.c: Likewise.
66277         * math/s_cexpl.c: Likewise.
66278         * math/libm-test.inc (cexp_test): Add more tests.
66279         * sysdeps/i386/fpu/libm-test-ulps: Update.
66280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66282 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66284         * include/link.h (ELFW): New macro.
66285         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66286         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66288 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66290         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66291         with uint64_t.
66293 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66295         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66296         declaration.
66297         (struct La_x32_retval): Likewise.
66299 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66301         * sysdeps/x86_64/preconfigure.in: New file.
66302         * sysdeps/x86_64/preconfigure: New generated file.
66304 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66306         [BZ #13824]
66307         * math/e_exp2l.c: Include <float.h>.
66308         (__ieee754_exp2l): Handle overflow and underflow cases
66309         separately.  Only pass fractional part of argument to
66310         __ieee754_expl.
66311         * math/libm-test.inc (exp2_test): Add more tests.
66313         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66314         negating x to take absolute value.
66315         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66316         Likewise.
66317         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66318         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66319         Likewise.
66320         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66321         computing low part if x was negated.
66322         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66324 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66326         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66327         la_x32_gnu_pltexit.
66328         (pltexit): Cast int_retval to ptrdiff_t.
66329         * elf/tst-auditmod3b.c: Likewise.
66330         * elf/tst-auditmod4b.c: Likewise.
66331         * elf/tst-auditmod5b.c: Likewise.
66332         * elf/tst-auditmod6b.c: Likewise.
66333         * elf/tst-auditmod6c.c: Likewise.
66334         * elf/tst-auditmod7b.c: Likewise.
66336         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66337         and x32_gnu_pltexit.
66339         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66340         __ELF_NATIVE_CLASS.
66341         (La_x32_regs): New macro.
66342         (La_x32_retval): Likewise.
66343         (la_x32_gnu_pltenter): New function prototype.
66344         (la_x32_gnu_pltexit): Likewise.
66346 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
66348         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66349         exponent.
66351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66353         * configure.in (libc_cv_cc_nofma): Check for option to disable
66354         generation of FMA instructions.
66355         * configure: Regenerate.
66356         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66357         * sysdeps/ieee754/dbl-64/Makefile: New file.
66358         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66359         Remove brandred-fma4.
66360         (CFLAGS-brandred-fma4.c): Remove.
66361         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66362         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66363         define.
66364         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66365         define.
66367 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66369         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66370         LLONG_MAX != LONG_MAX.
66371         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66372         (_fitoa_word): Likewise.
66373         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66374         LLONG_MAX != LONG_MAX.
66375         * stdio-common/_itowa.h: Include <_itoa.h>.
66376         (_itowa_word): Use _ITOA_WORD_TYPE on value.
66377         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66378         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66379         only if not defined.
66380         (_ITOA_WORD_TYPE): Likewise.
66381         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66382         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66384 2012-03-21  David S. Miller  <davem@davemloft.net>
66386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66388 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66390         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66391         of x86_64 when setting libc_cv_slibdir, libdir and
66392         libc_cv_localedir.
66393         * sysdeps/unix/sysv/linux/configure: Regenerated.
66395 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66397         * manual/lang.texi (Old Varargs): Remove section.
66398         (How Variadic): Update menu.
66399         (va_start): Do not mention varargs.h.
66401 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66402             Joseph Myers  <joseph@codesourcery.com>
66404         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66405         link test.
66406         * configure: Regenerated.
66408 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66410         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66411         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66412         conformtest.pl
66414 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66416         * NOTES: Remove.
66417         * Makefile (files-for-dist): Remove NOTES.
66418         (NOTES): Remove rule.
66419         * README: Don't refer to NOTES.
66420         * manual/creature.texi: Don't include macros.texi.
66421         * manual/intro.texi (creature.texi): Remove comment referring to
66422         NOTES.
66424         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66425         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66426         * configure: Regenerated.
66427         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66428         LIBC_TRY_CC_OPTION.
66429         (libc_cv_as_i686): Likewise.
66430         (libc_cv_cc_avx): Likewise.
66431         (libc_cv_cc_sse2avx): Likewise.
66432         (libc_cv_cc_fma4): Likewise.
66433         (libc_cv_cc_novzeroupper): Likewise.
66434         * sysdeps/i386/configure: Regenerated.
66436         [BZ #13883]
66437         * sysdeps/i386/fpu/s_cexp.S: Remove.
66438         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66439         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66440         * math/libm-test.inc (cexp_test): Add more tests.
66441         * sysdeps/i386/fpu/libm-test-ulps: Update.
66442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66444 2012-03-21  Allan McRae  <allan@archlinux.org>
66446         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66448 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66450         [BZ #13871]
66451         * math/w_exp2.c: Do not include <float.h>.
66452         (o_threshold, u_threshold): Remove.
66453         (__exp2): Calculate result before checking finiteness and calling
66454         __kernel_standard.
66455         * math/w_exp2f.c: Likewise.
66456         * math/w_exp2l.c: Likewise.
66457         * math/libm-test.inc (exp2_test): Require overflow exception for
66458         1e6 input.
66460         [BZ #3866]
66461         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66462         range of signed 64-bit integers before using fistpll.  Remove
66463         checks for whether integers fit in mantissa bits.
66464         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66465         the range of signed 32-bit integers before using fistpl.  Remove
66466         checks for whether integers fit in mantissa bits.
66467         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66468         (__ieee754_powl): Test for y outside the range of signed 64-bit
66469         integers before using fistpll.  Reduce 64-bit values to 63-bit
66470         ones as needed.
66471         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66472         divide-by-zero is raised for zero to large negative powers.
66473         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66474         (__ieee754_powl): Test for y outside the range of signed 64-bit
66475         integers before using fistpll.  Reduce 64-bit values to 63-bit
66476         ones as needed.
66477         * math/libm-test.inc (pow_test): Add more tests.
66479 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66481         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66482         <stdio-common/_itoa.h>.
66483         * debug/segfault.c: Likewise.
66484         * elf/dl-cache.c: Likewise.
66485         * elf/dl-minimal.c: Likewise.
66486         * elf/dl-misc.c: Likewise.
66487         * elf/dl-sysdep.c: Likewise.
66488         * elf/dl-version.c: Likewise.
66489         * elf/rtld.c: Likewise.
66490         * hurd/hurdsock.c: Likewise.
66491         * hurd/lookup-retry.c: Likewise.
66492         * malloc/malloc.c: Likewise.
66493         * malloc/mtrace.c: Likewise.
66494         * nscd/nscd_getgr_r.c: Likewise.
66495         * nscd/nscd_getpw_r.c: Likewise.
66496         * nscd/nscd_getserv_r.c: Likewise.
66497         * posix/getopt_init.c: Likewise.
66498         * posix/wordexp.c: Likewise.
66499         * stdio-common/_itoa.c: Likewise.
66500         * stdio-common/printf_fphex.c: Likewise.
66501         * stdio-common/vfprintf.c: Likewise.
66502         * string/_strerror.c: Likewise.
66503         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66504         * sysdeps/i386/i686/hp-timing.h: Likewise.
66505         * sysdeps/mach/_strerror.c: Likewise.
66506         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66507         * sysdeps/mach/hurd/sethostid.c: Likewise.
66508         * sysdeps/mach/hurd/xmknodat.c: Likewise.
66509         * sysdeps/mach/xpg-strerror.c: Likewise.
66510         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66511         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66512         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66513         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66514         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66515         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66516         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66517         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66518         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66519         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66520         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66521         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66522         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66523         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66524         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66525         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66526         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66527         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66528         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66529         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66530         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66532         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66534         * stdio-common/_itoa.h: Moved to ...
66535         * sysdeps/generic/_itoa.h: Here.
66537         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66539         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66540         instead of "_itoa.h" and "_itowa.h".
66541         * stdio-common/vfprintf.: Likewise.
66543 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66545         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66546         <bits/wordsize.h>.
66547         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66548         (__signbit): Likwise.
66549         (llrintf): Likwise.
66550         (llrint): Likwise.
66552 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66554         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66555         __WORDSIZE != 64.
66557 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
66559         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66560         OVERFLOW_EXCEPTION_OK.
66561         * math/libm-test.inc ("Philosophy"): Update comment about
66562         exception testing.
66563         (OVERFLOW_EXCEPTION): Define.
66564         (OVERFLOW_EXCEPTION_OK): Likewise.
66565         (INVALID_EXCEPTION_OK): Renumber.
66566         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66567         (IGNORE_ZERO_INF_SIGN): Likewise.
66568         (test_exceptions): Handle FE_OVERFLOW.
66569         (exp10_test): Expect overflow exceptions.
66570         (exp2_test): Likewise.
66571         (expm1_test): Likewise.
66572         (nextafter_test): Likewise.
66573         (pow_test): Likewise.
66574         (scalbn_test): Likewise.
66575         (scalbln_test): Likewise.
66577 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66579         * sysdeps/x86_64/bits/atomic.h
66580         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66581         64bit integer.
66582         (atomic_exchange_acq): Likewise.
66583         (__arch_exchange_and_add_body): Likewise.
66584         (__arch_add_body): Likewise.
66585         (atomic_add_negative): Likewise.
66586         (atomic_add_zero): Likewise.
66588 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66590         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66591         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66593 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66595         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66596         Check __x86_64__ instead of __WORDSIZE.
66598 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66600         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66602 2012-03-19  David S. Miller  <davem@davemloft.net>
66604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66606         * sysdeps/sparc/fpu/fenv_private.h: New file.
66607         * sysdeps/sparc/fpu/math_private.h: Use it.
66608         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66609         Remove.
66610         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66611         (libc_feholdexcept_setroundl): Remove.
66612         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66613         Remove.
66614         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66615         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66617 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66619         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66620         int64_t instead of long int.
66621         (INSERT_WORDS64): Likwise.
66623 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66625         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66626         _Unwind_GetCFA return to _Unwind_Ptr first.
66628 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66630         [BZ #13629]
66631         * math/s_clog.c: Include <float.h>.
66632         (__clog): Scale large or subnormal inputs.
66633         * math/s_clogf.c: Likewise.
66634         * math/s_clogl.c: Likewise.
66635         * math/s_clog10.c: Include <float.h>.
66636         (M_LOG10_2): Define.
66637         (__clog10): Scale large or subnormal inputs.
66638         * math/s_clog10f.c: Likewise.
66639         * math/s_clog10l.c: Likewise.
66640         * math/libm-test.inc (clog_test): Add more tests.
66641         (clog10_test): Likewise.
66642         * sysdeps/i386/fpu/libm-test-ulps: Update.
66643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66645         [BZ #11451]
66646         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66647         x and y.
66648         * math/libm-test.inc (atan2_test): Add another test.
66650         * Makerules (common-objdir-compile): Remove.
66651         * sysdeps/unix/Makefile (config-generated): Do not add
66652         $(unix-generated) to variable.
66653         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66654         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66655         Remove rule.
66656         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66657         Likewise.
66658         [generic bits/local_lim.h] (before-compile): Do not append to
66659         variable.
66660         [generic bits/local_lim.h] (common-generated): Likewise.
66661         [generic sys/param.h] (before-compile): Do not append to variable.
66662         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66663         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66664         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66665         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66666         include.
66667         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66668         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66669         [generic sys/param.h] ($(addprefix
66670         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66671         [generic sys/param.h] (common-generated): Do not append to
66672         variable.
66673         [generic sys/param.h] (sysdep_headers): Likewise.
66674         [generic bits/errno.h] (before-compile): Do not append to
66675         variable.
66676         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66677         rule.
66678         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66679         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66680         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66681         [generic bits/errno.h] (common-generated): Do not append to
66682         variable.
66683         [generic bits/ioctls.h] (before-compile): Do not append to
66684         variable.
66685         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66686         rule.
66687         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66688         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66689         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66690         rule.
66691         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66692         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66693         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66694         [generic bits/ioctls.h] (common-generated): Do not append to
66695         variable.
66696         [generic sys/syscall.h] (syscall.h): Remove variable.
66697         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66698         rule.
66699         [generic sys/syscall.h] (before-compile): Do not append to
66700         variable.
66701         [generic sys/syscall.h] (common-generated): Likewise.
66702         * sysdeps/unix/errnos-tmpl.c: Remove file.
66703         * sysdeps/unix/errnos.awk: Likewise.
66704         * sysdeps/unix/ioctls-tmpl.c: Likewise.
66705         * sysdeps/unix/ioctls.awk: Likewise.
66706         * sysdeps/unix/mk-local_lim.c: Likewise.
66707         * sysdeps/unix/snarf-ioctls: Likewise.
66709 2012-03-19  Richard Henderson  <rth@twiddle.net>
66711         * sysdeps/i386/fpu/fenv_private.h: New file.
66712         * sysdeps/i386/fpu/math_private.h: Use it.
66713         (math_opt_barrier, math_force_eval): Remove.
66714         (libc_feholdexcept_setround_53bit): Remove.
66715         (libc_feupdateenv_53bit): Remove.
66716         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66717         (math_opt_barrier, math_force_eval): Remove.
66718         (libc_feholdexcept): Remove.
66719         (libc_feholdexcept_setround): Remove.
66720         (libc_fetestexcept, libc_fesetenv): Remove.
66721         (libc_feupdateenv_test): Remove.
66722         (libc_feupdateenv, libc_feholdsetround): Remove.
66723         (libc_feresetround): Remove.
66725         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66726         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66728         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66729         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66730         (libc_feupdateenv_testl): New.
66731         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66732         (libc_feupdateenv_testf): New.
66733         (libc_feupdateenv): Use libc_feupdateenv_test.
66734         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66735         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66737         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
66738         (libc_feholdsetroundf, libc_feholdsetroundl): New.
66739         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
66740         (libc_feresetround_noex): New.
66741         (libc_feresetround_noexf): New.
66742         (libc_feresetround_noexl): New.
66743         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
66744         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
66745         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
66746         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
66747         SET_RESTORE_ROUND.
66748         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66749         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
66750         (__cos): Likewise.
66751         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
66752         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
66753         SET_RESTORE_ROUND_NOEX.
66754         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
66755         SET_RESTORE_ROUND_NOEXF.
66756         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
66757         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
66758         (libc_feholdsetroundf): New.
66759         (libc_feresetround, libc_feresetroundf): New.
66761         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
66762         (libc_feholdexcept_setround_53bit): Convert from macro to function.
66763         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
66765         * sysdeps/generic/math_private.h: Include <fenv.h>.
66766         (default_libc_feholdexcept): New.
66767         (default_libc_feholdexcept_setround): New.
66768         (default_libc_fesetenv, default_libc_feupdateenv): New.
66769         (libc_feholdexcept): Only define if undefined.
66770         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
66771         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
66772         (libc_feholdexcept_setroundl): Likewise.
66773         (libc_feholdexcept_setround_53bit): Likewise.
66774         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
66775         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
66776         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
66777         (libc_feupdateenv_53bit): Likewise.
66778         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
66779         (libc_feholdexcept): Convert from macro to inline function.
66780         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
66781         (libc_fesetenv, libc_feupdateenv): Likewise.
66783         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
66784         not previously defined.
66785         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
66786         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
66787         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
66788         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
66789         * sysdeps/ieee754/flt-32/math_private.h: New file.
66790         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
66791         math_private.h below SET_FLOAT_WORD.
66792         (__isnan, __isinf_ns, __finite): Remove.
66793         (__isnanf, __isinf_nsf, __finitef): Remove.
66795 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
66797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66799 2012-03-17  David S. Miller  <davem@davemloft.net>
66801         [BZ #6471]
66802         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
66803         for 2.16.
66805 2012-03-16  David S. Miller  <davem@davemloft.net>
66807         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
66808         warnings.
66810         [BZ #6471]
66811         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
66812         properly.
66813         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
66814         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
66815         sysdep_routines when subdir is sysvipc.
66816         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
66817         __getshmlba helper.
66819         * sysdeps/sparc/fpu/libm-test/ulps: Update.
66821 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66823         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
66824         [__LP64__].
66826 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66828         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
66829         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
66830         (__lround): Renamed to ...
66831         (__llround): This.  Replace long int with long long int.
66832         Define lround functions as aliases of llround functions.
66833         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
66835 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66837         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
66838         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
66839         adresses to uintptr_t.  Replace "long int" and "unsigned long
66840         int" with "greg_t" on va_arg.
66842 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66844         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
66845         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
66847         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
66848         Move e_machine check before EI_CLASS check.  Handle x32
66849         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
66850         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
66851         SKIP_EM_IA_64 and include
66852         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
66854         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
66855         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
66856         (add_system_dir): New macro.
66858         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
66859         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
66861 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66863         [BZ #2551]
66864         [BZ #2552]
66865         [BZ #2553]
66866         [BZ #2554]
66867         [BZ #2562]
66868         [BZ #2563]
66869         [BZ #2565]
66870         [BZ #2566]
66871         [BZ #2576]
66872         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
66873         (y0): Likewise.
66874         * math/w_j0f.c (j0f): Likewise.
66875         (y0f): Likewise.
66876         * math/w_j0l.c (__j0l): Likewise.
66877         (__y0l): Likewise.
66878         * math/w_j1.c (j1): Likewise.
66879         (y1): Likewise.
66880         * math/w_j1f.c (j1f): Likewise.
66881         (y1f): Likewise.
66882         * math/w_j1l.c (__j1l): Likewise.
66883         (__y1l): Likewise.
66884         * math/w_jn.c (jn): Likewise.
66885         (yn): Likewise.
66886         * math/w_jnf.c (jnf): Likewise.
66887         (ynf): Likewise.
66888         * math/w_jnl.c (__jnl): Likewise.
66889         (__ynl): Likewise.
66890         * math/libm-test.inc (j0_test): Add more tests.
66891         (j1_test): Likewise.
66892         (jn_test): Likewise.  Add trailing semicolon to existing test.
66893         (y0_test): Likewise.
66894         (y1_test): Likewise.
66895         * sysdeps/i386/fpu/libm-test-ulps: Update.
66896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66898         [BZ #13851]
66899         [BZ #13854]
66900         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
66901         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
66902         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
66903         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
66904         (__tanl): Set errno for infinite argument.
66905         * sysdeps/i386/fpu/mptan.c: Remove.
66906         * sysdeps/i386/fpu/s_tan.S: Likewise.
66907         * sysdeps/i386/fpu/s_tanl.S: Likewise.
66908         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
66909         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
66910         * math/libm-test.inc (tan_test): Add more tests and enable more
66911         tests for double and long double.
66912         * sysdeps/i386/fpu/libm-test-ulps: Update.
66913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66915 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
66917         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
66918         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
66920 2012-03-16  Roland McGrath  <roland@hack.frob.com>
66922         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
66923         * configure.in: Use it for both main tree and add-ons.
66924         * configure: Regenerated.
66926 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66928         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
66930 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66932         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
66933         in comment.
66935         [BZ #13851]
66936         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
66937         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
66938         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
66939         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
66940         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
66941         infinite argument.
66942         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66943         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66944         != 0 for prec == 2.
66945         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66946         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66947         * sysdeps/i386/fpu/s_cosl.S: Likewise.
66948         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66949         * sysdeps/i386/fpu/s_sinl.S: Likewise.
66950         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66951         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66952         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66953         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66954         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66955         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66956         * math/libm-test.inc (cos_test): Add more tests and enable more
66957         tests for long double.
66958         (sin_test): Likewise.
66959         (sincos_test): Likewise.
66960         * sysdeps/i386/fpu/libm-test-ulps: Update.
66961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66963 2012-03-16  David S. Miller  <davem@davemloft.net>
66965         * sysdeps/sparc/fpu/math_private.h: New file.
66967 2012-03-15  David S. Miller  <davem@davemloft.net>
66969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66970         file.
66971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66973         file.
66974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66976         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66977         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66979         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66980         sysdep routines.
66981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66983         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66984         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66986         * sysdeps/sparc/sparc-ifunc.h: New file.
66987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66988         sparc-ifunc.h
66989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66991         Likewise.
66992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66993         Likewise.
66994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66998         Likewise.
66999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67004         Likewise.
67005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67006         Likewise.
67007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67011         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67013         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67014         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67015         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67016         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67017         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67018         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67019         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67021         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67022         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67023         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67024         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67025         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67026         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67027         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67028         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67029         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67030         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67032 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67034         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67035         scaling.
67036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67038 2012-03-15  Andreas Jaeger  <aj@suse.de>
67040         [BZ #13852]
67041         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67042         ieee754/flt-32 implementation for sin, cos and sincos.
67043         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67044         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67045         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67046         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67047         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67048         ieee754/flt-32 implementation for tan.
67050         * math/libm-test.inc (cos_test): Enable some large input tests for
67051         float as well
67052         (sin_test): Likewise.
67053         (sincos_test): Likewise.
67054         (tan_test): Add tests for large input.
67056         * sysdeps/i386/fpu/libm-test-ulps: Update.
67058 2012-03-15  Andreas Jaeger  <aj@suse.de>
67060         [BZ #13658]
67061         * math/libm-test.inc (cos_test): Add more test cases.
67062         (sin_test): Likewise.
67063         (sincos_test): Likewise.
67065 2012-03-15  Andreas Jaeger  <aj@suse.de>
67067         [BZ #13837]
67068         * math/libm-test.inc (cos_test): Add a test case for large input
67069         value.
67070         (sin_test): Likewise.
67071         (sincos_test): Likewise.
67073 2012-03-15  Andreas Jaeger  <aj@suse.de>
67074             Joseph Myers  <joseph@codesourcery.com>
67076         [BZ #13658]
67077         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67078         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67079         * sysdeps/i386/fpu/branred.c: Likewise.
67080         * sysdeps/i386/fpu/dosincos.c: Likewise.
67081         * sysdeps/i386/fpu/mpa.c: Likewise.
67082         * sysdeps/i386/fpu/s_cos.S: Likewise.
67083         * sysdeps/i386/fpu/s_sin.S: Likewise.
67084         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67085         * sysdeps/i386/fpu/sincos32.c: Likewise.
67087         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67088         Define.
67089         (libc_feupdateenv_53bit): Define.
67090         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67091         Define.
67092         (libc_feupdateenv_53bit): Define.
67094         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67095         53 bit (without extend i386 double precision).
67097         * math/libm-test.inc (sincos_test): Add tests for large input.
67098         (sin): Likewise.
67099         (cos): Likewise.
67101         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67103 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67107 2012-03-15  David S. Miller  <davem@davemloft.net>
67109         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67110         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67111         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67112         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67118         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67119         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67120         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67121         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67122         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67123         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67125         file.
67126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67128         file.
67129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67131         file.
67132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67134         file.
67135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67136         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67137         fmin/fmax sysdep routines.
67138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67140 2012-03-14  David S. Miller  <davem@davemloft.net>
67142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67143         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67144         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67145         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67146         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67147         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67148         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67149         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67156         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67157         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67159         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67160         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67161         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67162         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67163         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67164         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67165         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67166         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67167         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67168         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67169         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67170         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67171         routines.
67172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67173         file.
67174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67176         file.
67177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67179         file.
67180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67182         file.
67183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67185         file.
67186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67188         file.
67189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67190         file.
67191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67192         file.
67193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67194         file.
67195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67196         New file.
67197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67198         file.
67199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67200         file.
67201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67203         file.
67204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67206         file.
67207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67209         file.
67210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67212         VIS3 routines.
67214         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67215         New file.
67217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67219         * sysdeps/sparc/configure.in: New file.
67220         * sysdeps/sparc/configure: Generate.
67221         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67222         * configure: Regenerate.
67223         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67224         * config.make.in (have-as-vis3): New.
67225         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67226         available use -Av9d instead of -Av9a.
67227         * sysdeps/sparc/sparc64/Makefile: Likewise.
67228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67230         New file.
67231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67232         file.
67233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67234         New file.
67235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67236         file.
67237         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67238         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67239         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67240         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67241         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67243         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67244         fzeros/fnegs to load 0x80000000 into a float register instead of
67245         using the stack.
67246         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67248 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67250         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67251         bits/syscall.h.
67252         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67253         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67254         ($(inst_includedir)/bits/syscall.h): Remove rule.
67255         ($(objpfx)bits/syscall.d): Include instead of
67256         $(objpfx)syscall-list.d.
67257         (generated): Change syscall-list.h and syscall-list.d to
67258         bits/syscall.h and bits/syscall.d.
67260 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67262         [BZ #13846]
67263         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67265 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67267         [BZ #13841]
67268         * math/s_csqrt.c: Include <float.h>.
67269         (__csqrt): Scale large or subnormal inputs.
67270         * math/s_csqrtf.c: Likewise.
67271         * math/s_csqrtl.c: Likewise.
67272         * math/libm-test.inc (csqrt_test): Add more tests.
67273         * sysdeps/i386/fpu/libm-test-ulps: Update.
67274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67276         [BZ #13840]
67277         * math/libm-test.inc (hypot_test): Add more tests.
67279 2012-03-13  David S. Miller  <davem@davemloft.net>
67281         [BZ #13840]
67282         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67283         double-precision for the calculation instead of scaling.
67285 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67287         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67288         manipulate bits before adding and subtracting TWO52[sx].
67289         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67290         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67291         Likewise.
67292         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67294 2012-03-13  David S. Miller  <davem@davemloft.net>
67296         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67297         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67298         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67299         rtld-global-offsets.h
67300         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67302         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67303         large parameters.
67305         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67307         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67308         'err' in the ifdef scope in which it is actually used.
67310         * nss/nss_db/db-init.c: Include string.h
67312 2012-03-12  David S. Miller  <davem@davemloft.net>
67314         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67315         masking out of the most significant byte of random value used.
67316         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67317         Fix coding style in previous change.
67319         * sysdeps/unix/sysv/linux/kernel-features.h
67320         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67321         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67322         expression.
67323         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67324         later.
67326 2012-03-11  David S. Miller  <davem@davemloft.net>
67328         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67329         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67330         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67331         for 'resultvar' otherwise things get truncated on 64-bit.
67333         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67334         Fix masking out of the most significant byte of random value used.
67336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67338 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
67340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67342 2012-03-09  David S. Miller  <davem@davemloft.net>
67344         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67345         variables with appropriate CPP guards.
67346         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67347         from the frame pointer, not the stack pointer.  Correct layout
67348         comments.  Fix test on resulting framesize and the management of
67349         the outregs buffer for pltexit.  Preserve floating point return
67350         values across _dl_call_pltexit call.
67351         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67352         framesize and the management of the outregs buffer for pltexit.
67353         Preserve floating point return values across _dl_call_pltexit
67354         call.
67355         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67356         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67357         (la_sparc64_gnu_pltexit): New functions.
67358         (print_exit): Fix format string for return register value.
67360 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
67362         * sunrpc/Makefile (others): Add rpcgen.
67363         ($(objpfx)rpcgen): Remove special build rule and dependency on
67364         libc.
67365         * sunrpc/rpcgen.c: New file.
67367 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
67369         [BZ #13673]
67370         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67371         * stdio-common/bug-vfprintf-nargs.c: Likewise.
67372         * sysdeps/i386/crti.S: Likewise.
67373         * sysdeps/i386/crtn.S: Likewise.
67374         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67375         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67376         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67377         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67378         * sysdeps/sh/crti.S: Likewise.
67379         * sysdeps/sh/crtn.S: Likewise.
67380         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67382         [BZ #13673]
67383         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67384         with URL.
67385         * locale/programs/locfile-kw.gperf: Likewise.
67386         * locale/programs/charmap-kw.h: Regenerated.
67387         * locale/programs/locfile-kw.h: Likewise.
67389         [BZ #13673]
67390         * intl/plural.y: Replace FSF snail mail address with URL.
67391         * intl/plural.c: Regenerated.
67393 2012-03-09  Richard Henderson  <rth@twiddle.net>
67395         * include/math_private.h: Remove file.
67396         * math/math_private.h: Move file ...
67397         * sysdeps/generic/math_private.h: ... here.
67399         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67400         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67401         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67403         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67404         and <math_private.h>.
67405         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67406         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67407         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67408         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67409         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67410         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67411         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67412         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67413         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67414         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67415         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67416         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67417         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67418         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67419         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67420         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67421         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67422         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67423         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67424         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67425         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67426         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67427         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67428         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67429         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67430         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67431         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67432         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67433         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67434         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67435         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67436         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67437         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67438         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67439         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67440         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67441         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67442         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67443         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67444         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67445         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67446         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67447         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67448         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67449         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67450         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67451         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67452         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67453         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67454         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67455         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67456         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67457         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67458         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67459         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67460         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67461         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67462         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67463         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67464         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67465         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67466         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67467         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67468         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67469         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67470         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67471         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67472         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67473         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67474         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67475         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67476         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67477         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67478         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67479         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67480         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67481         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67482         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67483         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67484         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67485         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67486         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67487         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67488         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67489         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67490         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67491         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67492         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67493         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67494         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67495         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67496         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67497         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67498         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67499         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67500         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67501         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67502         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67503         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67504         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67505         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67506         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67507         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67508         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67509         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67510         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67511         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67512         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67513         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67514         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67515         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67516         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67517         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67518         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67519         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67520         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67521         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67522         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67523         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67524         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67525         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67526         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67527         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67528         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67529         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67530         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67531         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67532         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67533         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67534         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67535         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67536         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67537         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67538         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67539         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67540         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67541         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67542         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67543         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67544         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67545         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67546         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67547         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67548         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67549         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67550         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67551         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67552         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67553         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67554         * sysdeps/ieee754/k_standard.c: Likewise.
67555         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67556         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67557         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67558         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67559         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67560         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67561         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67562         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67563         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67564         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67565         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67566         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67567         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67568         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67569         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67570         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67571         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67572         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67573         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67574         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67575         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67576         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67577         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67578         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67579         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67580         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67581         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67582         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67583         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67584         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67585         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67586         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67587         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67588         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67589         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67590         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67591         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67592         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67593         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67594         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67595         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67596         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67597         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67598         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67599         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67600         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67601         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67602         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67603         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67604         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67605         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67606         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67607         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67608         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67609         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67610         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67611         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67612         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67613         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67614         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67615         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67616         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67617         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67618         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67619         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67620         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67621         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67622         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67623         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67624         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67625         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67626         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67627         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67628         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67629         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67630         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67631         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67632         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67633         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67634         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67635         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67636         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67637         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67638         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67639         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67640         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67641         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67642         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67643         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67644         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67645         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67646         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67647         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67648         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67649         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67650         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67651         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67652         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67653         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67654         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67655         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67656         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67657         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67658         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67659         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67660         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67661         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67662         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67663         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67664         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67665         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67666         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67667         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67668         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67669         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67670         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67671         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67672         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67673         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67674         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67675         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67676         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67677         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67678         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67679         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67680         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67681         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67682         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67683         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67684         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67685         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67686         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67687         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67688         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67689         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67690         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67691         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67692         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67693         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67694         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67695         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67696         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67697         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67698         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67699         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67700         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67701         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67702         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67703         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67704         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67705         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67706         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67707         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67708         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67709         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67710         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67711         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67712         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67713         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67714         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67715         * sysdeps/ieee754/s_lib_version.c: Likewise.
67716         * sysdeps/ieee754/s_matherr.c: Likewise.
67717         * sysdeps/ieee754/s_signgam.c: Likewise.
67718         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67719         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67720         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67721         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67722         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67723         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67724         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67725         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67726         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67727         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67728         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67729         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67730         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67731         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67732         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67733         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67734         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67735         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67736         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67737         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67738         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67740 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67742         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
67743         * sunrpc/rpc_main.c: Likewise.
67744         * sunrpc/rpc_svcout.c: Likewise.
67746 2012-03-09  David S. Miller  <davem@davemloft.net>
67748         * include/math_private.h: New file.
67750 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67752         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
67753         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
67754         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
67755         from <bits/socket_type.h>.
67756         (enum __socket_type): Don't define here.
67757         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
67758         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67759         bits/socket_type.h.
67761         [BZ #13566]
67762         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
67763         checking __USE_GNU.
67765         * Makerules ($(inst_includedir)/%.h): New rule.
67766         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
67767         (install-others): Remove variable setting.
67768         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
67770 2012-03-08  Richard Henderson  <rth@twiddle.net>
67772         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
67773         from macro to inline function; merge with the
67774         !__LIBC_INTERNAL_MATH_INLINES version.
67775         (__ieee754_sqrtf): Likewise.
67777         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
67778         to inline function.
67779         (__rintf, __floor, __floorf): Likewise.
67781         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
67782         macro to inline function.
67783         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
67785         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
67786         not <math/math_private.h>.
67788 2012-03-08  David S. Miller  <davem@davemloft.net>
67790         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
67791         copyright year.
67792         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
67794 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
67796         * resolv/gai_misc.c (handle_requests): Fix struct timespec
67797         normalization.
67798         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
67799         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
67801 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
67803         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
67804         be defined individually, they must be defined as a block.  Define
67805         S for printing a string instead of hidint the different by using a
67806         macro for adding the 'l'.
67807         * stdio-common/tst-fphex-wide.c: Adjust.
67809 2012-03-07  Marek Polacek  <polacek@redhat.com>
67811         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
67813 2012-03-08  Marek Polacek  <polacek@redhat.com>
67815         [BZ #13806]
67816         * stdio-common/Makefile (tests): Add tst-fphex-wide.
67817         * stdio-common/tst-fphex.c: Define a few macros to make the
67818         test reusable.  Use them.
67819         * stdio-common/tst-fphex-wide.c: New file.
67821 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
67823         [BZ #6911]
67824         * manual/macros.texi (gnusystems): New macro.
67825         (nongnusystems): Likewise.
67826         (gnulinuxhurdsystems): Likewise.
67827         (gnuhurdsystems): Likewise..
67828         (gnulinuxsystems): Likewise.
67829         * manual/charset.texi: Use new macros or @theglibc{} to refer to
67830         variants of the GNU system, not "GNU system".
67831         * manual/conf.texi: Likewise.
67832         * manual/errno.texi: Likewise.  Update example of errno macro
67833         expansion.
67834         * manual/filesys.texi: Likewise.
67835         (getumask): Document as specific to GNU/Hurd.
67836         * manual/install.texi: Likewise.  Reword some references to
67837         GNU/Linux.
67838         * manual/intro.texi: Likewise.
67839         * manual/io.texi: Likewise.
67840         (File Name Portability): Detail which constraints are inapplicable
67841         to all GNU systems and which are only inapplicable to GNU/Hurd.
67842         * manual/job.texi: Likewise.
67843         * manual/llio.texi: Likewise.
67844         (O_NOCTTY): Document as present on GNU/Linux.
67845         * manual/maint.texi: Likewise.
67846         * manual/memory.texi: Likewise.
67847         * manual/pattern.texi: Likewise.
67848         * manual/pipe.texi: Likewise.
67849         * manual/process.texi: Likewise.
67850         * manual/resource.texi: Likewise.
67851         (RUSAGE_CHILDREN): Remove statement about specifying a particular
67852         child on GNU/Hurd.
67853         * manual/setjmp.texi: Likewise.
67854         * manual/signal.texi: Likewise.
67855         * manual/startup.texi: Likewise.
67856         * manual/stdio.texi: Likewise.
67857         * manual/terminal.texi: Likewise.
67858         (ONLCR): Document as POSIX.
67859         (OXTABS): Document availability on GNU/Linux as XTABS.
67860         (ONOEOT): Document availability separately from other bits.
67861         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
67862         * manual/time.texi: Likewise.
67863         * manual/users.texi: Likewise.
67864         * INSTALL: Regenerated.
67865         * sysdeps/gnu/errlist.c: Regenerated.
67867         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
67868         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
67869         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
67870         puts.
67871         * configure: Regenerated.
67873 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
67875         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
67876         default includes instead of AC_HEADER_CHECK.
67877         * sysdeps/i386/configure: Regenerated.
67879         [BZ #10716]
67880         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
67881         * math/s_cacoshf.c (__cacoshf): Likewise.
67882         * math/s_cacoshl.c (__cacoshl): Likewise.
67883         * math/s_casinh.c (__casinh): Set signs of result from argument.
67884         * math/s_casinhf.c (__casinhf): Likewise.
67885         * math/s_casinhl.c (__casinhl): Likewise.
67886         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
67887         (casinh_test): Add more tests.
67888         * sysdeps/i386/fpu/libm-test-ulps: Update.
67889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67891 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
67893         * po/zh_TW.po: Update from translation team.
67895         * login/Makefile (distribute): Remove variable.
67896         * catgets/Makefile: Likewise.
67897         * mach/Makefile: Likewise.
67898         * malloc/Makefile: Likewise.
67899         * misc/Makefile: Likewise.
67900         * iconv/Makefile: Likewise.
67901         * nscd/Makefile: Likewise.
67902         * hurd/Makefile: Likewise.
67903         * manual/Makefile: Likewise.
67904         * locale/Makefile: Likewise.
67905         * intl/Makefile: Likewise.
67906         * conform/Makefile: Likewise.
67907         * nss/Makefile: Likewise.
67908         * time/Makefile: Likewise.
67909         * soft-fp/Makefile: Likewise.
67910         * dirent/Makefile: Likewise.
67911         * gmon/Makefile: Likewise.
67912         * po/Makefile: Likewise.
67913         * rt/Makefile: Likewise.
67914         * socket/Makefile: Likewise.
67915         * math/Makefile: Likewise.
67916         * signal/Makefile: Likewise.
67917         * debug/Makefile: Likewise.
67918         * elf/Makefile: Likewise.
67919         * timezone/Makefile: Likewise.
67920         * stdlib/Makefile: Likewise.
67921         * iconvdata/Makefile: Likewise.
67922         * sunrpc/Makefile: Likewise.
67923         * io/Makefile: Likewise.
67924         * argp/Makefile: Likewise.
67925         * inet/Makefile: Likewise.
67926         * hesiod/Makefile: Likewise.
67927         * grp/Makefile: Likewise.
67928         * csu/Makefile: Likewise.
67929         * wctype/Makefile: Likewise.
67930         * crypt/Makefile: Likewise.
67931         * libio/Makefile: Likewise.
67932         * string/Makefile: Likewise.
67933         * nis/Makefile: Likewise.
67934         * resolv/Makefile: Likewise.
67935         * stdio-common/Makefile: Likewise.
67936         * wcsmbs/Makefile: Likewise.
67937         * dlfcn/Makefile: Likewise.
67938         * posix/Makefile: Likewise.
67940         [BZ #6959]
67941         * timezone/Makefile: Don't install timezone files, just the programs
67942         and scripts.
67944 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
67946         * nss/databases.def: Add missing gshadow entry.
67948         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
67950 2012-03-06  Marek Polacek  <polacek@redhat.com>
67952         [BZ #13726]
67953         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67954         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67955         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67956         * stdio-common/tst-long-dbl-fphex.c: New file.
67958 2012-03-06  David S. Miller  <davem@davemloft.net>
67960         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67961         (set_obp_int): New function.
67962         (get_obp_int): New function.
67963         (__get_clockfreq_via_dev_openprom): Likewise.
67964         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67965         Avoid unused variable warnings on 'val' and use builtin_expect.
67966         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67967         __builtin_expect.
67968         (INLINE_CLONE_SYSCALL): Likewise.
67970 2012-03-05  David S. Miller  <davem@davemloft.net>
67972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67974 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
67976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67978         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67979         only for |x| >= 40.
67980         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67982 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
67984         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67985         Replace gettimeofday with __vdso_gettimeofday.
67987         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67988         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67989         __vdso_clock_gettime and __vdso_getcpu.
67991         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67992         time with __vdso_time.
67994 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67996         * manual/lang.texi (size_t): Note types to which size_t may be
67997         equivalent with the GNU C Library, but do not describe when
67998         differences between them are significant.
68000 2012-03-05  Andreas Jaeger  <aj@suse.de>
68002         * sysdeps/i386/fpu/libm-test-ulps: Update.
68004 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68006         [BZ #3976]
68007         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68008         (__ieee754_pow): Save and restore rounding mode and use
68009         round-to-nearest for main computations.
68010         * math/libm-test.inc (pow_test_tonearest): New function.
68011         (pow_test_towardzero): Likewise.
68012         (pow_test_downward): Likewise.
68013         (pow_test_upward): Likewise.
68014         (main): Call the new functions.
68015         * sysdeps/i386/fpu/libm-test-ulps: Update.
68016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68018         [BZ #3976]
68019         * math/libm-test.inc (cosh_test_tonearest): New function.
68020         (cosh_test_towardzero): Likewise.
68021         (cosh_test_downward): Likewise.
68022         (cosh_test_upward): Likewise.
68023         (sinh_test_tonearest): Likewise.
68024         (sinh_test_towardzero): Likewise.
68025         (sinh_test_downward): Likewise.
68026         (sinh_test_upward): Likewise.
68027         (main): Call the new functions.
68028         * sysdeps/i386/fpu/libm-test-ulps: Update.
68029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68031 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68033         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68034         default stack guard is set in last bytes.
68035         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68037 2012-03-05  Kees Cook  <keescook@chromium.org>
68039         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68041         [BZ #13656]
68042         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68043         possibly allocate from heap instead of stack.
68044         * stdio-common/bug-vfprintf-nargs.c: New file.
68045         * stdio-common/Makefile (tests): Add nargs overflow test.
68047 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68051 2012-03-03  Marek Polacek  <polacek@redhat.com>
68053         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68054         * math/math_private.h: Likewise.
68055         * stdlib/tst-strtod.c: Likewise.
68056         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68057         * sysdeps/x86_64/bits/atomic.h: Likewise.
68059 2012-03-02  David S. Miller  <davem@davemloft.net>
68061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68065         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68066         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68067         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68068         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68070 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68072         [BZ #13792]
68073         * manual/examples/README: New file, says the example source files
68074         can be used under GPL>=2.
68075         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68076         line containing just "*/".
68077         * manual/examples/add.c: Add copyright header (GPL>=2).
68078         * manual/examples/argp-ex1.c: Likewise.
68079         * manual/examples/argp-ex2.c: Likewise.
68080         * manual/examples/argp-ex3.c: Likewise.
68081         * manual/examples/argp-ex4.c: Likewise.
68082         * manual/examples/atexit.c: Likewise.
68083         * manual/examples/db.c: Likewise.
68084         * manual/examples/dir.c: Likewise.
68085         * manual/examples/dir2.c: Likewise.
68086         * manual/examples/execinfo.c: Likewise.
68087         * manual/examples/filecli.c: Likewise.
68088         * manual/examples/filesrv.c: Likewise.
68089         * manual/examples/fmtmsgexpl.c: Likewise.
68090         * manual/examples/genpass.c: Likewise.
68091         * manual/examples/inetcli.c: Likewise.
68092         * manual/examples/inetsrv.c: Likewise.
68093         * manual/examples/isockad.c: Likewise.
68094         * manual/examples/longopt.c: Likewise.
68095         * manual/examples/memopen.c: Likewise.
68096         * manual/examples/memstrm.c: Likewise.
68097         * manual/examples/mkfsock.c: Likewise.
68098         * manual/examples/mkisock.c: Likewise.
68099         * manual/examples/mygetpass.c: Likewise.
68100         * manual/examples/pipe.c: Likewise.
68101         * manual/examples/popen.c: Likewise.
68102         * manual/examples/rprintf.c: Likewise.
68103         * manual/examples/search.c: Likewise.
68104         * manual/examples/select.c: Likewise.
68105         * manual/examples/setjmp.c: Likewise.
68106         * manual/examples/sigh1.c: Likewise.
68107         * manual/examples/sigusr.c: Likewise.
68108         * manual/examples/stpcpy.c: Likewise.
68109         * manual/examples/strdupa.c: Likewise.
68110         * manual/examples/strftim.c: Likewise.
68111         * manual/examples/strncat.c: Likewise.
68112         * manual/examples/subopt.c: Likewise.
68113         * manual/examples/swapcontext.c: Likewise.
68114         * manual/examples/termios.c: Likewise.
68115         * manual/examples/testopt.c: Likewise.
68116         * manual/examples/testpass.c: Likewise.
68117         * manual/examples/timeval_subtract.c: Likewise.
68119         [BZ #13792]
68120         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68121         function to ...
68122         * manual/timeval_subtract.c.texi: ... here, new file.
68124 2012-03-02  David S. Miller  <davem@davemloft.net>
68126         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68128 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68130         [BZ #3976]
68131         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68132         (__sin): Save and restore rounding mode and use round-to-nearest
68133         for all computations.
68134         (__cos): Save and restore rounding mode and use round-to-nearest
68135         for all computations.
68136         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68137         <fenv.h>.
68138         (tan): Save and restore rounding mode and use round-to-nearest for
68139         all computations.
68140         * math/libm-test.inc (cos_test_tonearest): New function.
68141         (cos_test_towardzero): Likewise.
68142         (cos_test_downward): Likewise.
68143         (cos_test_upward): Likewise.
68144         (sin_test_tonearest): Likewise.
68145         (sin_test_towardzero): Likewise.
68146         (sin_test_downward): Likewise.
68147         (sin_test_upward): Likewise.
68148         (tan_test_tonearest): Likewise.
68149         (tan_test_towardzero): Likewise.
68150         (tan_test_downward): Likewise.
68151         (tan_test_upward): Likewise.
68152         (main): Call the new functions.
68153         * sysdeps/i386/fpu/libm-test-ulps: Update.
68154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68156         [BZ #10135]
68157         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68158         small n, then large n, before computing and testing k+n.
68159         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68160         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68161         Likewise.
68162         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68163         Likewise.
68164         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68165         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68166         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68167         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68168         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68169         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68170         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68171         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68172         * math/libm-test.inc (scalbn_test): Add more tests.
68173         (scalbln_test): Likewise.
68175         * manual/filesys.texi (mode_t): Describe constraints on size and
68176         signedness, not exact equivalence to a particular type.
68177         (ino_t): Likewise.
68178         (ino64_t): Likewise.
68179         (dev_t): Likewise.
68180         (nlink_t): Likewise.
68181         (blkcnt_t): Likewise.
68182         (blkcnt64_t): Likewise.
68183         * manual/llio.texi (off_t): Likewise.
68185         [BZ #3976]
68186         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68187         (__ieee754_exp): Save and restore rounding mode and use
68188         round-to-nearest for all computations.
68189         * math/libm-test.inc (exp_test_tonearest): New function.
68190         (exp_test_towardzero): Likewise.
68191         (exp_test_downward): Likewise.
68192         (exp_test_upward): Likewise.
68193         (main): Call the new functions.
68194         * sysdeps/i386/fpu/libm-test-ulps: Update.
68195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68197 2012-03-01  Chris Demetriou  <cgd@google.com>
68199         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68200         have predictable order.
68202 2012-03-01  David S. Miller  <davem@davemloft.net>
68204         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68206         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68207         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68208         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68209         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68211         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68212         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68213         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68215         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68216         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68217         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68218         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68219         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68223         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68224         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68225         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68227         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68228         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68229         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68230         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68231         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68232         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68233         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68234         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68235         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68236         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68237         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68238         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68239         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68240         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68241         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68242         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68243         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68244         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68245         * sysdeps/sparc/elf/configure: Regenerated.
68247 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68249         * configure.in (AS, LD): Require binutils 2.20 or later.
68250         * configure: Regenerated.
68251         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68252         as required minimum version.
68253         * INSTALL: Regenerated.
68255         [BZ #2541]
68256         [BZ #4108]
68257         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68258         before squaring exponent.
68259         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68260         bottom long double and 27 bits of top long double before squaring
68261         exponent.
68262         * math/libm-test.inc (erfc_test): Add more tests.
68263         * sysdeps/i386/fpu/libm-test-ulps: Update.
68264         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68267 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68269         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68270         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68271         containing bit-fields.
68272         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68273         * soft-fp/single.h (_FP_UNION_S): Likewise.
68274         * soft-fp/double.h (_FP_UNION_D): Likewise.
68276 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68278         [BZ #13786]
68279         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68280         not include ../strcmp.S.
68281         [USE_AS_STRNCASECMP_L]: Likewise.
68282         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68283         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68284         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68285         (__strncasecmp_l_ia32): Define as alias to
68286         __strncasecmp_l_nonascii.
68288         [BZ #5794]
68289         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68290         * sysdeps/i386/fpu/libm-test-ulps: Update.
68291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68293         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68296 2012-02-29  Jeff Law  <law@redhat.com>
68298         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68299         out of bounds read.
68301 2012-02-29  Marek Polacek  <polacek@redhat.com>
68303         [BZ #13706]
68304         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68305         * elf/Makefile: Add rules to run tst-unused-dep.out.
68307 2012-02-28  David S. Miller  <davem@davemloft.net>
68309         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68310         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68311         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68312         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68313         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68314         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68316 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68318         * math/libm-test.inc (llround_test): Move one test from
68319         lround_test.  Use TEST_f_L in moved test.
68320         (lround_test): Move misplaced test to llround_test.  Add testcase
68321         from bug 2561.
68323 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
68325         * sysdeps/x86_64/fpu/e_expf.S: New file.
68326         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68328 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
68330         [BZ #13637]
68331         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68332         of remain_len that may cause incomplete multi-byte character and
68333         false match.
68334         * posix/bug-regex33.c: New file.
68335         * posix/Makefile (tests): Add bug-regex33.
68337 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
68339         * manual/macros.texi: New file.
68340         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68341         * manual/libc.texinfo: Include macros.texi.
68342         * manual/creatute.texi: Likewise.
68343         * manual/install.texi: Likewise.
68344         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68345         @glibcadj{} in references to the GNU C Library.
68346         * manual/charset.texi: Likewise.
68347         * manual/conf.texi: Likewise.
68348         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
68349         when not using those macros.
68350         * manual/creature.texi: Likewise.
68351         * manual/crypt.texi: Likewise.
68352         * manual/errno.texi: Likewise.
68353         * manual/filesys.texi: Likewise.
68354         * manual/header.texi: Likewise.
68355         * manual/install.texi: Likewise.
68356         * manual/intro.texi: Likewise.
68357         * manual/io.texi: Likewise.
68358         * manual/job.texi: Likewise.
68359         * manual/lang.texi: Likewise.
68360         * manual/libc.texiinfo: Likewise.
68361         * manual/llio.texi: Likewise.
68362         * manual/locale.texi: Likewise.
68363         * manual/maint.texi: Likewise.
68364         * manual/math.texi: Likewise.
68365         * manual/memory.texi: Likewise.
68366         * manual/message.texi: Likewise.
68367         * manual/nss.texi: Likewise.
68368         * manual/pattern.texi: Likewise.
68369         * manual/process.texi: Likewise.
68370         * manual/resource.texi: Likewise.
68371         * manual/search.texi: Likewise.
68372         * manual/setjmp.texi: Likewise.
68373         * manual/signal.texi: Likewise.
68374         * manual/socket.texi: Likewise.
68375         * manual/startup.texi: Likewise.
68376         * manual/stdio.texi: Likewise.
68377         * manual/string.texi: Likewise.
68378         * manual/sysinfo.texi: Likewise.
68379         * manual/syslog.texi: Likewise.
68380         * manual/terminal.texi: Likewise.
68381         * manual/time.texi: Likewise.
68382         * manual/users.texi: Likewise.
68383         * INSTALL: Regenerated.
68384         * NOTES: Regenerated.
68385         * sysdeps/gnu/errlist.c: Regenerated.
68387 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68389         * include/dirent.h: Include <dirstream.h> before
68390         <dirent/dirent.h>.
68392 2012-02-28  David S. Miller  <davem@davemloft.net>
68394         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68395         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68396         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68397         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68399 2012-02-27  David S. Miller  <davem@davemloft.net>
68401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68403         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68404         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68407         frame pointer instead of stack pointer relative arg slot.
68408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68409         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68410         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68412 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68414         [BZ #3992]
68415         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68417 2012-02-27  David S. Miller  <davem@davemloft.net>
68419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68423         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68424         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68425         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68426         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68428 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68430         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68431         later.  Allow versions 5-9.
68432         * configure: Regenerated.
68433         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68434         required minimum version and 4.6 as recommended version.  Do not
68435         mention bugs in GCC 2.7 and 2.8.
68436         * INSTALL: Regenerated.
68438 2012-02-27  David S. Miller  <davem@davemloft.net>
68440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68444         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68445         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68446         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68447         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68449         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68450         manipulate bits before adding and subtracting TWO112[sx].
68451         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68453 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68455         [BZ #13775]
68456         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68457         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68458         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68459         being in POSIX, because they are in 1003.1-2008.
68461         * rt/tst-aio.c: Include <fcntl.h>.
68462         * rt/tst-aio7.c: Likewise.
68463         * rt/tst-aio64.c: Likewise.
68465         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68467 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68469         * manual/install.texi (--with-headers): Describe headers as
68470         interface headers, not private headers.
68471         (Specific advice for GNU/Linux systems): Describe use of headers
68472         from "make headers_install", not private headers from older
68473         kernels.
68474         * INSTALL: Regenerated.
68475         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68476         Change to 2.6.19.
68477         * sysdeps/unix/sysv/linux/configure: Regenerated.
68479         * manual/llio.texi (fclean): Remove documentation.
68481         * manual/Makefile (libc-texi-generated): New variable.  Include
68482         version.texi.
68483         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68484         $(libc-texi-generated), not duplicated list of files.
68485         (version.texi, stamp-version): New rules.
68486         (realclean): Remove $(libc-texi-generated), not individual files
68487         from that list.  Do not remove dir-add.texinfo.
68488         * manual/libc.texinfo: Comment out uses of edition numbers and
68489         references to printed manual.  Remove last-updated dates.
68490         (EDITION): Comment out.
68491         (ISBN): Likewise.
68492         (VERSION, UPDATED): Remove.
68493         (version.texi): Include.
68495 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
68497         * sysdeps/posix/spawni.c: Include <signal.h>.
68498         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68499         * sysdeps/pthread/aio_fsync.c: Likewise.
68501 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
68503         * conform/Makefile (tests): Run only when not cross-compiling and
68504         when fast-check is not defined.
68506         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68507         * conform/data/limits.h-data: Fixes for POSIX2008.
68508         * conform/run-conformtest.sh: Run all tests.
68509         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68510         headers.
68511         * include/bits/dlfcn.h: Likewise.
68512         * include/langinfo.h: Likewise.
68513         * include/monetary.h: Likewise.
68514         * include/sys/poll.h: Likewise.
68516         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68517         for __USE_GNU.
68518         * posix/spawn.h: Define __need_sigset_t.
68519         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68520         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68521         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
68522         to get sigevent_t only.
68523         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68524         only for __USE_GNU.
68525         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68526         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68527         process_vm_writev only for __USE_GNU.
68528         * termios/termios.h: Declare tcgetsid also for POSIX2008.
68530         * conform/Makefile: For now ignore errors from run-conformtest.
68531         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
68532         POSIX to avoid namespace pollution.  Don't prepend headers.
68533         * conform/data/aio.h-data: Fixes for POSIX testing.
68534         * conform/data/fcntl.h-data: Likewise.
68535         * conform/data/glob.h-data: Likewise.
68536         * conform/data/grp.h-data: Likewise.
68537         * conform/data/pthread.h-data: Likewise.
68538         * conform/data/pwd.h-data: Likewise.
68539         * conform/data/signal.h-data: Likewise.
68540         * conform/data/spawn.h-data: Likewise.
68541         * conform/data/stdio.h-data: Likewise.
68542         * conform/data/stdlib.h-data: Likewise.
68543         * conform/data/stropts.h-data: Likewise.
68544         * conform/data/sys/mman.h-data: Likewise.
68545         * conform/data/sys/stat.h-data: Likewise.
68546         * conform/data/sys/types.h-data: Likewise.
68547         * conform/data/sys/wait.h-data: Likewise.
68548         * conform/data/time.h-data: Likewise.
68549         * conform/data/unistd.h-data: Likewise.
68550         * conform/data/utime.h-data: Likewise.
68552         * io/sys/stat.h: fchmod was always in POSIX.
68553         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68554         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68555         * rt/aio.h: Define __need_timespec before including <time.h>.
68556         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68557         struct.  Add forward declaration of pthread_attr_t and use it in
68558         sigevent.
68559         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68560         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68561         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68562         always remove CLK_TCK definition.
68564 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
68566         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68568 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
68570         * conform/run-conformtest.sh: New file.
68571         * conform/Makefile: Run run-conformtest for tests.
68572         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
68573         support.
68575         * conform/data/uchar.h-data: New file.
68576         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68577         * conform/data/arpa/inet.h-data: Likewise.
68578         * conform/data/assert.h-data: Likewise.
68579         * conform/data/complex.h-data: Likewise.
68580         * conform/data/cpio.h-data: Likewise.
68581         * conform/data/ctype.h-data: Likewise.
68582         * conform/data/dirent.h-data: Likewise.
68583         * conform/data/dlfcn.h-data: Likewise.
68584         * conform/data/errno.h-data: Likewise.
68585         * conform/data/fcntl.h-data: Likewise.
68586         * conform/data/float.h-data: Likewise.
68587         * conform/data/fmtmsg.h-data: Likewise.
68588         * conform/data/fnmatch.h-data: Likewise.
68589         * conform/data/ftw.h-data: Likewise.
68590         * conform/data/glob.h-data: Likewise.
68591         * conform/data/grp.h-data: Likewise.
68592         * conform/data/iconv.h-data: Likewise.
68593         * conform/data/inttypes.h-data: Likewise.
68594         * conform/data/langinfo.h-data: Likewise.
68595         * conform/data/libgen.h-data: Likewise.
68596         * conform/data/limits.h-data: Likewise.
68597         * conform/data/locale.h-data: Likewise.
68598         * conform/data/math.h-data: Likewise.
68599         * conform/data/monetary.h-data: Likewise.
68600         * conform/data/mqueue.h-data: Likewise.
68601         * conform/data/ndbm.h-data: Likewise.
68602         * conform/data/net/if.h-data: Likewise.
68603         * conform/data/netdb.h-data: Likewise.
68604         * conform/data/netinet/in.h-data: Likewise.
68605         * conform/data/nl_types.h-data: Likewise.
68606         * conform/data/poll.h-data: Likewise.
68607         * conform/data/pthread.h-data: Likewise.
68608         * conform/data/pwd.h-data: Likewise.
68609         * conform/data/regex.h-data: Likewise.
68610         * conform/data/sched.h-data: Likewise.
68611         * conform/data/search.h-data: Likewise.
68612         * conform/data/semaphore.h-data: Likewise.
68613         * conform/data/setjmp.h-data: Likewise.
68614         * conform/data/signal.h-data: Likewise.
68615         * conform/data/spawn.h-data: Likewise.
68616         * conform/data/stdarg.h-data: Likewise.
68617         * conform/data/stdio.h-data: Likewise.
68618         * conform/data/stdlib.h-data: Likewise.
68619         * conform/data/string.h-data: Likewise.
68620         * conform/data/strings.h-data: Likewise.
68621         * conform/data/stropts.h-data: Likewise.
68622         * conform/data/sys/ipc.h-data: Likewise.
68623         * conform/data/sys/mman.h-data: Likewise.
68624         * conform/data/sys/msg.h-data: Likewise.
68625         * conform/data/sys/resource.h-data: Likewise.
68626         * conform/data/sys/select.h-data: Likewise.
68627         * conform/data/sys/sem.h-data: Likewise.
68628         * conform/data/sys/shm.h-data: Likewise.
68629         * conform/data/sys/socket.h-data: Likewise.
68630         * conform/data/sys/stat.h-data: Likewise.
68631         * conform/data/sys/statvfs.h-data: Likewise.
68632         * conform/data/sys/time.h-data: Likewise.
68633         * conform/data/sys/timeb.h-data: Likewise.
68634         * conform/data/sys/times.h-data: Likewise.
68635         * conform/data/sys/types.h-data: Likewise.
68636         * conform/data/sys/uio.h-data: Likewise.
68637         * conform/data/sys/un.h-data: Likewise.
68638         * conform/data/sys/utsname.h-data: Likewise.
68639         * conform/data/sys/wait.h-data: Likewise.
68640         * conform/data/syslog.h-data: Likewise.
68641         * conform/data/tar.h-data: Likewise.
68642         * conform/data/termios.h-data: Likewise.
68643         * conform/data/utime.h-data: Likewise.
68644         * conform/data/utmpx.h-data: Likewise.
68645         * conform/data/varargs.h-data: Likewise.
68646         * conform/data/wchar.h-data: Likewise.
68647         * conform/data/wctype.h-data: Likewise.
68648         * conform/data/wordexp.h-data: Likewise.
68650         * include/stropts.h: New file.
68651         * include/uchar.h: New file.
68652         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68653         * include/assert.h: Likewise.
68654         * include/ctype.h: Likewise.
68655         * include/dirent.h: Likewise.
68656         * include/dlfcn.h: Likewise.
68657         * include/fcntl.h: Likewise.
68658         * include/fnmatch.h: Likewise.
68659         * include/glob.h: Likewise.
68660         * include/grp.h: Likewise.
68661         * include/libio.h: Likewise.
68662         * include/locale.h: Likewise.
68663         * include/math.h: Likewise.
68664         * include/net/if.h: Likewise.
68665         * include/netdb.h: Likewise.
68666         * include/netinet/in.h: Likewise.
68667         * include/pthread.h: Likewise.
68668         * include/pwd.h: Likewise.
68669         * include/regex.h: Likewise.
68670         * include/sched.h: Likewise.
68671         * include/search.h: Likewise.
68672         * include/setjmp.h: Likewise.
68673         * include/signal.h: Likewise.
68674         * include/stdio.h: Likewise.
68675         * include/stdlib.h: Likewise.
68676         * include/string.h: Likewise.
68677         * include/sys/cdefs.h: Likewise.
68678         * include/sys/mman.h: Likewise.
68679         * include/sys/msg.h: Likewise.
68680         * include/sys/resource.h: Likewise.
68681         * include/sys/select.h: Likewise.
68682         * include/sys/socket.h: Likewise.
68683         * include/sys/stat.h: Likewise.
68684         * include/sys/statvfs.h: Likewise.
68685         * include/sys/time.h: Likewise.
68686         * include/sys/times.h: Likewise.
68687         * include/sys/uio.h: Likewise.
68688         * include/sys/utsname.h: Likewise.
68689         * include/sys/wait.h: Likewise.
68690         * include/termios.h: Likewise.
68691         * include/time.h: Likewise.
68692         * include/ulimit.h: Likewise.
68693         * include/unistd.h: Likewise.
68694         * include/utime.h: Likewise.
68695         * include/wchar.h: Likewise.
68696         * include/wctype.h: Likewise.
68697         * include/wordexp.h: Likewise.
68699         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68701         * time/time.h: TIME_UTC must be a macro.
68702         Make timespec_get available for ISO C11 only as well.
68704 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
68706         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68707         Reported by Peng Haitao <penght@cn.fujitsu.com>.
68709 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68711         * configure.in: Use -o not -a in test for unsupported multi-arch.
68713 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68715         * manual/texinfo.tex: Update to version 2012-01-19.16.
68717 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68719         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68721 2012-02-24  Roland McGrath  <roland@hack.frob.com>
68723         [BZ #13738]
68724         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68725         * manual/fdl-1.3.texi: New file.
68726         * manual/fdl-1.1.texi: File removed.
68728         [BZ #13738]
68729         * manual/libc.texinfo (FDL_VERSION): New @set.
68730         Use it for mention of FDL in cover text.
68731         (Documentation License): Use it in @include file name.
68733 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68734             Roland McGrath  <roland@hack.frob.com>
68736         [BZ #5461]
68737         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
68738         (not LONG_LONG_MAX and LONG_LONG_MIN.
68739         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
68740         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
68741         name.
68742         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
68744 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68746         [BZ #2547]
68747         [BZ #11365]
68748         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
68749         manipulate bits before adding and subtracting TWO23[sx].
68750         * math/libm-test.inc (nearbyint_test): Add more tests.
68752 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68754         [BZ #2548]
68755         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
68756         bits before adding and subtracting TWO23[sx].
68757         * math/libm-test.inc (rint_test): Add more tests.
68758         (rint_test_tonearest): Likewise.
68759         (rint_test_towardzero): Likewise.
68760         (rint_test_downward): Likewise.
68761         (rint_test_upward: Likewise.
68763 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68765         [BZ #10110]
68766         * include/stdc-predef.h: New file.  Extracted from features.h.
68767         * include/features.h: Include stdc-predef.h.
68768         * Makefile (headers): Add stdc-predef.h.
68769         * CONFORMANCE (Compiler limitations): Update.
68771 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68773         * manual/libc.texinfo (VERSION, UPDATED): Revert.
68775 2012-02-21  David S. Miller  <davem@davemloft.net>
68777         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
68778         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68780 2012-02-20  David S. Miller  <davem@davemloft.net>
68782         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
68783         using a normal save/restore sequence, rather than allocating a
68784         dummy stack frame just to store a frame pointer and restore.
68785         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68787 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68789         * manual/install.texi: Fix stray word in line-wrapped comment.
68791 2012-02-20  David S. Miller  <davem@davemloft.net>
68793         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
68794         both binutils and gcc support GOTDATA.
68796         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
68797         "rd %pc" in the PIC register setup sequences.
68799         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
68800         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
68801         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68802         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
68803         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68804         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68805         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68806         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68807         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
68808         (SYSCALL_ERROR_HANDLER): Likewise.
68809         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68810         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68811         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
68812         (SYSCALL_ERROR_HANDLER): Likewise.
68814         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
68815         (HAVE_GCC_GOTDATA): New.
68816         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
68817         relocation support in both binutils and gcc.
68818         * sysdeps/sparc/elf/configure: Regenerate.
68820         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
68821         * sysdeps/sparc/sparc32/elf/configure: Delete.
68822         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
68823         * sysdeps/sparc/sparc64/elf/configure: Delete.
68824         * sysdeps/sparc/elf/configure.in: New file.
68825         * sysdeps/sparc/elf/configure: Generate.
68827         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
68828         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
68829         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68830         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
68831         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
68833 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68835         * manual/install.texi: Do not mention specific glibc version
68836         numbers.
68837         * manual/libc.texinfo (VERSION, UPDATED): Update.
68838         (@copying): Use @copyright{} and range of years.
68840 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68842         [BZ #13695]
68843         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
68844         [crti.S not in sysdirs] (generated): Do not append.
68845         [crti.S not in sysdirs] (omit-deps): Likewise.
68846         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
68847         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
68848         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
68849         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
68850         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
68851         Likewise.
68852         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
68853         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
68854         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
68855         * csu/defs.awk: Remove file.
68856         * sysdeps/generic/initfini.c: Likewise.
68857         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
68858         variable.
68859         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
68860         Likewise.
68862 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68864         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
68865         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
68866         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
68867         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
68868         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68869         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
68870         <bits/epoll.h>.
68871         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
68872         (__EPOLL_PACKED): Define to empty if not defined by
68873         <bits/epoll.h>.
68874         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
68875         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68876         bits/epoll.h.
68878 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68880         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
68881         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
68882         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
68883         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
68884         <bits/timerfd.h>.
68885         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
68886         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68887         bits/timerfd.h.
68889 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68891         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
68892         in C locale.
68893         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68894         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
68895         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
68896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68898 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
68900         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68901         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68903 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
68905         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
68906         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
68907         defined.
68908         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
68909         Likewise.
68910         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
68911         entry for 2.16.
68913 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
68915         * math/w_acos.c: Use non-signaling floating-point comparisons.
68916         * math/w_acosf.c: Likewise.
68917         * math/w_acosh.c: Likewise.
68918         * math/w_acoshf.c: Likewise.
68919         * math/w_acoshl.c: Likewise.
68920         * math/w_acosl.c: Likewise.
68921         * math/w_asin.c: Likewise.
68922         * math/w_asinf.c: Likewise.
68923         * math/w_asinl.c: Likewise.
68924         * math/w_atanh.c: Likewise.
68925         * math/w_atanhf.c: Likewise.
68926         * math/w_atanhl.c: Likewise.
68927         * math/w_exp2.c: Likewise.
68928         * math/w_exp2f.c: Likewise.
68929         * math/w_exp2l.c: Likewise.
68930         * math/w_j0.c: Likewise.
68931         * math/w_j0f.c: Likewise.
68932         * math/w_j0l.c: Likewise.
68933         * math/w_j1.c: Likewise.
68934         * math/w_j1f.c: Likewise.
68935         * math/w_j1l.c: Likewise.
68936         * math/w_jn.c: Likewise.
68937         * math/w_jnf.c: Likewise.
68938         * math/w_log.c: Likewise.
68939         * math/w_log10.c: Likewise.
68940         * math/w_log10f.c: Likewise.
68941         * math/w_log10l.c: Likewise.
68942         * math/w_log2.c: Likewise.
68943         * math/w_log2f.c: Likewise.
68944         * math/w_log2l.c: Likewise.
68945         * math/w_logf.c: Likewise.
68946         * math/w_logl.c: Likewise.
68947         * math/w_sqrt.c: Likewise.
68948         * math/w_sqrtf.c: Likewise.
68949         * math/w_sqrtl.c: Likewise.
68950         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68951         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68952         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68953         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68954         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68956 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68958         [BZ #9739]
68959         * manual/string.texi (strnlen): Use correct parameter name in
68960         equivalent expression.
68962 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68964         [BZ #11174]
68965         * manual/users.texi (seteuid): Consistently use neweuid for
68966         argument name.
68968 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68970         [BZ #13704]
68971         * manual/nss.texi (Services in the NSS configuration): Correct
68972         list of services in example configuration file.
68974 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
68976         [BZ #11322]
68977         * manual/arith.texi: Remove statements about negative zero
68978         behaving identically to zero.
68980 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68982         [BZ #5993]
68983         * manual/install.texi: Do not document upgrading from libc5.
68985 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68987         [BZ #4596]
68988         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68990 2012-02-18  David S. Miller  <davem@davemloft.net>
68992         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68993         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68994         %o7 across the call.
68995         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68996         instead.
68997         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68998         SETUP_PIC_REG_LEAF.
68999         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69000         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69001         * sysdeps/sparc/crtn.S: Likewise.
69003 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69005         * aout/Makefile: Remove.
69007 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69009         [BZ #13058]
69010         * manual/examples/argp-ex1.c (main): Format definition in GNU
69011         style.
69012         * manual/examples/argp-ex2.c (main): Likewise.
69013         * manual/examples/argp-ex3.c (main): Likewise.
69014         * manual/examples/argp-ex4.c (main): Likewise.
69015         * manual/examples/longopt.c (main): Use new-style prototype
69016         definition.
69017         * manual/examples/strncat.c (main): Specify return type and use
69018         (void) for arguments.
69019         * manual/examples/subopt.c (main): Use char **argv argument.
69021 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69023         [BZ #5077]
69024         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69025         rounding modes.
69027 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69029         [BZ #6907]
69030         * manual/string.texi (strchr): Change when strchrnul is
69031         recommended.
69033 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69035         [BZ #174]
69036         * manual/locale.texi (setlocale): Document LOCPATH.
69038 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69040         [BZ #10210]
69041         * manual/process.texi (execle): Move @dots{} before last argument.
69043 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69045         [BZ #12047]
69046         * manual/charset.texi (Generic Charset Conversion): Fix typo
69047         (LC_TYPE -> LC_CTYPE).
69049 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69051         [BZ #5805]
69052         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69053         (scalbnf): Likewise.
69054         (scalbnl): Likewise.
69055         (scalbln): Likewise.
69056         (scalblnf): Likewise.
69057         (scalblnl): Likewise.
69058         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69059         (vwarnx): Likewise.
69060         (verr): Likewise.
69061         (verrx): Likewise.
69062         * manual/filesys.texi (telldir): Use braces around return type.
69063         * manual/llio.texi (mmap): Add space after comma.
69064         (mmap64): Likewise.
69065         * manual/math.texi (jn): Use @var{} on parameter names.
69066         (jnf): Likewise.
69067         (jnl): Likewise.
69068         (yn): Likewise.
69069         (ynf): Likewise.
69070         (ynl): Likewise.
69071         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69072         line.
69073         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69074         "...".
69075         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69076         (sched_get_priority_max): Likewise.
69077         * manual/signal.texi (sigvec): Add space after comma.
69078         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69079         names.
69080         (if_indextoname): Likewise.
69081         (if_freenameindex): Likewise.
69082         (sendto): Use ',' instead of '.' in prototype.
69083         * manual/startup.texi (syscall): Use @dots{} instead of literal
69084         "...".
69085         * manual/stdio.texi (__fpending): Separate initial words of
69086         paragraph from @deftypefun line.
69087         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69088         "...".
69089         (vsyslog): Use @var{} on parameter names.
69090         * manual/terminal.texi (stty): Use @var{} on parameter names.
69091         * manual/users.texi (getutmp): Use @var{} on parameter names.
69092         (getutmpx): Likewise.
69094 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69096         [BZ #6884]
69097         * manual/stdio.texi (fopen): Fix typos in description of
69098         ",ccs=STRING".
69100 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69102         [BZ #4026]
69103         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69104         get clock_id definition.
69106 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69108         [BZ #4822]
69109         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69110         (madvise): Cast every argument to void on its own.
69112 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69114         [BZ #9902]
69115         * manual/startup.texi (Exit Status): Fix typo.
69117 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69119         [BZ #10140]
69120         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69121         * manual/examples/argp-ex2.c: Likewise.
69122         * manual/examples/argp-ex3.c: Likewise.
69124 2012-02-16  Richard Henderson  <rth@redhat.com>
69126         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69127         * sysdeps/s390/s390-32/initfini.c: Remove.
69128         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69129         * sysdeps/s390/s390-64/initfini.c: Remove.
69131 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69133         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69134         compiler output for sysdeps/generic/initfini.c.
69135         * sysdeps/sh/elf/initfini.c: Remove file.
69137 2012-02-16  David S. Miller  <davem@davemloft.net>
69139         [BZ #11494]
69140         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69142         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69143         * sysdeps/sparc/crti.S: New file.
69144         * sysdeps/sparc/crtn.S: New file.
69145         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69146         * sysdeps/sparc/sparc64/Makefile: Likewise.
69148 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69150         [BZ #3335]
69151         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69153 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69155         [BZ #4822]
69156         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69158         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69159         (write, read, close): Likewise.
69160         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69162 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69164         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69165         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69166         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69167         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69168         <bits/signalfd.h>.
69169         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69170         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69171         bits/signalfd.h.
69173 2012-02-14  Marek Polacek  <polacek@redhat.com>
69175         * sysdeps/x86_64/crti.S: New file.
69176         * sysdeps/x86_64/crtn.S: New file.
69177         * sysdeps/x86_64/elf/initfini.c: Remove file.
69179 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69181         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69182         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69183         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69184         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69185         <bits/inotify.h>.
69186         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69187         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69188         bits/inotify.h.
69190 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69192         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69193         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69194         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69195         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69196         <bits/eventfd.h>.
69197         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69198         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69199         bits/eventfd.h.
69201 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69203         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69204         __feraiseexcept instead of feraiseexcept.
69206         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69207         nanosleep invocations.
69208         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69209         strings, and add error checking for a nanosleep invocations.
69211 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69213         Replace FSF snail mail address with URLs, as per GNU coding standards.
69214         Most of the snail mail addresses were wrong anyway, and omitting
69215         them makes the source code easier to maintain.  Almost all of the
69216         changes are to license notices and to locale LC_IDENTIFICATION
69217         addresses, except for this one:
69218         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69219         not its snail mail address.
69221 2012-02-09  Richard Henderson  <rth@twiddle.net>
69223         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69224         of kernel-features.h.
69226         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69228 2012-02-08  Marek Polacek  <polacek@redhat.com>
69230         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69231         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69232         * sysdeps/gnu/_G_config.h: Likewise.
69233         * sysdeps/generic/_G_config.h: Likewise.
69235 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69237         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69238         tests.
69239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69241         * sysdeps/powerpc/powerpc32/crti.S: New file.
69242         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69243         * sysdeps/powerpc/powerpc64/crti.S: New file.
69244         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69246         * Makeconfig (have-initfini): Don't set.
69247         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69248         * configure.in (nopic_initfini): Don't substitute.
69249         * config.h.in (HAVE_INITFINI): Don't #undef.
69250         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69251         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69253 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69255         Support crti.S and crtn.S provided directly by architectures.
69256         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69257         [crti.S in sysdirs] (omit-deps): Likewise.
69258         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69259         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69260         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69261         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69262         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69263         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69264         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69265         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69266         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69267         compiler output for sysdeps/generic/initfini.c.
69268         * sysdeps/i386/elf/Makefile: Remove file.
69269         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69271 2012-02-07  Marek Polacek  <polacek@redhat.com>
69273         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69274         * sysdeps/gnu/_G_config.h: Likewise.
69275         * sysdeps/mach/hurd/_G_config.h: Likewise.
69277 2012-02-07  Marek Polacek  <polacek@redhat.com>
69279         * math/Makefile (tests): Add tst-CMPLX2.
69280         * math/tst-CMPLX2.c: New file.
69282 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69284         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69286         * math/libm-test.inc (jn_test): Add missing L suffix.
69288 2012-02-06  Marek Polacek  <polacek@redhat.com>
69290         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69291         * sysdeps/i386/fpu/e_powf.S: Likewise.
69292         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69293         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69294         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69295         * sysdeps/i386/fpu/e_pow.S: Likewise.
69296         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69297         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69298         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69299         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69300         * sysdeps/i386/fpu/e_log2.S: Likewise.
69301         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69302         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69303         * sysdeps/i386/fpu/e_powl.S: Likewise.
69304         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69305         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69306         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69307         * sysdeps/i386/fpu/e_logl.S: Likewise.
69308         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69309         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69310         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69311         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69312         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69313         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69314         * sysdeps/i386/fpu/e_log.S: Likewise.
69315         * sysdeps/i386/fpu/s_cexp.S: Likewise.
69316         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69317         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69318         * sysdeps/i386/fpu/e_logf.S: Likewise.
69319         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69320         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69321         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69322         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69323         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69324         * sysdeps/i386/fpu/e_log10.S: Likewise.
69325         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69326         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69327         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69328         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69329         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69330         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69331         * sysdeps/i386/asm-syntax.h: Likewise.
69332         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69333         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69334         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69335         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69336         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69337         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69338         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69339         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69340         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69341         * sysdeps/powerpc/sysdep.h: Likewise.
69342         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69343         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69345 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69347         [BZ #411]
69348         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69350 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69352         * sysdeps/i386/sysdep.h: Include <features.h>.
69353         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69354         version.
69356 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
69358         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69359         Define.
69360         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69361         LOAD_PIC_REG_STR.
69363 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69365         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69366         (SETUP_PIC_REG): Use GET_PC_THUNK.
69367         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69368         macro.
69370 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69372         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69373         for non-PIC compilation.
69374         (SETUP_PIC_REG): Add .p2align directive.
69375         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69376         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69377         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69378         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69379         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69380         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69381         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69382         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69383         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69384         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69385         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69386         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69387         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69388         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69389         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69390         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69391         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69392         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69393         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69394         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69395         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69396         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69397         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69398         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69399         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69400         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69401         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69402         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69403         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69404         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69405         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69406         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69407         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69408         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69409         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69410         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69411         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69412         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69413         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69414         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69415         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69417 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69419         * math/tst-CMPLX.c: Include <stdio.h>.
69421 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69423         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69424         float.
69425         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69426         * sysdeps/sparc/bits/mathdef.h: Likewise.
69428 2012-01-31  Marek Polacek  <polacek@redhat.com>
69430         * libio/libio.h: Don't define _PARAMS.
69431         * locale/programs/config.h: Don't define PARAMS.
69432         * stdlib/strtol_l.c: Likewise.
69433         (__strtol_l): Remove PARAMS from the prototype.
69435 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69437         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69438         names.  Just use the correct names.  Remove unnecessary wrapper
69439         functions.
69440         * malloc/arena.c: Likewise.
69441         * malloc/hooks.c: Likewise.
69443         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69444         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69445         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69447 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69449         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69450         into tail calls.
69451         (update_get_addr): New function.
69452         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69453         GET_ADDR_MODULE parameter.
69455 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69457         * crypt/cert.c: Remove __STDC__ conditionals.
69458         * crypt/crypt-entry.c: Likewise.
69459         * crypt/crypt_util.c: Likewise.
69460         * libio/filedoalloc.c: Likewise.
69461         * libio/fileops.c: Likewise.
69462         * libio/genops.c: Likewise.
69463         * libio/iofclose.c: Likewise.
69464         * libio/iofdopen.c: Likewise.
69465         * libio/iofopen.c: Likewise.
69466         * libio/iofopen64.c: Likewise.
69467         * libio/iogetdelim.c: Likewise.
69468         * libio/iopopen.c: Likewise.
69469         * libio/obprintf.c: Likewise.
69470         * libio/oldfileops.c: Likewise.
69471         * libio/oldiofclose.c: Likewise.
69472         * libio/oldiofdopen.c: Likewise.
69473         * libio/oldiofopen.c: Likewise.
69474         * libio/oldiopopen.c: Likewise.
69475         * libio/wfiledoalloc.c: Likewise.
69476         * libio/wgenops.c: Likewise.
69477         * locale/programs/xmalloc.c: Likewise.
69478         * misc/syslog.c: Likewise.
69479         * stdio-common/xbug.c: Likewise.
69480         * string/memchr.c: Likewise.
69481         * string/memcmp.c: Likewise.
69482         * string/memrchr.c: Likewise.
69483         * string/rawmemchr.c: Likewise.
69484         * sysdeps/posix/getcwd.c: Likewise.
69485         * time/strftime_l.c: Likewise.
69487 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69489         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69490         * config.make.in (config-cflags-sse2avx): Define.
69491         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69492         Fix typo.
69494 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
69496         * scripts/config.guess: Update from upstream config git repository.
69497         * scripts/config.sub: Likewise.
69499 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
69501         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69502         (EM_NUM): Update.
69503         (R_TILEPRO_*, R_TILEGX_*): New macros.
69505         * scripts/firstversions.awk: Fix bug in version range handling.
69507         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69509         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69511         * include/sys/epoll.h: New file.
69512         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69513         libc_hidden_def.
69515 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
69517         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69518         Avoid unnecessary __WORDSIZE == 64 test.
69519         (fmaxf): Use VEX format if possible.
69520         (fmax): Likewise.
69521         (fminf): Likewise.
69522         (fmin): Likewise.
69524         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69525         * math/math_private.h: Remove libc_fegetround* and
69526         libc_fesetround*.
69527         * sysdeps/i386/configure.in: Check for -msse2avx.
69528         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69529         also if SSE2AVX is defined.
69530         Remove libc_fegetround* and libc_fesetround*.
69531         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69532         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
69533         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69534         of HAS_YMM_USABLE.
69535         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69536         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69537         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69538         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69539         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69541         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69543 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69545         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69546         size is not set.
69547         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69549 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
69551         [BZ #13618]
69552         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69553         relocation.
69554         * Makeconfig (libm): Define.
69555         * elf/Makefile: Add rules to build and run tst-relsort1.
69556         * elf/tst-relsort1.c: New file.
69557         * elf/tst-relsort1mod1.c: New file.
69558         * elf/tst-relsort1mod2.c: New file.
69560 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
69562         * math/s_ldexp.c: Remove __STDC__ conditionals.
69563         * math/s_ldexpf.c: Likewise.
69564         * math/s_ldexpl.c: Likewise.
69565         * math/s_nextafter.c: Likewise.
69566         * math/s_nexttowardf.c: Likewise.
69567         * math/s_significand.c: Likewise.
69568         * math/s_significandf.c: Likewise.
69569         * math/s_significandl.c: Likewise.
69570         * math/w_jnl.c: Likewise.
69571         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69572         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69573         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69574         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69575         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69576         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69577         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69578         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69579         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69580         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69581         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69582         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69583         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69584         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69585         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69586         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69587         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69588         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69589         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69590         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69591         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69592         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69593         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69594         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69595         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69596         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69597         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69598         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69599         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69600         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69601         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69602         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69603         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69604         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69605         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69606         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69607         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69608         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69609         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69610         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69611         * sysdeps/ieee754/k_standard.c: Likewise.
69612         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69613         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69614         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69615         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69616         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69617         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69618         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69619         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69620         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69621         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69622         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69623         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69624         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69625         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69626         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69627         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69628         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69629         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69630         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69631         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69632         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69633         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69634         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69635         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69636         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69637         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69638         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69639         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69640         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69641         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69642         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69643         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69644         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69645         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69646         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69647         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69648         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69649         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69650         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69651         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69652         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69653         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69654         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69655         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69656         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69657         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69658         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69659         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69660         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69661         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69662         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69663         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69664         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69665         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69666         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69667         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69668         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69669         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69670         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69671         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69672         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69673         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69674         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69675         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69676         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69677         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69678         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69679         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69680         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69681         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69682         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69683         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69684         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69685         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69686         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69687         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69688         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69689         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69690         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69691         * sysdeps/ieee754/s_matherr.c: Likewise.
69692         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69693         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69694         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69695         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69697 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69699         * crypt/md5.h: Remove __STDC__ conditionals.
69700         * libio/libioP.h: Likewise.
69701         * locale/programs/config.h: Likewise.
69702         * sysdeps/generic/sysdep.h: Likewise.
69703         * sysdeps/i386/asm-syntax.h: Likewise.
69704         * sysdeps/s390/asm-syntax.h: Likewise.
69705         * sysdeps/unix/sysdep.h: Likewise.
69706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69709 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69711         * libio/libio.h: Remove __STDC__ conditionals.
69712         * malloc/obstack.h: Likewise.
69713         * math/complex.h: Likewise.
69714         * math/math.h: Likewise.
69715         * sysdeps/generic/_G_config.h: Likewise.
69716         * sysdeps/gnu/_G_config.h: Likewise.
69717         * sysdeps/mach/hurd/_G_config.h: Likewise.
69718         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69719         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69720         * sysdeps/sparc/bits/mathdef.h: Likewise.
69722 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
69724         [BZ #13583]
69725         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69726         Clean up HAS_* macros.
69727         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69728         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69729         possible.
69730         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69731         HAS_AVX.
69732         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69733         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69734         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69735         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69736         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69738 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
69740         * elf/tst-unique3.cc (gets): Remove declaration.
69741         * elf/tst-unique3lib.cc (gets): Likewise.
69742         * elf/tst-unique3lib2.cc (gets): Likewise.
69743         * elf/tst-unique4.cc (gets): Likewise.
69745 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
69747         * include/stdio.h: Add C++ protection.  Add gets declarations and
69748         definitions.
69749         * debug/tst-chk1.c: Don't declare gets here.
69750         * stdio-common/tst-gets.c: Likewise.
69752 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69754         * posix/glob: Remove directory.
69756 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69758         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
69760 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
69762         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
69763         of the non-standard EPFNOSUPPORT.
69765 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69767         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
69768         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
69769         ANYWHERE set to 1 only on KERN_NO_SPACE error.
69771 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
69773         * wcsmbs/uchar.h: Test __STDC_VERSION__.
69775 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
69777         * nscd/aicache.c (addhstaiX): Do not cache negative results of
69778         transient errors.
69779         * nscd/grpcache.c (cache_addgr): Likewise.
69780         * nscd/hstcache.c (cache_addhst): Likewise.
69781         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69782         * nscd/pwdcache.c (cache_addpw): Likewise.
69783         * nscd/servicescache.c (cache_addserv): Likewise.
69785 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
69787         * malloc/malloc.c: Various cleanups.
69788         * malloc/hooks.c: Likewise.
69790         * stdlib/Makefile (tests): Add bug-fmtmsg1.
69791         * stdlib/bug-fmtmsg1.c: New file.
69793         * stdlib/fmtmsg.c (init): Add missing unlock.
69794         Patch by Peng Haitao <penght@cn.fujitsu.com>.
69796 2012-01-12  Marek Polacek  <polacek@redhat.com>
69798         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
69799         and _GNU_SOURCE.
69801 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69803         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
69804         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
69805         macro to ensure uniqueness of label name.
69806         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69807         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69809 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
69811         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
69813         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
69814         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69815         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69816         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
69818 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
69820         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
69822         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
69823         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69824         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69826         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
69828         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
69829         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69830         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69831         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
69833         * math/bits/math-finite.h: Add ldexp support.
69835 2012-01-10  Marek Polacek  <polacek@redhat.com>
69837         * locale/programs/localedef.h (show_archive_content): Add noreturn
69838         attribute.
69840 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
69842         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
69844 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69846         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
69848         * io/Makefile (headers): Add bits/poll2.h.
69850 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
69852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
69853         typo #include statement.
69855 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69857         * include/sys/cdefs.h: Define __attribute_alloc_size.
69858         * catgets/gencat.c: Add alloc_size attribute and apply consistently
69859         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
69860         * elf/pldd.c: Likewise.
69861         * iconv/iconv_charmap.c: Likewise.
69862         * iconv/iconvconfig.c: Likewise.
69863         * iconv/strtab.c: Likewise.
69864         * locale/programs/locale.c: Likewise.
69865         * locale/programs/localedef.h: Likewise.
69866         * locale/programs/simple-hash.c: Likewise.
69867         * nscd/nscd.h: Likewise.
69868         * nss/makedb.c: Likewise.
69869         * sysdeps/generic/ldconfig.h: Likewise.
69870         * locale/programs/localedef.c: Remove xmalloc prototype.
69871         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
69873 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69875         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
69876         appropriate.
69878 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69880         * math/Makefile (tests): Add tst-CMPLX.
69881         * math/tst-CMPLX.c: New file.
69883         * math/complex.h (CMPLXL): Fix typo.
69885         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
69886         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
69887         GLIBC_2.16.
69888         * debug/tst-chk1.c: Add poll and ppoll tests.
69889         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
69890         * include/sys/poll.h: Add hidden proto for ppoll.
69891         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
69892         * sysdeps/mach/hurd/ppoll.c: Likewise.
69893         * io/ppoll.c: Likewise.
69894         * debug/poll_chk.c: New file.
69895         * debug/ppoll_chk.c: New file.
69896         * include/bits/poll2.h: New file.
69897         * io/bits/poll2.h: New file.
69899         [BZ #1350]
69900         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
69902         * configure.in: static is always set to yes.  Remove.
69903         * config.make.in: Don't set build-static.
69904         * Makeconfig: Remove use of build-static.
69905         * dlfcn/Makefile: Likewise.
69906         * elf/Makefile: Likewise.
69907         * math/Makefile: Likewise.
69908         * misc/Makefile: Likewise.
69909         * nptl/Makefile: Likewise.
69910         * sysdeps/mach/hurd/Makefile: Likewise.
69912         * configure.in: PWD_P is not used anymore.
69913         * config.make.in: Remove PWD_P entry.
69915         * configure.in: Remove last remnants of RANLIB.
69916         No need to check for signed size_t anymore.
69917         Don't set libc_commonpagesize and libc_relro_required here for Alpha
69918         and IA-64.
69919         Remove __builtin_expect test because we require at least gcc 3.4.
69920         * aclocal.m4: Likewise.
69922         * wcsmbs/mbrtoc16.c: Implement using towc function.
69923         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
69924         * wcsmbs/wcsmbsload.c: Likewise.
69925         * iconv/gconv_simple.c: Likewise.
69926         * iconv/gconv_int.h: Likewise.
69927         * iconv/gconv_builtin.h: Likewise.
69928         * iconv/iconv_prog.c: Remove CHAR16 handling.
69930         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
69932         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
69934         * configure.in: Remove --with-elf and --enable-bounded options.
69935         Dont set base_machine for ia64.  More non-ELF conditions removed.
69936         Remove testing and setting of leading underscore information.
69937         * config.make.in (build-bounded): Set to no.
69938         * config.h.in: Remove NO_UNDERSCORES entry.
69939         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
69940         them.
69941         * csu/start.c: Remove !NO_UNDERSCORE code.
69942         * locale/localeinfo.h: Likewise.
69943         * sysdeps/generic/machine-gmon.h: Likewise.
69944         * sysdeps/generic/sysdep.h: Likewise.
69945         * sysdeps/i386/sysdep.h: Likewise.
69946         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69947         * sysdeps/mach/sysdep.h: Likewise.
69948         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69949         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69950         * sysdeps/sh/sysdep.h: Likewise.
69951         * sysdeps/sparc/sparc32/alloca.S: Likewise.
69952         * sysdeps/unix/i386/sysdep.S: Likewise.
69953         * sysdeps/unix/sparc/start.c: Likewise.
69954         * sysdeps/unix/sparc/sysdep.S: Likewise.
69955         * sysdeps/unix/sparc/sysdep.h: Likewise.
69956         * sysdeps/unix/start.c: Likewise.
69957         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69958         * sysdeps/x86_64/sysdep.h: Likewise.
69960 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
69962         [BZ #13553]
69963         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69964         for non-gcc.
69965         * argp/argp-fmtstream.h: Use const instead __const.
69966         * argp/argp.h: Likewise.
69967         * assert/assert.h: Likewise.
69968         * bits/fenv.h: Likewise.
69969         * bits/sched.h: Likewise.
69970         * bits/sigset.h: Likewise.
69971         * bits/sigthread.h: Likewise.
69972         * catgets/nl_types.h: Likewise.
69973         * conform/data/pthread.h-data: Likewise.
69974         * crypt/crypt-private.h: Likewise.
69975         * crypt/crypt.h: Likewise.
69976         * crypt/crypt_util.c: Likewise.
69977         * ctype/ctype.h: Likewise.
69978         * debug/execinfo.h: Likewise.
69979         * debug/mbsnrtowcs_chk.c: Likewise.
69980         * debug/mbsrtowcs_chk.c: Likewise.
69981         * debug/wcsnrtombs_chk.c: Likewise.
69982         * debug/wcsrtombs_chk.c: Likewise.
69983         * debug/wcstombs_chk.c: Likewise.
69984         * dirent/dirent.h: Likewise.
69985         * dlfcn/dlfcn.h: Likewise.
69986         * elf/neededtest4.c: Likewise.
69987         * grp/grp.h: Likewise.
69988         * gshadow/gshadow.h: Likewise.
69989         * iconv/gconv.h: Likewise.
69990         * iconv/gconv_int.h: Likewise.
69991         * iconv/gconv_simple.c: Likewise.
69992         * iconv/iconv.h: Likewise.
69993         * iconv/loop.c: Likewise.
69994         * iconv/skeleton.c: Likewise.
69995         * include/aio.h: Likewise.
69996         * include/aliases.h: Likewise.
69997         * include/argz.h: Likewise.
69998         * include/arpa/inet.h: Likewise.
69999         * include/assert.h: Likewise.
70000         * include/dirent.h: Likewise.
70001         * include/dlfcn.h: Likewise.
70002         * include/execinfo.h: Likewise.
70003         * include/fcntl.h: Likewise.
70004         * include/fenv.h: Likewise.
70005         * include/glob.h: Likewise.
70006         * include/grp.h: Likewise.
70007         * include/libintl.h: Likewise.
70008         * include/mntent.h: Likewise.
70009         * include/netdb.h: Likewise.
70010         * include/pwd.h: Likewise.
70011         * include/rpc/netdb.h: Likewise.
70012         * include/sched.h: Likewise.
70013         * include/search.h: Likewise.
70014         * include/shadow.h: Likewise.
70015         * include/signal.h: Likewise.
70016         * include/stdio.h: Likewise.
70017         * include/stdlib.h: Likewise.
70018         * include/string.h: Likewise.
70019         * include/sys/socket.h: Likewise.
70020         * include/sys/stat.h: Likewise.
70021         * include/sys/statfs.h: Likewise.
70022         * include/sys/statvfs.h: Likewise.
70023         * include/sys/syslog.h: Likewise.
70024         * include/sys/time.h: Likewise.
70025         * include/sys/uio.h: Likewise.
70026         * include/time.h: Likewise.
70027         * include/unistd.h: Likewise.
70028         * include/utmp.h: Likewise.
70029         * include/wchar.h: Likewise.
70030         * include/wctype.h: Likewise.
70031         * inet/aliases.h: Likewise.
70032         * inet/arpa/inet.h: Likewise.
70033         * inet/netinet/ether.h: Likewise.
70034         * inet/netinet/in.h: Likewise.
70035         * intl/libintl.h: Likewise.
70036         * io/bits/fcntl2.h: Likewise.
70037         * io/fcntl.h: Likewise.
70038         * io/ftw.h: Likewise.
70039         * io/sys/poll.h: Likewise.
70040         * io/sys/stat.h: Likewise.
70041         * io/sys/statfs.h: Likewise.
70042         * io/sys/statvfs.h: Likewise.
70043         * io/utime.h: Likewise.
70044         * libio/bits/stdio.h: Likewise.
70045         * libio/bits/stdio2.h: Likewise.
70046         * libio/libio.h: Likewise.
70047         * libio/libioP.h: Likewise.
70048         * libio/stdio.h: Likewise.
70049         * locale/lc-ctype.c: Likewise.
70050         * locale/locale.h: Likewise.
70051         * login/utmp.h: Likewise.
70052         * malloc/arena.c: Likewise.
70053         * malloc/malloc.c: Likewise.
70054         * malloc/malloc.h: Likewise.
70055         * malloc/mcheck.c: Likewise.
70056         * malloc/mtrace.c: Likewise.
70057         * math/bits/mathcalls.h: Likewise.
70058         * math/fenv.h: Likewise.
70059         * math/math_private.h: Likewise.
70060         * misc/bits/error.h: Likewise.
70061         * misc/bits/syslog.h: Likewise.
70062         * misc/err.h: Likewise.
70063         * misc/error.h: Likewise.
70064         * misc/fstab.h: Likewise.
70065         * misc/mntent.h: Likewise.
70066         * misc/regexp.h: Likewise.
70067         * misc/search.h: Likewise.
70068         * misc/sgtty.h: Likewise.
70069         * misc/sys/mman.h: Likewise.
70070         * misc/sys/syslog.h: Likewise.
70071         * misc/sys/uio.h: Likewise.
70072         * misc/sys/xattr.h: Likewise.
70073         * misc/ttyent.h: Likewise.
70074         * nis/rpcsvc/ypclnt.h: Likewise.
70075         * nss/nss.h: Likewise.
70076         * posix/bits/unistd.h: Likewise.
70077         * posix/fnmatch.h: Likewise.
70078         * posix/glob.h: Likewise.
70079         * posix/sched.h: Likewise.
70080         * posix/spawn.h: Likewise.
70081         * posix/sys/wait.h: Likewise.
70082         * posix/unistd.h: Likewise.
70083         * posix/wordexp.h: Likewise.
70084         * pwd/pwd.h: Likewise.
70085         * resolv/netdb.h: Likewise.
70086         * resource/sys/resource.h: Likewise.
70087         * rt/aio.h: Likewise.
70088         * rt/bits/mqueue2.h: Likewise.
70089         * rt/mqueue.h: Likewise.
70090         * shadow/shadow.h: Likewise.
70091         * signal/signal.h: Likewise.
70092         * socket/send.c: Likewise.
70093         * socket/sendto.c: Likewise.
70094         * socket/sys/socket.h: Likewise.
70095         * stdio-common/printf.h: Likewise.
70096         * stdlib/bits/stdlib.h: Likewise.
70097         * stdlib/fmtmsg.h: Likewise.
70098         * stdlib/monetary.h: Likewise.
70099         * stdlib/stdlib.h: Likewise.
70100         * stdlib/ucontext.h: Likewise.
70101         * streams/stropts.h: Likewise.
70102         * string/argz.h: Likewise.
70103         * string/bits/string2.h: Likewise.
70104         * string/string.h: Likewise.
70105         * string/strings.h: Likewise.
70106         * sunrpc/rpc/auth.h: Likewise.
70107         * sunrpc/rpc/auth_des.h: Likewise.
70108         * sunrpc/rpc/clnt.h: Likewise.
70109         * sunrpc/rpc/netdb.h: Likewise.
70110         * sunrpc/rpc/pmap_clnt.h: Likewise.
70111         * sunrpc/rpc/xdr.h: Likewise.
70112         * sysdeps/generic/inttypes.h: Likewise.
70113         * sysdeps/generic/net/if.h: Likewise.
70114         * sysdeps/generic/sys/swap.h: Likewise.
70115         * sysdeps/gnu/net/if.h: Likewise.
70116         * sysdeps/gnu/utmpx.h: Likewise.
70117         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70118         * sysdeps/i386/i486/bits/string.h: Likewise.
70119         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70120         * sysdeps/s390/bits/string.h: Likewise.
70121         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70122         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70123         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70124         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70125         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70126         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70127         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70128         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70129         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70130         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70131         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70132         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70133         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70134         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70135         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70136         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70137         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70138         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70139         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70140         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70141         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70142         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70143         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70144         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70145         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70146         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70147         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70148         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70149         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70150         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70151         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70152         * sysvipc/sys/ipc.h: Likewise.
70153         * sysvipc/sys/msg.h: Likewise.
70154         * sysvipc/sys/sem.h: Likewise.
70155         * sysvipc/sys/shm.h: Likewise.
70156         * termios/termios.h: Likewise.
70157         * time/sys/time.h: Likewise.
70158         * time/time.h: Likewise.
70159         * wcsmbs/bits/wchar2.h: Likewise.
70160         * wcsmbs/uchar.h: Likewise.
70161         * wcsmbs/wchar.h: Likewise.
70162         * wctype/wctype.h: Likewise.
70164         [BZ #13551]
70165         * Makeconfig: Remove all but ELF support including AIX support.
70166         * Makerules: Likewise.
70167         * config.h.in: Likewise.
70168         * config.make.in: Likewise.
70169         * configure: Likewise.
70170         * configure.in: Likewise.
70171         * csu/Makefile: Likewise.
70172         * csu/version.c: Likewise.
70173         * debug/Makefile: Likewise.
70174         * dlfcn/Makefile: Likewise.
70175         * elf/Makefile: Likewise.
70176         * extra-lib.mk: Likewise.
70177         * iconv/Makefile: Likewise.
70178         * include/libc-symbols.h: Likewise.
70179         * include/shlib-compat.h: Likewise.
70180         * resolv/Makefile: Likewise.
70181         * resolv/res_libc.c: Likewise.
70182         * rt/Makefile: Likewise.
70183         * sysdeps/i386/asm-syntax.h: Likewise.
70184         * sysdeps/i386/sysdep.h: Likewise.
70185         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70186         * sysdeps/mach/sysdep.h: Likewise.
70187         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70188         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70189         * sysdeps/s390/asm-syntax.h: Likewise.
70190         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70191         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70192         * sysdeps/sh/sysdep.h: Likewise.
70193         * sysdeps/unix/sparc/sysdep.h: Likewise.
70194         * sysdeps/wordsize-32/divdi3.c: Likewise.
70195         * sysdeps/x86_64/sysdep.h: Likewise.
70197         * argp/Versions: Remove _argp_unlock_xxx.
70199         [BZ #13559]
70200         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70201         * abilist/libBrokenLocale.abilist: Likewise.
70202         * abilist/libanl.abilist: Likewise.
70203         * abilist/libc.abilist: Likewise.
70204         * abilist/libcrypt.abilist: Likewise.
70205         * abilist/libdl.abilist: Likewise.
70206         * abilist/libm.abilist: Likewise.
70207         * abilist/libnsl.abilist: Likewise.
70208         * abilist/libpthread.abilist: Likewise.
70209         * abilist/libresolv.abilist: Likewise.
70210         * abilist/librt.abilist: Likewise.
70211         * abilist/libthread_db.abilist: Likewise.
70212         * abilist/libutil.abilist: Likewise.
70213         * abilist/libnss_db.abilist: New file.
70215         * scripts/abilist.awk: Add support for indirect functions.
70217         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70219         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70221         * shlib-versions: Remove entries for ports architectures.
70223         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70224         files in ports.
70225         * elf/stackguard-macros.h: Remove support for IA-64.
70226         * elf/tst-auditmod1.c: Likewise.
70227         * sysdeps/generic/ldsodefs.h: Likewise.
70229         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70230         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70231         configure files.
70233         [BZ #13552]
70234         * configure.in: Remove --enable-omitfp support.
70235         * FAQ.in: Adjust.
70236         * config.make.in: Likewise.
70237         * Makeconfig: Likewise.
70238         * manual/install.texi: Likewise.
70240         In case anyone cares, the IA-64 architecture could move to ports.
70241         * sysdeps/ia64/*: Removed.
70242         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70243         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70245         [BZ #13555]
70246         * configure.in: Remove entries for unsupported architectures.
70248         [BZ #13533]
70249         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70250         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70251         routines.
70252         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70253         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70254         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70255         fall back to using wcrtomb.
70256         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70257         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70258         renaming.
70259         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70260         * wcsmbs/tst-c16c32-1.c: New file.
70262         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70263         local variable.
70265         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70267         * elf/tst-unique3.cc: Add explicit declaration of gets.
70268         * elf/tst-unique3lib.cc: Likewise.
70269         * elf/tst-unique3lib2.cc: Likewise.
70270         * elf/tst-unique4.cc: Likewise.
70272         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70274 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70276         [BZ #13566]
70277         * assert/assert.h (static_assert): Don't define for C++.
70278         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70279         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70281 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70283         * iconv/loop.c (single loop): Fix assertion in storing of
70284         remaining bytes.
70286         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70288 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70290         * posix/getconf.c: Update copyright year.
70291         * nss/getent.c: Likewise.
70292         * nss/makedb.c: Likewise.
70293         * iconv/iconvconfig.c: Likewise.
70294         * iconv/iconv_prog.c: Likewise.
70295         * elf/ldconfig.c: Likewise.
70296         * elf/pldd.c: Likewise.
70297         * elf/sotruss.ksh: Likewise.
70298         * catgets/gencat.c: Likewise.
70299         * csu/version.c: Likewise.
70300         * elf/ldd.bash.in: Likewise.
70301         * elf/sprof.c (print_version): Likewise.
70302         * locale/programs/locale.c: Likewise.
70303         * locale/programs/localedef.c: Likewise.
70304         * login/programs/pt_chown.c: Likewise.
70305         * nscd/nscd.c (print_version): Likewise.
70306         * debug/xtrace.sh: Likewise.
70307         * malloc/memusage.sh: Likewise.
70308         * malloc/mtrace.pl: Likewise.
70309         * debug/catchsegv.sh: Likewise.
70311 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
70313         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70314         pure attribute.
70316 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
70318         [BZ #13533]
70319         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70320         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70321         transformations.
70322         * iconv/gconv_int.h: Likewise.
70323         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70324         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70325         from libc for GLIBC_2.16.
70326         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70327         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70328         * wcsmbs/uchar.h: Really define mbstate_t.
70329         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70330         * wcsmbs/c16rtomb.c: New file.
70331         * wcsmbs/mbrtoc16.c: New file.
70332         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70333         for C/POSIX locale.
70334         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70335         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70337         * wcsmbs/wchar.h: Add missing __restrict.
70339 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70341         [BZ #13532]
70342         * time/Makefile (routines): Add timespec_get.
70343         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70344         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
70345         timespec for ISO C11.
70346         * time/timespec_get.c: New file.
70347         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70348         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70350         [BZ #13531]
70351         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70352         * stdlib/stdlib.h: Declare aligned_alloc.
70353         * Versions.def: Add GLIBC_2.16 for libc.
70354         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70356         [BZ 13527]
70357         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70358         ISO C11.
70360         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70361         code.
70363         [BZ #13528]
70364         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70366         [BZ #13529]
70367         * assert/assert.h (static_assert): Define.
70369         * version.h: Update for 2.16 development version.
70371         [BZ #13526]
70372         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70373         _ISOC11_SOURCE.
70375         * version.h (RELEASE): Bump for 2.15 release.
70376         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70378         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70379         Patch by Marek Polacek <mpolacek@redhat.com>.
70381         * bits/byteswap.h: Protect long long constants with __extension__.
70382         * sysdeps/i386/bits/byteswap.h: Likewise.
70383         * sysdeps/ia64/bits/byteswap.h: Likewise.
70384         * sysdeps/s390/bits/byteswap.h: Likewise.
70385         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70387 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70389         [BZ #13540]
70390         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70391         destination buffer.
70392         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70394 2011-12-23  Marek Polacek  <polacek@redhat.com>
70396         * elf/dl-addr.c (determine_info): Add inline keyword.
70397         * elf/tst-auditmod4b.c (check_avx): Likewise.
70398         * elf/tst-auditmod6b.c (check_avx): Likewise.
70399         * elf/tst-auditmod6c.c (check_avx): Likewise.
70400         * elf/tst-auditmod7b.c (check_avx): Likewise.
70402 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70404         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70405         !__SSE_MATH__.
70407 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70409         [BZ #13540]
70410         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70411         processing for last bytes.
70413 2011-08-06  Bruno Haible  <bruno@clisp.org>
70415         [BZ #13061]
70416         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70417         U+0385, not to U+1FEE.
70419         [BZ #13062]
70420         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70421         entry for U+00A5 U+0301.
70423 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70425         [BZ #13166]
70426         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70427         buffer for the output is too small.
70429         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70430         optimization.
70432         [BZ #13185]
70433         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70434         SSE flags if possible.
70436 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70438         [BZ #13540]
70439         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70440         processing for last bytes.
70442 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70444         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70445         (syscall-list-default-options, syscall-list-default-condition)
70446         (syscall-list-includes): Define.
70447         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70448         list of ABIs and options and #if conditions for each ABI.  Do not
70449         handle common syscalls between ABIs specially.
70450         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70451         Remove.
70452         (syscall-list-variants, syscall-list-32bit-options)
70453         (syscall-list-32bit-condition, syscall-list-64bit-options)
70454         (syscall-list-64bit-condition): Define.
70455         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70456         (syscall-list-variants, syscall-list-32bit-options)
70457         (syscall-list-32bit-condition, syscall-list-64bit-options)
70458         (syscall-list-64bit-condition): Define.
70459         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70460         Remove.
70461         (syscall-list-variants, syscall-list-32bit-options)
70462         (syscall-list-32bit-condition, syscall-list-64bit-options)
70463         (syscall-list-64bit-condition): Define.
70464         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70465         Remove.
70466         (syscall-list-variants, syscall-list-32bit-options)
70467         (syscall-list-32bit-condition, syscall-list-64bit-options)
70468         (syscall-list-64bit-condition): Define.
70470 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70472         * locale/iso-639.def: Add brx entry.
70474         [BZ #13328]
70475         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70476         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70478         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70479         __feraiseexcept_renamed.
70481 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70483         [BZ #13538]
70484         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70485         EPOLLET with unsigned values.
70486         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70487         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70489         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70490         to large cancellation.
70491         * math/s_cacoshf.c: Likewise.
70492         * math/s_cacoshl.c: Likewise.
70494 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
70496         [BZ #13305]
70497         [BZ #12786]
70498         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70499         * math/s_cacoshf.c: Likewise.
70500         * math/s_cacoshl.c: Likewise.
70502 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70504         [BZ #13439]
70505         * iconv/gconv.h: Define __GCONV_SWAP.
70506         * iconvdata/unicode.c: The swap bit must be stored in __flags.
70507         * iconvdata/utf-16.c: Likewise.
70508         * iconvdata/utf-32.c: Likewise.
70510 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
70512         [BZ #13524]
70513         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70514         numerator after shifting it by one limb.
70516 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
70518         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70519         under [__USE_EXTERN_INLINES].
70521 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70523         [BZ #13446]
70524         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70526 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70528         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70529         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70530         optimized code.
70531         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70532         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70533         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70534         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70535         for strncasecmp/strncasecmp_l compilation.
70536         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70537         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70539 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
70541         [BZ #13484]
70542         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70543         of __asm__.
70545 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70547         [BZ #13506]
70548         * time/tzfile.c (__tzfile_read): Check values from file header.
70550 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70552         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70553         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70554         * powerpc/powerpc32/dl-start.S: Likewise.
70555         * powerpc/powerpc32/elf/start.S: Likewise.
70556         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70557         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70558         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70559         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70560         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70561         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70562         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70563         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70564         * powerpc/powerpc32/fpu/s_round.S: Likewise.
70565         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70566         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70567         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70568         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70569         * powerpc/powerpc32/memset.S: Likewise.
70570         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70571         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70572         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70573         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70574         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70575         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70576         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70577         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70578         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70579         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70580         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70581         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70582         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70584 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70586         * math/libm-test.inc: Added more nearbyint tests.
70587         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70588         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70589         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70590         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70592 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
70594         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70595         FD_CLOEXEC.
70597 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70599         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70600         Add wcscpy-ssse3 wcscpy-c.
70601         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70602         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70603         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70604         * sysdeps/x86_64/wcschr.S: New file.
70605         * sysdeps/x86_64/wcsrchr.S: New file.
70606         * string/test-strcmp.c: Remove checking of wcscmp function for
70607         wrong alignments.
70608         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70609         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70610         wcsrchr-sse2 wcsrchr-c.
70611         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70612         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70613         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70614         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70615         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70616         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70617         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70618         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70619         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70620         * wcsmbc/wcschr.c (WCSCHR): New macro.
70622 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70624         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70625         * wcsmbs/test-wcsrchr.c: New file.
70626         * string/test-strrchr.c: Add wcsrchr support.
70627         (WIDE): New macro.
70628         * wcsmbs/test-wcscpy.c: New file.
70629         * string/test-strcpy.c: Add wcscpy support.
70630         (WIDE): New macro.
70632 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70634         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70635         the inner loop.
70637 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70639         [BZ #13472]
70640         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70642 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70644         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70645         Minor optimizations.
70647         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70648         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70649         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70651 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70653         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70654         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70655         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70656         for gcc to avoid warnings.
70657         * inet/Makefile (tests): Add tst-checks.
70658         * inet/tst-checks.c: New file.
70660         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70661         warning.
70663         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70664         __wmemcmp_sse2.
70666         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70667         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70669         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70671 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70673         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70674         problem.
70676         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70678 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70680         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70681         conditional on GCC version.
70682         (__arch_compare_and_exchange_val_8_acq)
70683         (__arch_compare_and_exchange_val_16_acq)
70684         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70685         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70686         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70688 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
70690         * sysdeps/sh/backtrace.c: New file.
70692 2011-12-02  Andreas Schwab  <schwab@redhat.com>
70694         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
70695         parenthesis.
70697 2011-12-01  Andreas Schwab  <schwab@redhat.com>
70699         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70700         falling back to utime.
70702 2011-11-30  Andreas Schwab  <schwab@redhat.com>
70704         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70705         expectations for float.
70707 2011-11-29  Andreas Schwab  <schwab@redhat.com>
70709         * locale/weight.h (findidx): Add parameter len.
70710         * locale/weightwc.h (findidx): Likewise.
70711         * posix/fnmatch_loop.c (FCT): Adjust caller.
70712         * posix/regcomp.c (build_equiv_class): Likewise.
70713         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70714         * posix/regexec.c (check_node_accept_bytes): Likewise.
70715         * string/strcoll_l.c (STRCOLL): Likewise.
70716         * string/strxfrm_l.c (STRXFRM): Likewise.
70718 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
70720         * Makefile.in: Remove CVSOPT handling.
70721         * configure.in: Remove use of AC_REVISION.
70722         * iconvdata/Makefile (distribute): No need to filter out CVS.
70723         * scripts/list-sources.sh: Remove CVS, subversion and monotone
70724         handling.
70726 2011-11-16  Andreas Schwab  <schwab@redhat.com>
70728         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70729         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70730         [USE_AS_STRNCASECMP_L]: Likewise.
70731         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70732         NO_TLS_DIRECT_SEG_REFS.
70733         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70734         Fix argument offsets for non-PIC.
70735         [USE_AS_STRNCASECMP_L]: Likewise.
70736         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
70737         NO_TLS_DIRECT_SEG_REFS.
70739 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70741         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
70742         O_CLOEXEC.
70743         * locale/loadlocale.c (_nl_load_locale): Likewise.
70745 2011-11-15  Andreas Schwab  <schwab@redhat.com>
70747         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
70748         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
70749         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
70750         (SYSCALL_GETTIME): Set errno on error.
70752         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
70753         count references to noai6ai_cached.
70755 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70757         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
70759         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
70760         FD_CLOEXEC for /proc/self/maps.
70762         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
70763         FD_CLOEXEC for /proc/meminfo.
70765         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
70766         gai.conf.
70768         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
70769         FD_CLOEXEC for given file.
70771         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
70773         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
70774         FD_CLOEXEC for /etc/hosts.
70775         (_gethtent): Likewise.
70777         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
70779         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
70780         cancellation and set FD_CLOEXEC for /etc/netgroup.
70782         * nss/nss_files/files-key.c (search): Don't allow cancellation when
70783         reading /etc/publickey.
70785         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
70786         allow cancellation when reading /etc/group.
70788         * nss/nss_files/files-alias.c (internal_setent): Don't allow
70789         cancellation.
70790         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
70792         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
70793         when using data file.
70795         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
70797         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
70798         (write_nis_obj): Use "c" and "e" in fopen.
70800         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
70802         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
70804         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
70806         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
70808         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
70809         locale.alias.
70811         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
70813         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
70815         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
70817         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
70818         file parsing and set FD_CLOEXEC.
70820 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70822         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
70824 2011-11-14  Andreas Schwab  <schwab@redhat.com>
70826         * malloc/arena.c (arena_get2): Don't call reused_arena when
70827         _int_new_arena failed.
70829 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70831         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
70832         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
70833         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
70834         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70835         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70836         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
70837         to compile strcasecmp and strncasecmp.
70838         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
70839         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
70841         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
70843 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
70845         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
70846         locale-defines.sym to gen-as-const-headers.
70847         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
70848         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
70849         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
70850         to compile strcasecmp and strncasecmp.
70851         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
70852         strcasecmp_l and strncasecmp_l.
70853         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
70854         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
70855         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
70856         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
70857         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
70858         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
70859         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
70860         * sysdeps/i386/i686/multiarch/strncase.S: New file.
70861         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
70862         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
70863         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
70865 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
70867         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
70868         result of SYSDEP_GETTIME_CPU to retval.
70869         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
70870         parameter list to macro.  Remove trailing semicolon.  Adjust users.
70872         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
70873         variable.
70875         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
70876         mantissa words.
70877         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
70879         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
70880         from unused variable.
70882         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
70883         DWARF definitions.
70884         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
70885         for assembling.
70887         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
70888         over namespaces.
70890         * sunrpc/rpc_prot.c (rejected): Fix case value.
70892         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
70893         unsigned long long int to avoid warnings in shift.
70895         * posix/regex_internal.c (re_string_reconstruct): Actually use result
70896         of use of trans.
70897         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
70898         variable tmp.
70900         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
70901         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
70902         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
70904         * nis/nis_table.c (nis_list): Use variable of correct type for
70905         result of __follow_path call.
70907 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70909         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
70910         of math functions ceil, trunc, floor, round, and sqrt, when
70911         avaliable on the platform.
70912         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
70913         name clash.
70914         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70915         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70916         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70918 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
70920         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
70921         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70923 2011-11-11  Roland McGrath  <roland@hack.frob.com>
70925         * include/unistd.h: Fix __readlink return type.
70926         Reported by Chris Metcalf <cmetcalf@tilera.com>.
70928 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
70930         * stdlib/ucontext.h: Undo last change for makecontext.
70932 2011-11-11  Andreas Schwab  <schwab@redhat.com>
70934         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
70936         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
70937         * setjmp/setjmp.h: Mark functions as non-leaf.
70938         * setjmp/bits/setjmp2.h: Likewise.
70939         * stdlib/ucontext.h: Likewise.
70941 2011-11-10  Andreas Schwab  <schwab@redhat.com>
70943         * malloc/arena.c (_int_new_arena): Don't increment narenas.
70944         (reused_arena): Don't check arena limit.
70945         (arena_get2): Atomically check arena limit.
70947 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
70949         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70950         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70952         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70953         instructions.
70955 2011-11-07  Andreas Schwab  <schwab@redhat.com>
70957         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70958         handler when locking.
70960         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70961         Fix size of allocated buffer.
70963 2011-11-04  Andreas Schwab  <schwab@redhat.com>
70965         [BZ #10103]
70966         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70967         declarations for long double functions.
70968         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70970         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70972 2011-11-03  Andreas Schwab  <schwab@redhat.com>
70974         * nscd/nscd.c (main): Don't start AVC thread until credentials are
70975         installed.
70977         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70978         is disabled.
70980 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70982         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70984 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70986         * include/alloca.h (stackinfo_alloca_round): Define.
70987         (extend_alloca): Use it.
70988         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70989         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70990         here.
70992         * scripts/check-local-headers.sh: Ignore libaudit.h.
70994         * nscd/Makefile (extra-objs): Make recursively expanded.
70996 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
70998         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70999         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71001         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71002         * posix/tst-rfc3484-2.c: Likewise.
71003         * posix/tst-rfc3484-3.c: Likewise.
71005         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71006         process_vm_writev.
71007         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71008         process_vm_writev.
71009         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71010         process_vm_writev from libc using GLIBC_2.15 version.
71012         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71014 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71016         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71017         stack usage.
71019 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71021         [BZ #13367]
71022         * nss/getent.c (initgroups_keys): Show error message in case no group
71023         names are given.
71025         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71026         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71027         __bump_nl_timestamp.
71028         * nscd/connections (nscd_init): When host database is served open
71029         netlink socket and request notification about configuration changes.
71030         (main_loop_poll): Track netlink file descriptor and bump timestamp
71031         in case data becomes available.
71032         (main_loop_epoll): Likewise.
71033         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71034         (database_pers_head): Add extra_data fileds.
71035         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71036         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71037         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71038         Adjust caller.
71039         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71040         in6ai data, call __free_in6ai.
71041         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71042         Add -DHAVE_NETLINK.
71043         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71044         interface information.  Reuse previous data if netlink timestamp
71045         is not changed.
71046         (__bump_nl_timestamp): New function.
71047         (__free_in6ai): New function.
71049 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71051         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71052         close_not_cancel_no_status here.
71053         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71055 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71057         [BZ #13276]
71058         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71059         return value.
71061         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71062         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71063         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71065 2011-07-03  Andreas Jaeger  <aj@suse.de>
71067         [BZ #10709]
71068         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71069         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71070         * math/libm-test.inc (sin_test): Add test case.
71072 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71074         [BZ #13337]
71075         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71076         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71078         * elf/chroot_canon.c (chroot_canon): Cleanups.
71080         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71082         [BZ #13335]
71083         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71084         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71086         * string/test-strchr.c: Make usable for strchrnul testing.
71087         * string/test-strchrnul.c: New file.
71088         * string/Makefile (strop-tests): Add strchrnul.
71090         * po/it.po: Update from translation team.
71091         * po/es.po: Likewise.
71093 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71095         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71096         the three constants needed as parameters.  Drop the others.
71097         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71098         __m128i_strloadu_tolower.
71099         Create and initialize variable zero and use it in all the places
71100         where _mm_setzero_si128 was used.
71102         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71103         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71104         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71105         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71106         anymore.
71107         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71108         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71109         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71110         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71111         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71112         __mpranred, __mptan.
71113         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71114         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71115         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71116         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71117         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71118         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71119         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71120         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71121         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71123 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71125         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71126         redefine if SHARED.
71127         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71129         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71130         wide char related routines to wcsmbs subdir.
71132 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71134         [BZ #13344]
71135         * misc/sys/cdefs.h (__THROWNL): Define.
71136         * posix/unistd.h: Use __THREADNL instead of __THREAD
71137         for memory synchronization functions.
71139 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71141         [BZ #13349]
71142         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71143         doesn't exist.
71144         * manual/stdio.texi (Obstack Streams): Node removed.
71146 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71148         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71149         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71150         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71152         * math/math_private.h (math_force_eval): Allow non-addressable
71153         arguments.
71154         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71156 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71158         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71159         file is not needed.
71161         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71162         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71163         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71164         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71165         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71166         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71167         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71168         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71169         Add AVX variants.
71170         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71171         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71172         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71173         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71174         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71175         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71176         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71177         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71178         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71179         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71180         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71181         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71182         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71183         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71184         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71185         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71186         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71187         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71188         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71190         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71191         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71193         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71194         place.  Use VEX encoding when compiling for AVX.
71196 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71198         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71199         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71201         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71203 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71205         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71206         useless if() expression.
71207         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71208         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71209         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71210         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71211         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71212         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71213         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71214         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71215         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71216         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71217         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71218         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71219         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71220         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71221         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71222         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71223         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71224         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71225         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71227         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71229 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71231         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71232         condition.
71233         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71235 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71237         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71238         .text section.  Avoid duplicate constants.
71239         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71240         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71241         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71242         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71243         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71244         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71245         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71246         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71247         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71248         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71249         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71250         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71251         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71252         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71253         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71254         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71255         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71256         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71257         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71258         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71259         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71260         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71261         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71262         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71263         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71264         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71265         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71266         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71267         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71268         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71269         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71270         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71271         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71272         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71273         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71274         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71275         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71276         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71277         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71278         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71279         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71280         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71281         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71282         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71283         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71285 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71287         * sysdeps/x86_64/dla.h: Move to ...
71288         * sysdeps/x86_64/fpu/dla.h: ...here.
71289         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71290         situations.  Use __builtin_fma only for gcc 4.6 and up.
71292         * config.make.in: Add have-mfma4 entry.
71293         * configure.in: Substitute libc_cv_cc_fma4.
71294         * math/Makefile (dbl-only-routines): Add sincostab.
71295         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71296         Use __sincostab not sincos.
71297         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71298         name is a macro.
71299         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71300         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71301         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71302         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71303         using __copysign.
71304         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71305         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71306         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71307         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71308         and __inv.
71309         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71310         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71311         __copysign.
71312         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
71313         define aliases when function name is a macro.
71314         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71315         sysdeps/ieee754/dbl-64/sincos.tbl.
71316         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71317         fma4-enabled routines.
71318         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71319         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71320         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71321         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71322         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71323         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71324         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71325         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71326         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71327         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71328         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71329         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71330         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71331         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71332         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71333         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71334         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71335         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71336         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71337         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71338         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71339         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71340         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71341         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71342         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71343         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71344         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71345         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71346         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71347         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71349         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71350         rename.
71351         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71352         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71353         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71354         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71355         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71356         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71357         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71358         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71360 2011-10-24  Andreas Schwab  <schwab@redhat.com>
71362         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71364 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71366         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71368         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71369         prediction.
71370         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71372         * string/strnlen.c: Don't define STRNLEN, reverse logic.
71373         Remove unused variable magic_bits.
71374         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71376         * string/strnlen.c: Define and use STRNLEN macro.
71377         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71378         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71379         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71380         * wcsmbs/wcslen.c: Define and use WCSLEN.
71381         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71382         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71383         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71384         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71385         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71386         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71387         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71389 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71392         strnlen-sse2-no-bsf.
71393         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71394         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71395         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71396         Add strnlen support.
71397         (USE_AS_STRNLEN): New macro.
71398         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71399         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71400         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71401         * sysdeps/x86_64/wcslen.S: New file.
71403 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71405         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71406         XMM-moves are used for copying on small sizes.
71408 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71410         * wcsmbs/Makefile (strop-tests): Add wcschr.
71411         * wcsmbs/test-wcschr.c: New file.
71412         * string/test-strchr.c: Update.
71413         Add wcschr support.
71414         (WIDE): New macro.
71416 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71418         * wcsmbs/Makefile (strop-tests): Add wcslen.
71419         * wcsmbs/test-wcslen.c: New file.
71420         * string/test-strlen.c: Update.
71421         Add wcslen support.
71422         (WIDE): New macro.
71424 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71426         * po/it.po: Update from translation team.
71428 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71430         * sysdeps/x86_64/wcscmp.S: Update.
71431         Fix wrong comparison semantics.
71432         wcscmp shall use signed comparison not unsigned.
71433         Don't use substraction to avoid overflow bug.
71434         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71435         * wcsmbc/wcscmp.c: Likewise.
71436         * string/test-strcmp.c: Likewise.
71437         Add new tests to check cases with negative values.
71439 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71441         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71442         * sysdeps/x86_64/dla.h: ...here.  New file.
71443         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71444         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71445         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71446         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71447         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71448         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71449         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71450         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71451         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71453 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71455         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71456         __ynl_finite aliases.
71458 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71462         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71463         define DLA_FMA.
71464         [DLA_FMA] (EMULV): Use DLA_FMA.
71465         [DLA_FMA] (MUL12): Use EMULV.
71466         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71467         that are not needed.
71468         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71469         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71470         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71471         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71472         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71473         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71474         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71476 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71478         * math/s_nan.c: Undef __nan.
71479         * math/s_nanf.c: Undef __nanf.
71480         * math/s_nanl.c: Undef __nanl.
71481         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71482         "math_private.h".
71484 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71486         * math/s_catan.c: Add branch predictions.
71487         * math/s_catanf.c: Likewise.
71488         * math/s_catanh.c: Likewise.
71489         * math/s_catanhf.c: Likewise.
71490         * math/s_catanhl.c: Likewise.
71491         * math/s_catanl.c: Likewise.
71492         * math/s_cexp.c: Likewise.
71493         * math/s_cexpf.c: Likewise.
71494         * math/s_cexpl.c: Likewise.
71495         * math/s_clog.c: Likewise.
71496         * math/s_clog10.c: Likewise.
71497         * math/s_clog10f.c: Likewise.
71498         * math/s_clog10l.c: Likewise.
71499         * math/s_clogf.c: Likewise.
71500         * math/s_clogl.c: Likewise.
71501         * math/s_csqrt.c: Likewise.
71502         * math/s_csqrtf.c: Likewise.
71503         * math/s_csqrtl.c: Likewise.
71504         * math/s_ctanf.c: Likewise.
71505         * math/s_ctanh.c: Likewise.
71506         * math/s_ctanhf.c: Likewise.
71507         * math/s_ctanhl.c: Likewise.
71508         * math/s_ctanl.c: Likewise.
71510         * math/math_private.h: Define __nan, __nanf, __nanl.
71511         * math/s_cacosh.c: Include <math_private.h>.
71512         * math/s_cacoshl.c: Likewise.
71513         * math/s_casinh.c: Likewise.
71514         * math/s_casinhf.c: Likewise.
71515         * math/s_casinhl.c: Likewise.
71516         * math/s_ccos.c: Rely entire on ccosh.
71517         * math/s_ccosf.c: Rely entire on ccoshf.
71518         * math/s_ccosl.c: Rely entirely on ccoshl.
71519         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
71520         Remove tests for FE_INVALID.
71521         * math/s_ccoshf.c: Likewise.
71522         * math/s_ccoshl.c: Likewise.
71523         * math/s_csin.c: Likewise.
71524         * math/s_csinf.c: Likewise.
71525         * math/s_csinh.c Likewise.
71526         * math/s_csinhf.c: Likewise.
71527         * math/s_csinhl.c: Likewise.
71528         * math/s_csinl.c: Likewise.
71529         * math/s_ctan.c: Likewise.
71530         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71531         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71532         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71534 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
71536         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71537         compilation problems.
71539         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71540         __builtin_expect.
71542 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
71544         * sysdeps/i386/configure.in: Test for -mfma4 option.
71545         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71546         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71547         COMMON_CPUID_INDEX_80000001.
71548         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71549         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71550         use it if FMA3 is not supported.
71551         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71553         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71554         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71556 2011-10-20  Andreas Schwab  <schwab@redhat.com>
71558         [BZ #12892]
71559         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71560         it would create a cycle with a link time dependency.
71562 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
71564         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71565         instruction.
71566         * string/Makefile (strop-tests): Add rawmemchr.
71567         * string/test-rawmemchr.c: New file.
71569         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71570         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
71571         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
71572         when compiling str{,n}casecmp and when AVX is available.  Hook up
71573         new optimized code in initializers.
71575 2011-10-19  Andreas Schwab  <schwab@redhat.com>
71577         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71578         __feraiseexcept instead of feraiseexcept.
71580 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
71582         * math/math_private.h: Define defaults for libc_fetestexcept and
71583         libc_feupdateenv.
71584         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71585         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71586         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71587         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71588         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71589         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71590         libc_fetestexcept and libc_feupdateenv.
71592         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71593         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71594         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71595         * sysdeps/x86_64/fpu/math_private.h: Define special version of
71596         libc_feholdexcept_setround.
71598         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71599         Add s_nearbyint-c and s_nearbyintf-c.
71600         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71601         nearbyintf inlines.
71602         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71603         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71604         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71605         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71607         * math/math_private.h: Define defaults for libc_fegetround,
71608         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71609         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71610         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71611         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71612         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71613         standard functions.
71614         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71615         Remove comments and hacks for old compiler versions.
71616         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71617         libc_fegetround, libc_fesetround, libc_feholdexcept, and
71618         libc_feholdexceptl.
71620 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71622         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71623         (__feraiseexcept_renamed): Add __NTH.
71624         (feraiseexcept): Add __NTH.  Rename local variables to fix
71625         namespace violations.
71627 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71629         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71631         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71633         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71634         recently added interfaces.
71635         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71637         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71638         about macro parameter expansion.
71640         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71641         __NO_MATH_INLINES is defined.  Cleanups.
71643         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71644         and __floorf is target has SSE4.1.
71645         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71646         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71647         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71648         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71650         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71651         name.
71652         (floorf): Likewise.
71654         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71656 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71658         * misc/sys/cdefs.h: Fix last change.
71660         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71661         database lookup.
71663 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71665         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71667         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71668         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71669         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71670         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71671         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71672         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71673         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71674         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71675         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71676         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71677         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71678         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71679         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71680         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71681         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71682         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71683         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71684         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71685         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71686         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71687         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71688         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71690         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71691         ceil, ceilf, floor, floorf.
71693         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71694         Perform IRELATIVE relocations last.
71696         * elf/do-rel.h: Add another parameter nrelative, replacing the
71697         local variable with the same name.  Change name of the function
71698         to end in Rel or Rela (uppercase).
71699         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71700         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
71701         elf_dynamic_do_##reloc function.
71703 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71705         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71706         is sufficient, at least on modern CPUs.
71708         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71710         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71711         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71713         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71714         __expl_finite.
71715         * math/bits/math-finite.h: Add entries for exp.
71716         * math/e_expl.c: Add __*_finite alias.
71717         * sysdeps/i386/fpu/e_exp.S: Likewise.
71718         * sysdeps/i386/fpu/e_expf.S: Likewise.
71719         * sysdeps/i386/fpu/e_expl.c: Likewise.
71720         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71721         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71722         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71723         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71724         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71725         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71726         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71728         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71729         is sufficient, at least on modern CPUs.
71731         * ctype/ctype-info.c (__ctype_init): Define.
71732         * include/ctype.h (__ctype_init): Declare.
71733         (__ctype_b_loc): The variable is always initialized.
71734         (__ctype_toupper_loc): Likewise.
71735         (__ctype_tolower_loc): Likewise.
71736         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
71737         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
71739 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
71741         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
71743         * configure.in: Also look in $cxxmachine/include for C++ system
71744         headers.
71746 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71748         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
71749         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
71750         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
71751         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
71752         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
71753         (USE_AS_WMEMCMP): New macro.
71754         Fixing indents.
71755         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
71756         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
71757         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
71758         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
71759         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71760         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
71761         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
71762         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
71763         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
71764         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
71765         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
71766         (USE_AS_WMEMCMP): New macro.
71767         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
71768         * sysdeps/string/test-memcmp.c: Update.
71769         Fix simple_wmemcmp.
71770         Add new tests.
71771         * wcsmbs/wmemcmp.c: Update.
71772         (WMEMCMP): New macro.
71773         Fix overflow bug.
71775 2011-10-12  Andreas Jaeger  <aj@suse.de>
71777         [BZ #13268]
71778         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
71780 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71782         * libio/iofwide.c (do_length): Avoid warning.
71784         * ctype/ctype.h (__isctype_f): Add missing __THROW.
71786 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
71788         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
71790         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
71791         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
71792         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
71793         * sysdeps/i386/i686/fpu/e_log.S: New file.
71794         * sysdeps/i386/i686/fpu/e_logf.S: New file.
71795         * sysdeps/i386/i686/fpu/e_logl.S: New file.
71797         * ctype/ctype.h: Add support for inlined isXXX functions when
71798         compiling C++ code.
71800 2011-10-14  Andreas Schwab  <schwab@redhat.com>
71802         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71804         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
71806 2011-10-13  Roland McGrath  <roland@hack.frob.com>
71808         [BZ #13291]
71809         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
71811 2011-10-13  Andreas Schwab  <schwab@redhat.com>
71813         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
71814         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
71815         feraiseexcept.
71817         * sysdeps/x86_64/memrchr.S: Check for zero size.
71819         * string/stratcliff.c: Add memrchr tests.
71821 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71823         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71824         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
71825         rawmemchr-sse2 rawmemchr-sse2-bsf.
71826         * sysdeps/i386/i686/multiarch/memchr.S: New file.
71827         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
71828         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
71829         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
71830         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
71831         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
71832         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
71833         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
71834         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
71835         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
71836         * string/memrchr.c (MEMRCHR): New macro.
71838 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
71840         Add integration with gcc's -ffinite-math-only and optimize wrapper
71841         functions in libm.
71842         * Versions.def: Define GLIBC_2.15 version for libm.
71843         * math/Makefile (headers): Add bits/math-finite.h.
71844         * math/bits/math-finite.h: New file.
71845         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
71846         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
71847         * math/e_acoshl.c: Add __*_finite alias.
71848         * math/e_acosl.c: Likewise.
71849         * math/e_asinl.c: Likewise.
71850         * math/e_atan2l.c: Likewise.
71851         * math/e_atanhl.c: Likewise.
71852         * math/e_coshl.c: Likewise.
71853         * math/e_exp10.c: Likewise.
71854         * math/e_exp10f.c: Likewise.
71855         * math/e_exp10l.c: Likewise.
71856         * math/e_exp2l.c: Likewise.
71857         * math/e_fmodl.c: Likewise.
71858         * math/e_gammal_r.c: Likewise.
71859         * math/e_hypotl.c: Likewise.
71860         * math/e_j0l.c: Likewise.
71861         * math/e_j1l.c: Likewise.
71862         * math/e_jnl.c: Likewise.
71863         * math/e_lgammal_r.c: Likewise.
71864         * math/e_log10l.c: Likewise.
71865         * math/e_log2l.c: Likewise.
71866         * math/e_logl.c: Likewise.
71867         * math/e_powl.c: Likewise.
71868         * math/e_sinhl.c: Likewise.
71869         * math/e_sqrtl.c: Likewise.
71870         * math/e_scalb.c: Completely rewritten and optimized.
71871         * math/e_scalbf.c: Likewise.
71872         * math/e_scalbl.c: Likewise.
71873         * math/w_acos.c: Likewise.
71874         * math/w_acosf.c: Likewise.
71875         * math/w_acosl.c: Likewise.
71876         * math/w_acosh.c: Likewise.
71877         * math/w_acoshf.c: Likewise.
71878         * math/w_acoshl.c: Likewise.
71879         * math/w_asin.c: Likewise.
71880         * math/w_asinf.c: Likewise.
71881         * math/w_asinl.c: Likewise.
71882         * math/w_atan2.c: Likewise.
71883         * math/w_atan2f.c: Likewise.
71884         * math/w_atan2l.c: Likewise.
71885         * math/w_atanh.c: Likewise.
71886         * math/w_atanhf.c: Likewise.
71887         * math/w_atanhl.c: Likewise.
71888         * math/w_exp10.c: Likewise.
71889         * math/w_exp10f.c: Likewise.
71890         * math/w_exp10l.c: Likewise.
71891         * math/w_fmod.c: Likewise.
71892         * math/w_fmodf.c: Likewise.
71893         * math/w_fmodl.c: Likewise.
71894         * math/w_j0.c: Likewise.
71895         * math/w_j0f.c: Likewise.
71896         * math/w_j0l.c: Likewise.
71897         * math/w_j1.c: Likewise.
71898         * math/w_j1f.c: Likewise.
71899         * math/w_j1l.c: Likewise.
71900         * math/w_jn.c: Likewise.
71901         * math/w_jnf.c: Likewise.
71902         * math/w_log.c: Likewise.
71903         * math/w_logf.c: Likewise.
71904         * math/w_logl.c: Likewise.
71905         * math/w_log10.c: Likewise.
71906         * math/w_log10f.c: Likewise.
71907         * math/w_log10l.c: Likewise.
71908         * math/w_log2.c: Likewise.
71909         * math/w_log2f.c: Likewise.
71910         * math/w_log2l.c: Likewise.
71911         * math/w_pow.c: Likewise.
71912         * math/w_powf.c: Likewise.
71913         * math/w_powl.c: Likewise.
71914         * math/w_remainder.c: Likewise.
71915         * math/w_remainderf.c: Likewise.
71916         * math/w_remainderl.c: Likewise.
71917         * math/w_scalb.c: Likewise.
71918         * math/w_scalbf.c: Likewise.
71919         * math/w_scalbl.c: Likewise.
71920         * math/w_sqrt.c: Likewise.
71921         * math/w_sqrtf.c: Likewise.
71922         * math/w_sqrtl.c: Likewise.
71923         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
71924         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
71925         used.
71926         * math/math_private.h: Declare __kernel_standard_f.
71927         * math/w_cosh.c: Remove cruft and optimize a bit.
71928         * math/w_coshf.c: Likewise.
71929         * math/w_coshl.c: Likewise.
71930         * math/w_exp2.c: Likewise.
71931         * math/w_exp2f.c: Likewise.
71932         * math/w_exp2l.c: Likewise.
71933         * math/w_hypot.c: Likewise.
71934         * math/w_hypotf.c: Likewise.
71935         * math/w_hypotl.c: Likewise.
71936         * math/w_lgamma.c: Likewise.
71937         * math/w_lgamma_r.c: Likewise.
71938         * math/w_lgammaf.c: Likewise.
71939         * math/w_lgammaf_r.c: Likewise.
71940         * math/w_lgammal.c: Likewise.
71941         * math/w_lgammal_r.c: Likewise.
71942         * math/w_sinh.c: Likewise.
71943         * math/w_sinhf.c: Likewise.
71944         * math/w_sinhl.c: Likewise.
71945         * math/w_tgamma.c: Likewise.
71946         * math/w_tgammaf.c: Likewise.
71947         * math/w_tgammal.c: Likewise.
71948         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71949         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71950         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71951         Minor optimizations.  Pretty printing.  Remove cruft.
71952         * sysdeps/i386/fpu/e_acosf.S: Likewise.
71953         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71954         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71955         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71956         * sysdeps/i386/fpu/e_acosl.c: Likewise.
71957         * sysdeps/i386/fpu/e_asin.S: Likewise.
71958         * sysdeps/i386/fpu/e_asinf.S: Likewise.
71959         * sysdeps/i386/fpu/e_atan2.S: Likewise.
71960         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71961         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71962         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71963         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71964         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71965         * sysdeps/i386/fpu/e_exp10.S: Likewise.
71966         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71967         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71968         * sysdeps/i386/fpu/e_exp2.S: Likewise.
71969         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71970         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71971         * sysdeps/i386/fpu/e_fmod.S: Likewise.
71972         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71973         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71974         * sysdeps/i386/fpu/e_hypot.S: Likewise.
71975         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71976         * sysdeps/i386/fpu/e_log.S: Likewise.
71977         * sysdeps/i386/fpu/e_log10.S: Likewise.
71978         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71979         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71980         * sysdeps/i386/fpu/e_log2.S: Likewise.
71981         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71982         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71983         * sysdeps/i386/fpu/e_logf.S: Likewise.
71984         * sysdeps/i386/fpu/e_logl.S: Likewise.
71985         * sysdeps/i386/fpu/e_pow.S: Likewise.
71986         * sysdeps/i386/fpu/e_powf.S: Likewise.
71987         * sysdeps/i386/fpu/e_powl.S: Likewise.
71988         * sysdeps/i386/fpu/e_remainder.S: Likewise.
71989         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71990         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71991         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71992         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71993         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71994         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71995         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71996         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71997         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71998         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71999         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72000         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72001         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72002         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72003         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72004         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72005         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72006         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72007         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72008         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72009         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72010         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72011         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72012         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72013         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72014         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72015         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72016         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72017         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72018         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72019         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72020         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72021         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72022         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72023         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72024         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72025         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72026         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72027         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72028         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72029         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72030         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72031         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72032         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72033         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72034         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72035         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72036         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72037         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72038         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72039         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72040         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72041         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72042         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72043         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72044         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72045         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72046         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72047         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72048         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72049         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72050         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72051         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72052         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72053         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72054         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72055         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72056         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72057         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72058         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72059         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72060         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72061         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72062         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72063         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72064         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72065         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72066         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72067         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72068         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72069         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72070         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72071         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72072         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72073         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72074         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72075         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72076         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72077         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72078         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72079         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72080         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72081         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72082         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72083         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72084         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72085         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72086         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72087         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72088         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72089         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72090         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72091         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72092         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72093         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72094         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72095         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72096         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72097         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72098         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72099         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72100         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72101         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72102         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72103         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72104         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72105         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72106         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72107         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72108         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72109         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72110         (__isnanf): Likewise.
72111         (__isinf_ns): Likewise.
72112         (__isinf_nsf): Likewise.
72113         (__finite): Likewise.
72114         (__finitef): Likewise.
72115         (__ieee754_sqrt): Define as macro.
72116         (__ieee754_sqrtf): Define as macro.
72117         (__ieee754_sqrtl): Define as macro.
72118         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72119         inlined copy.
72120         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72121         __FINITE_MATH_ONLY__ consistent.
72122         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72124 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72126         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72127         of rawmemchr.
72129         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72131 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72133         * po/ja.po: Update from translation team.
72135 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72137         * locale/programs/locarchive.c (prepare_address_space): New function.
72138         (create_archive, enlarge_archive, open_archive): Use it.
72140         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72141         inside [SHARED], where it is used.
72143         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72145         * nss/getent.c (netgroup_keys): Remove unused variable.
72146         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72148 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72150         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72151         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72152         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72153         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72154         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72155         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72156         * math/Makefile (libm-calls): Add s_isinf_ns.
72157         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72158         * math/multc3.c: Likewise.
72159         * math/s_casin.c: Likewise.
72160         * math/s_casinf.c: Likewise.
72161         * math/s_casinl.c: Likewise.
72162         * math/s_ccos.c: Likewise.
72163         * math/s_ccosf.c: Likewise.
72164         * math/s_ccosl.c: Likewise.
72165         * math/s_ctan.c: Likewise.
72166         * math/s_ctanf.c: Likewise.
72167         * math/s_ctanh.c: Likewise.
72168         * math/s_ctanhf.c: Likewise.
72169         * math/s_ctanhl.c: Likewise.
72170         * math/s_ctanl.c: Likewise.
72171         * math/w_fmod.c: Likewise.
72172         * math/w_fmodf.c: Likewise.
72173         * math/w_fmodl.c: Likewise.
72174         * math/w_remainder.c: Likewise.
72175         * math/w_remainderf.c: Likewise.
72176         * math/w_remainderl.c: Likewise.
72177         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72178         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72179         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72180         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72181         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72182         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72183         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72184         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72186         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72187         of the number.
72188         * stdio-common/printf_fphex.c: Likewise.
72189         * stdio-common/printf_size.c: Likewise.
72191         * math/e_exp10.c: Include math_private.h using <...> not "...".
72192         * math/e_exp10f.c: Likewise.
72193         * math/e_exp10l.c: Likewise.
72194         * math/e_exp2l.c: Likewise.
72195         * math/e_j0l.c: Likewise.
72196         * math/e_j1l.c: Likewise.
72197         * math/e_jnl.c: Likewise.
72198         * math/e_lgammal_r.c: Likewise.
72199         * math/e_rem_pio2l.c: Likewise.
72200         * math/e_scalb.c: Likewise.
72201         * math/e_scalbf.c: Likewise.
72202         * math/e_scalbl.c: Likewise.
72203         * math/k_cosl.c: Likewise.
72204         * math/k_sinl.c: Likewise.
72205         * math/k_tanl.c: Likewise.
72206         * math/s_cacoshf.c: Likewise.
72207         * math/s_catan.c: Likewise.
72208         * math/s_catanf.c: Likewise.
72209         * math/s_catanh.c: Likewise.
72210         * math/s_catanhf.c: Likewise.
72211         * math/s_catanhl.c: Likewise.
72212         * math/s_catanl.c: Likewise.
72213         * math/s_ccosh.c: Likewise.
72214         * math/s_ccoshf.c: Likewise.
72215         * math/s_ccoshl.c: Likewise.
72216         * math/s_cexp.c: Likewise.
72217         * math/s_cexpf.c: Likewise.
72218         * math/s_cexpl.c: Likewise.
72219         * math/s_clog.c: Likewise.
72220         * math/s_clog10.c: Likewise.
72221         * math/s_clog10f.c: Likewise.
72222         * math/s_clog10l.c: Likewise.
72223         * math/s_clogf.c: Likewise.
72224         * math/s_clogl.c: Likewise.
72225         * math/s_csin.c: Likewise.
72226         * math/s_csinf.c: Likewise.
72227         * math/s_csinh.c: Likewise.
72228         * math/s_csinhf.c: Likewise.
72229         * math/s_csinhl.c: Likewise.
72230         * math/s_csinl.c: Likewise.
72231         * math/s_csqrt.c: Likewise.
72232         * math/s_csqrtf.c: Likewise.
72233         * math/s_csqrtl.c: Likewise.
72234         * math/s_ctan.c: Likewise.
72235         * math/s_ctanf.c: Likewise.
72236         * math/s_ctanh.c: Likewise.
72237         * math/s_ctanhf.c: Likewise.
72238         * math/s_ctanhl.c: Likewise.
72239         * math/s_ctanl.c: Likewise.
72240         * math/s_ldexp.c: Likewise.
72241         * math/s_ldexpf.c: Likewise.
72242         * math/s_ldexpl.c: Likewise.
72243         * math/s_significand.c: Likewise.
72244         * math/s_significandf.c: Likewise.
72245         * math/s_significandl.c: Likewise.
72246         * math/w_acos.c: Likewise.
72247         * math/w_acosf.c: Likewise.
72248         * math/w_acosh.c: Likewise.
72249         * math/w_acoshf.c: Likewise.
72250         * math/w_acoshl.c: Likewise.
72251         * math/w_acosl.c: Likewise.
72252         * math/w_asin.c: Likewise.
72253         * math/w_asinf.c: Likewise.
72254         * math/w_asinl.c: Likewise.
72255         * math/w_atan2.c: Likewise.
72256         * math/w_atan2f.c: Likewise.
72257         * math/w_atan2l.c: Likewise.
72258         * math/w_atanh.c: Likewise.
72259         * math/w_atanhf.c: Likewise.
72260         * math/w_atanhl.c: Likewise.
72261         * math/w_cosh.c: Likewise.
72262         * math/w_coshf.c: Likewise.
72263         * math/w_coshl.c: Likewise.
72264         * math/w_dremf.c: Likewise.
72265         * math/w_exp10.c: Likewise.
72266         * math/w_exp10f.c: Likewise.
72267         * math/w_exp10l.c: Likewise.
72268         * math/w_exp2.c: Likewise.
72269         * math/w_exp2f.c: Likewise.
72270         * math/w_fmod.c: Likewise.
72271         * math/w_fmodf.c: Likewise.
72272         * math/w_fmodl.c: Likewise.
72273         * math/w_hypot.c: Likewise.
72274         * math/w_hypotf.c: Likewise.
72275         * math/w_hypotl.c: Likewise.
72276         * math/w_j0.c: Likewise.
72277         * math/w_j0f.c: Likewise.
72278         * math/w_j0l.c: Likewise.
72279         * math/w_j1.c: Likewise.
72280         * math/w_j1f.c: Likewise.
72281         * math/w_j1l.c: Likewise.
72282         * math/w_jn.c: Likewise.
72283         * math/w_jnf.c: Likewise.
72284         * math/w_jnl.c: Likewise.
72285         * math/w_lgamma.c: Likewise.
72286         * math/w_lgamma_r.c: Likewise.
72287         * math/w_lgammaf.c: Likewise.
72288         * math/w_lgammaf_r.c: Likewise.
72289         * math/w_lgammal.c: Likewise.
72290         * math/w_lgammal_r.c: Likewise.
72291         * math/w_log.c: Likewise.
72292         * math/w_log10.c: Likewise.
72293         * math/w_log10f.c: Likewise.
72294         * math/w_log10l.c: Likewise.
72295         * math/w_log2.c: Likewise.
72296         * math/w_log2f.c: Likewise.
72297         * math/w_log2l.c: Likewise.
72298         * math/w_logf.c: Likewise.
72299         * math/w_logl.c: Likewise.
72300         * math/w_pow.c: Likewise.
72301         * math/w_powf.c: Likewise.
72302         * math/w_powl.c: Likewise.
72303         * math/w_remainder.c: Likewise.
72304         * math/w_remainderf.c: Likewise.
72305         * math/w_remainderl.c: Likewise.
72306         * math/w_scalb.c: Likewise.
72307         * math/w_scalbf.c: Likewise.
72308         * math/w_scalbl.c: Likewise.
72309         * math/w_sinh.c: Likewise.
72310         * math/w_sinhf.c: Likewise.
72311         * math/w_sinhl.c: Likewise.
72312         * math/w_sqrt.c: Likewise.
72313         * math/w_sqrtf.c: Likewise.
72314         * math/w_sqrtl.c: Likewise.
72315         * math/w_tgamma.c: Likewise.
72316         * math/w_tgammaf.c: Likewise.
72317         * math/w_tgammal.c: Likewise.
72319         * po/ja.po: Update from translation team.
72321 2011-09-29  Andreas Jaeger  <aj@suse.de>
72323         [BZ #13179]
72324         * sunrpc/netname.c (netname2host): Fix logic.
72326         [BZ #6779]
72327         [BZ #6783]
72328         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72329         correctly.
72330         * math/w_remainder.c (__remainder): Likewise.
72331         * math/w_remainderf.c (__remainderf): Likewise.
72332         * math/libm-test.inc (remainder_test): Add test cases.
72334 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72336         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
72337         sdiv_qrnnd.
72339 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72341         * string/test-memcmp.c: Avoid unncessary #defines.
72342         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72344 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72346         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72347         Use new sse2 version for core i3 - i7 as it's faster
72348         than sse42 version.
72349         (bit_Prefer_PMINUB_for_stringop): New.
72350         * sysdeps/x86_64/rawmemchr.S: Update.
72351         Replace with faster SSE2 version.
72352         * sysdeps/x86_64/memrchr.S: New file.
72353         * sysdeps/x86_64/memchr.S: Update.
72354         Replace with faster SSE2 version.
72356 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
72358         * elf/dl-load.c (lose): Add cast to avoid warning.
72360 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72362         * po/ca.po: Update from translation team.
72364         * inet/getnetgrent_r.c: Hook up nscd.
72365         * nscd/Makefile (routines): Add nscd_netgroup.
72366         (nscd-modules): Add netgroupcache.
72367         (CFLAGS-netgroupcache.c): Define.
72368         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72369         (cache_search): Add const to second parameter.
72370         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72371         INNETGR.
72372         (dbs): Add netgrdb entry.
72373         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72374         (verify_persistent_db): Handle netgrdb.
72375         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72376         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72377         GETFDNETGR.
72378         (netgroup_response_header): Define.
72379         (innetgroup_response_header): Define.
72380         (datahead): Add netgroup_response_header and innetgroup_response_header
72381         elements.
72382         * nscd/nscd.conf: Add entries for netgroup cache.
72383         * nscd/nscd.h (dbtype): Add netgrdb.
72384         (_PATH_NSCD_NETGROUP_DB): Define.
72385         (netgroup_iov_disabled): Declare.
72386         (xmalloc, xcalloc, xrealloc): Move declarations here.
72387         (cache_search): Adjust prototype.
72388         Add netgroup-related prototypes.
72389         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72390         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72391         (__nscd_innetgr): Declare.
72392         * nscd/selinux.c (perms): Use access_vector_t as element type and
72393         add netgroup-related initializers.
72394         * nscd/netgroupcache.c: New file.
72395         * nscd/nscd_netgroup.c: New file.
72396         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72397         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72398         For four parameters use innetgr.
72399         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72400         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72401         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72402         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72404         * nscd/connections.c (register_traced_file): Don't register file
72405         for disabled databases.
72407 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72409         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72411         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72412         from tree and freeing node.
72414 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72416         * nss/nsswitch.c (__nss_database_lookup): Handle
72417         nss_parse_service_list out of memory case.
72419 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72421         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72422         out of memory case.
72424 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72426         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72427         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72428         pass it down.
72429         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72430         elf_machine_rela, elf_machine_lazy_rel.
72431         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72432         (ELF_DYNAMIC_DO_REL): Likewise.
72433         (ELF_DYNAMIC_DO_RELA): Likewise.
72434         (ELF_DYNAMIC_RELOCATE): Likewise.
72435         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72436         to ELF_DYNAMIC_DO_REL.
72437         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72438         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72439         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72440         elf_machine_rela.
72441         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72442         skip_ifunc, don't call ifunc function if non-zero.
72443         (elf_machine_rela): Likewise.
72444         (elf_machine_lazy_rel): Likewise.
72445         (elf_machine_lazy_rela): Likewise.
72446         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72447         (elf_machine_lazy_rel): Likewise.
72448         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72449         Likewise.
72450         (elf_machine_lazy_rel): Likewise.
72451         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72452         Likewise.
72453         (elf_machine_lazy_rel): Likewise.
72454         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72455         (elf_machine_lazy_rel): Likewise.
72456         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72457         (elf_machine_lazy_rel): Likewise.
72458         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72459         (elf_machine_lazy_rel): Likewise.
72460         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72461         (elf_machine_lazy_rel): Likewise.
72462         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72463         (elf_machine_lazy_rel): Likewise.
72464         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72465         (elf_machine_lazy_rel): Likewise.
72467 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72469         * nss/nss_files/files-init.c (_nss_files_init): Use static
72470         initialization for all the *_traced_file variables.
72472 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72474         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72476 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72478         [BZ #13226]
72479         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72481 2011-09-27  Andreas Schwab  <schwab@redhat.com>
72483         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72484         Reread the line before reparsing it.
72486 2011-09-26  Andreas Schwab  <schwab@redhat.com>
72488         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72490 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
72491             Maxim Kuvyrkov  <maxim@codesourcery.com>
72492             Joseph Myers  <joseph@codesourcery.com>
72494         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72495         if needed for __stack_chk_guard.
72497 2011-09-19  Roland McGrath  <roland@hack.frob.com>
72499         * sysdeps/posix/spawni.c (script_execute): Always define it.
72500         It will be optimized away if unused.
72501         (maybe_script_execute): New function.
72502         (__spawni): Call it.
72504         * Makerules: Don't include tls.make.
72505         (config-tls): Always set to thread.
72506         * tls.make.c: File removed.
72508 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
72510         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72511         * config.make.in (CPPFLAGS-config): New substituted variable.
72513 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72515         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72517         [BZ #13192]
72518         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72519         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72521 2011-09-15  Roland McGrath  <roland@hack.frob.com>
72523         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72524         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72525         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72526         (CALL_FAIL): Likewise.
72527         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72528         (CALL_FAIL): Macro removed.
72529         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72531 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72533         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72534         for __FINITE_MATH_ONLY__ == 1.
72536 2011-09-15  Andreas Schwab  <schwab@redhat.com>
72538         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72539         __ieee754_sqrt instead of sqrt.
72540         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72541         __ieee754_sqrtf instead of sqrtf.
72542         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72543         __floorf instead of floorf.
72544         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72545         __floorf, __truncf instead of floorf, truncf.
72547 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
72549         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72551         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72552         __extern_always_inline.
72553         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72554         32-bit.
72556 2011-09-14  Andreas Schwab  <schwab@redhat.com>
72558         * elf/rtld.c (dl_main): Also relocate in dependency order when
72559         doing symbol dependency testing.
72561 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
72563         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72564         Always define `refsym'.
72566 2011-09-13  Andreas Schwab  <schwab@redhat.com>
72568         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72569         (__FD_ELT): Renamed from __FDELT.
72570         * misc/bits/select2.h (__FD_ELT): Likewise.
72571         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72572         __FD_MASK instead of __FDELT, __FDMASK.
72573         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72574         Likewise.
72575         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72576         Likewise.
72578         * elf/Makefile (gen-ldd): Fix pattern.
72580         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72581         (init_tls): Likewise.
72583 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
72585         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72587 2011-09-12  Andreas Schwab  <schwab@redhat.com>
72589         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72590         `struct cmsghdr *' instead of `void *'.
72591         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72592         Likewise.
72594 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
72596         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72597         if non-absolute.
72598         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72599         ldd_rewrite_script.
72601 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
72603         * configure.in: Remove --with-tls option.
72604         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72605         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72606         out in case it is missing.
72607         * sysdeps/ia64/elf/configure.in: Likewise.
72608         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72609         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72610         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72611         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72612         * sysdeps/sh/elf/configure.in: Likewise.
72613         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72614         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72615         * sysdeps/x86_64/elf/configure.in: Likewise.
72616         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72617         * sysdeps/mach/hurd/tls.h: Likewise.
72619         [BZ #13067]
72620         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72622         [BZ #13090]
72623         * configure.in: Fix use of AC_INIT.
72625         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72627 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72629         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72630         __set_errno.
72631         * malloc/hooks.c: Likewise.
72633         [BZ #11929]
72634         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72635         variables statically.
72636         (narenas): Initialize.
72637         (list_lock): Initialize.
72638         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72639         initializtion of main_arena and list_lock.  Small cleanups.
72640         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72641         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72642         Add initializers to main_arena and mp_.
72643         (malloc_state): Remove pagesize member.  Change all users to use
72644         GLRO(dl_pagesize).
72646         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72647         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72648         is always initialized.
72650         * malloc/malloc.c: Removed unused configurations and dead code.
72651         * malloc/arena.c: Likewise.
72652         * malloc/hooks.c: Likewise.
72653         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72655         * include/tls.h: Removed.  USE___THREAD must always be defined.
72656         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72657         * elf/dl-libc.c: Likewise.
72658         * elf/dl-tsd.c: Likewise.
72659         * include/errno.h: Likewise.
72660         * include/netdb.h: Likewise.
72661         * include/resolv.h: Likewise.
72662         * inet/herrno-loc.c: Likewise.
72663         * inet/herrno.c: Likewise.
72664         * malloc/arena.c: Likewise.
72665         * malloc/hooks.c: Likewise.
72666         * malloc/malloc.c: Likewise.
72667         * resolv/res-state.c: Likewise.
72668         * resolv/res_libc.c: Likewise.
72669         * sysdeps/i386/dl-machine.h: Likewise.
72670         * sysdeps/ia64/dl-machine.h: Likewise.
72671         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72672         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72673         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72674         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72675         * sysdeps/sh/dl-machine.h: Likewise.
72676         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72677         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72678         * sysdeps/unix/i386/sysdep.S: Likewise.
72679         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72680         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72681         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72682         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72683         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72684         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72685         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72686         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72687         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72688         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72689         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72690         * sysdeps/x86_64/dl-machine.h: Likewise.
72691         * tls.make.c: Likewise.
72693         * configure.in: Remove --with-__thread option.  Make tests for
72694         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72695         tls_model attribute fail if no support is available.  Remove
72696         USE_IN_LIBIO.
72697         * Makeconfig: Adjust for dropped configure option.  All features are
72698         now mandatory.
72699         * Makerules: Likewise.
72700         * Versions.def: Likewise.
72701         * argp/argp-fmtstream.c: Likewise.
72702         * argp/argp-fmtstream.h: Likewise.
72703         * argp/argp-help.c: Likewise.
72704         * assert/assert.c: Likewise.
72705         * config.h.in: Likewise.
72706         * config.make.in: Likewise.
72707         * configure: Likewise.
72708         * configure.in: Likewise.
72709         * csu/Versions: Likewise.
72710         * csu/init.c: Likewise.
72711         * elf/tst-audit2.c: Likewise.
72712         * elf/tst-tls10.c: Likewise.
72713         * elf/tst-tls10.h: Likewise.
72714         * elf/tst-tls11.c: Likewise.
72715         * elf/tst-tls12.c: Likewise.
72716         * elf/tst-tls14.c: Likewise.
72717         * elf/tst-tlsmod11.c: Likewise.
72718         * elf/tst-tlsmod12.c: Likewise.
72719         * elf/tst-tlsmod13.c: Likewise.
72720         * elf/tst-tlsmod13a.c: Likewise.
72721         * elf/tst-tlsmod14a.c: Likewise.
72722         * elf/tst-tlsmod15b.c: Likewise.
72723         * elf/tst-tlsmod16a.c: Likewise.
72724         * elf/tst-tlsmod16b.c: Likewise.
72725         * elf/tst-tlsmod7.c: Likewise.
72726         * elf/tst-tlsmod8.c: Likewise.
72727         * elf/tst-tlsmod9.c: Likewise.
72728         * gmon/gmon.c: Likewise.
72729         * grp/fgetgrent_r.c: Likewise.
72730         * grp/putgrent.c: Likewise.
72731         * hurd/fopenport.c: Likewise.
72732         * include/libc-symbols.h: Likewise.
72733         * include/tls.h: Likewise.
72734         * intl/gettextP.h: Likewise.
72735         * intl/loadinfo.h: Likewise.
72736         * locale/global-locale.c: Likewise.
72737         * locale/localeinfo.h: Likewise.
72738         * mach/devstream.c: Likewise.
72739         * malloc/arena.c: Likewise.
72740         * malloc/set-freeres.c: Likewise.
72741         * misc/err.c: Likewise.
72742         * misc/getttyent.c: Likewise.
72743         * misc/mntent_r.c: Likewise.
72744         * posix/getopt.c: Likewise.
72745         * posix/wordexp.c: Likewise.
72746         * pwd/fgetpwent_r.c: Likewise.
72747         * resolv/Versions: Likewise.
72748         * resolv/res_hconf.c: Likewise.
72749         * shadow/fgetspent_r.c: Likewise.
72750         * shadow/putspent.c: Likewise.
72751         * stdio-common/printf_fphex.c: Likewise.
72752         * stdio-common/tmpfile.c: Likewise.
72753         * stdlib/abort.c: Likewise.
72754         * stdlib/fmtmsg.c: Likewise.
72755         * sunrpc/auth_unix.c: Likewise.
72756         * sunrpc/clnt_perr.c: Likewise.
72757         * sunrpc/clnt_tcp.c: Likewise.
72758         * sunrpc/clnt_udp.c: Likewise.
72759         * sunrpc/clnt_unix.c: Likewise.
72760         * sunrpc/openchild.c: Likewise.
72761         * sunrpc/svc_simple.c: Likewise.
72762         * sunrpc/svc_tcp.c: Likewise.
72763         * sunrpc/svc_udp.c: Likewise.
72764         * sunrpc/svc_unix.c: Likewise.
72765         * sunrpc/xdr.c: Likewise.
72766         * sunrpc/xdr_array.c: Likewise.
72767         * sunrpc/xdr_rec.c: Likewise.
72768         * sunrpc/xdr_ref.c: Likewise.
72769         * sunrpc/xdr_stdio.c: Likewise.
72771 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72773         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72775 2011-07-03  Andreas Jaeger  <aj@suse.de>
72777         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
72778         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
72779         regenerate with gen-libm-tests.pl.
72781 2010-05-12  Petr Baudis  <pasky@suse.cz>
72783         [BZ #11589]
72784         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
72785         around j0() zero points by switching to j1().
72786         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72787         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72788         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72789         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72791 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72793         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
72794         instead of 0.
72795         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
72796         instead of 0.
72797         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72798         Patch in part by Pavel Roskin <proski@gnu.org>.
72800         [BZ #13138]
72801         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
72802         realloc.
72803         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
72804         Free memory block if necessary.
72806         [BZ #12847]
72807         * libio/genops.c (INTDEF): For string streams the _lock pointer can
72808         be NULL.  Don't lock in this case.
72810 2011-09-09  Roland McGrath  <roland@hack.frob.com>
72812         * elf/elf.h (ELFOSABI_GNU): New macro.
72813         (ELFOSABI_LINUX): Define to that.
72815 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
72817         * string/strncat.c (strncat): Undef the symbol in case it has been
72818         defined in bits/string.h.
72820 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72822         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
72824         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
72825         link map.
72827 2011-08-17  Andreas Jaeger  <aj@suse.de>
72829         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
72831 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
72832             Ian Lance Taylor  <iant@google.com>
72834         * math/libm-test.inc (lround_test): New testcase.
72835         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
72837 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
72839         * Makefile: Remove support for automatic cvs check-ins.
72840         * Makerules: Likewise.
72841         * config.make.in: Likewise.
72842         * configure.in: Likewise.
72843         * intl/Makefile: Likewise.
72844         * locale/Makefile: Likewise.
72845         * po/Makefile: Likewise.
72846         * posix/Makefile: Likewise.
72847         * sysdeps/gnu/Makefile: Likewise.
72848         * sysdeps/mach/hurd/Makefile: Likewise.
72849         * sysdeps/sparc/sparc32/Makefile: Likewise.
72851         [BZ #13118]
72852         * posix/Makefile (bug-regex32-ENV): Define.
72853         Patch by John Stanley <jpsinthemix@verizon.net>.
72855         * misc/Makefile (headers): Add bits/select2.h.
72856         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
72857         * misc/bits/select2.h: New file.
72858         * include/bits/select2.h: New file.
72859         * debug/Makefile (routines): Add fdelt_chk.
72860         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
72861         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
72862         FD_ISSET.
72863         * debug/fdelt_chk.c: New file.
72865         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
72866         * wcsmbs/test-wmemcmp.c: Likewise.
72867         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
72868         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
72870 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72872         * string/Makefile (strop-tests): Add memcmp.
72873         * string/test-wmemcmp.c: New file.
72874         * string/test-memcmp.c: Add wmemcmp support.
72876 2011-09-08  Roland McGrath  <roland@hack.frob.com>
72878         [BZ #13153]
72879         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
72880         2011-07-19 change.
72882         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
72883         garbage value in a __mach_port_mod_refs call in the cases of the
72884         task-self and thread-self ports.
72886 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72888         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
72890 2011-09-08  Andreas Schwab  <schwab@redhat.com>
72892         * elf/dl-load.c (lose): Check for non-null L.
72894 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72896         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
72898         * elf/dl-libc.c (dlerror_run): Pass back error code from
72899         dl_catch_error.
72901         [BZ #13123]
72902         * elf/dl-load.c (lose): Free l_origin if it is valid.
72904         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
72905         names.
72906         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
72907         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72908         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72909         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72910         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
72911         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
72913 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72915         * sysdeps/powerpc/fpu/e_hypot.c: New file.
72916         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
72917         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
72918         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
72919         * sysdeps/powerpc/fpu/k_cosf.c: New file.
72920         * sysdeps/powerpc/fpu/k_sinf.c: New file.
72921         * sysdeps/powerpc/fpu/s_cosf.c: New file.
72922         * sysdeps/powerpc/fpu/s_sinf.c: New file.
72923         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
72924         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
72926 2011-08-15  Alan Modra  <amodra@gmail.com>
72928         [BZ #13092]
72929         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
72930         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
72931         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
72932         ppc_mcount to static-only-routines.
72933         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
72934         __mcount_internal.
72935         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
72936         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
72938 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
72940         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
72941         for finite and infinity parameters.
72943 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72945         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72946         and add nop instructions for throughput optimization.
72947         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72949 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
72951         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72952         aligned copy for power7 with vector-scalar instructions.
72953         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72955 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
72957         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72958         AVX check.
72960 2011-09-07  Andreas Schwab  <schwab@redhat.com>
72962         [BZ #13144]
72963         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72964         last change.
72966 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72968         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72969         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72970         syscall wrapper around clock_gettime in __vdso_clock_gettime.
72971         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72972         clock_gettime.
72974 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72976         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72977         Forgot to demangle the pointer.
72979         * sysdeps/i386/sysdep.h: Define atom_text_section.
72980         * sysdeps/x86_64/sysdep.h: Likewise.
72981         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72982         section with atom_text_section.
72983         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72984         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72985         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72986         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72987         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72989         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72990         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72991         already be defined.  Change to take two parameters and don't assign
72992         result to variable.  Adjust all users.
72993         Define INTERNAL_GETTIME if not already defined.
72994         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72995         call.
72996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72997         HAVE_CLOCK_GETTIME_VSYSCALL.
72998         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73000         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73001         gettimeofday vsyscall, just use time.
73003 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73005         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73006         <errno.h>.
73008 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73010         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73011         syscall on x86-64.
73012         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73013         syscall.
73014         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73015         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73016         syscall if possible.
73018 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73020         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73021         e_ident.  Don't pass to find_mapsXX.
73022         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73024 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73026         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73027         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73028         * sysdeps/x86_64/multiarch/strchr.S: Update.
73029         Check bit_slow_BSF bit.
73030         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73031         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73032         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73034 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73036         [BZ #13134]
73037         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73038         before glibc 2.15.
73039         (tryshell): Define.
73040         (__spawni): Change last parameter to be flag.  Test
73041         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73042         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73043         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73044         * posix/spawni.c: Likewise.
73045         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73046         * posix/spawnp.c: Likewise.  Change normal version to use
73047         SPAWN_XFLAGS_USE_PATH.
73048         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73049         SPAWN_XFLAGS_TRY_SHELL.
73051         [BZ #13150]
73052         * posix/glob.h: Remove gcc 1.x support.
73054         [BZ #13068]
73055         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73057 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73059         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73060         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73061         strrchr-sse2-bsf
73062         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73063         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73064         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73065         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73066         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73067         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73069 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73071         * sysdeps/x86_64/wcscmp.S: New file.
73073         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73074         wcscmp-c wcscmp-sse2
73075         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73076         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73077         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73078         * wcsmbs/wcscmp.c: Allow renaming.
73080 2011-09-05  David S. Miller  <davem@davemloft.net>
73082         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73083         stack slot, rather than the struct return pointer slot.
73084         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73085         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73087         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73089 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73091         * po/ja.po: Update from translation team.
73093         [BZ #13144]
73094         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73095         kernel in 64-bit binaries.
73097 2011-09-01  David S. Miller  <davem@davemloft.net>
73099         * elf/elf.h (HWCAP_SPARC_*): Move to..
73100         * sysdeps/sparc/sysdep.h: this new file and add new values.
73101         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73102         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73103         _DL_HWCAP_COUNT to 24.
73104         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73105         entries.
73106         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73107         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73108         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73109         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73110         instead of magic constants.
73111         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73113 2011-08-31  David S. Miller  <davem@davemloft.net>
73115         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73116         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73117         Reimplement to do errno handling inline.
73118         (SYSCALL_ERROR_HANDLER): New macro.
73119         (__SYSCALL_STRING): Do not do errno handling in asm.
73120         (__CLONE_SYSCALL_STRING): Delete.
73121         (__INTERNAL_SYSCALL_STRING): Delete.
73122         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73123         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73124         (PSEUDO): Reimplement to do errno handling inline.
73125         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73126         (SYSCALL_ERROR_HANDLER): New macro.
73127         (__SYSCALL_STRING): Do not do errno handling in asm.
73128         (__CLONE_SYSCALL_STRING): Delete.
73129         (__INTERNAL_SYSCALL_STRING): Delete.
73130         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73131         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73132         i386.
73133         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73134         (inline_syscall*): Add 'err' argument.
73135         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73136         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73137         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73138         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73140         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73141         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73143 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73145         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73147 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73149         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73150         directive.
73152 2011-08-24  David S. Miller  <davem@davemloft.net>
73154         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73156 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73158         * elf/Makefile: Add rules to build and run unload8 test.
73159         * elf/unload8.c: New file.
73160         * elf/unload8mod1.c: New file.
73161         * elf/unload8mod1x.c: New file.
73162         * elf/unload8mod2.c: New file.
73163         * elf/unload8mod3.c: New file.
73165         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73166         it wasn't used.
73168 2011-08-23  David S. Miller  <davem@davemloft.net>
73170         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73171         subtract stack bias.
73172         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73173         %sp not %fp in calculations.
73174         (_JMPBUF_UNWINDS_ADJ): Likewise.
73176         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73177         (aio_suspend): Call it to force an exception region around the
73178         AIO_MISC_WAIT() invocation.
73180 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73182         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73183         backslash.
73185 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73187         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73188         protection macro.
73189         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73190         and <dl-machine.h>.
73191         (Elf64_FuncDesc): Remove.
73193 2011-08-22  David S. Miller  <davem@davemloft.net>
73195         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73196         sigaltstack check, add missing cfi directives.
73197         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73198         missing cfi directives, and sigaltstack handling.
73200 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73202         [BZ #11724]
73203         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73204         object is seen twice.
73205         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73207         * elf/Makefile (distribute): Add tst-initorder2.c.
73208         (tests): Add tst-initorder2.
73209         (modules-names): Add tst-initorder2a tst-initorder2b
73210         tst-initorder2c tst-initorder2d.  Add rules to build them.
73211         ($(objpfx)tst-initorder2.out): New rule.
73212         * elf/tst-initorder2.c: New file.
73213         * elf/tst-initorder2.exp: New file.
73215 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73217         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73219         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73220         dependencies back to end of function.
73222         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73223         $(elfobjdir)/ld.so.
73225 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73227         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73228         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73229         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73230         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73231         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73232         of __vdso_gettimeofday.
73233         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73234         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73235         attribute_hidden.
73236         (_libc_vdso_platform_setup): Remove initialization of
73237         __vdso_gettimeofday and __vdso_time.
73239 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73241         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73242         and fgetc_unlocked.
73243         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73244         getc_unlocked.
73246         * elf/dl-open.c (add_to_global): Report additions to the global scope
73247         for LD_DEBUG=scopes.
73248         (dl_open_worker): Also print scope of newly loaded dependencies.
73249         (_dl_show_scope): Indicate if there is no scope.
73251         [BZ #13114]
73252         * stdio-common/Makefile (tests): Add bug24.
73253         * stdio-common/bug24.c: New file.
73255 2011-08-19  Andreas Jaeger  <aj@suse.de>
73257         [BZ #13114]
73258         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73259         non-existant file when using close-on-exec mode.
73261 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73263         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73264         the very first instruction.
73266         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73267         the CFI state in the end.
73268         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73269         inclusion of dl-trampoline.h.
73270         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73272 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73274         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73275         expectations for long double.
73277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73278         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73280 2011-08-14  David S. Miller  <davem@davemloft.net>
73282         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73283         artificual limit depends upon the system page size.
73285 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73287         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73288         * resolv/Makefile: Define CFLAGS-libresolv.
73290 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73292         * nss/makedb.c (compute_tables): Make variables used in nested
73293         function static.
73295 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73297         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73298         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73299         if buffer was too small.
73301         * elf/pldd.c (main): Attach to all threads in the process.
73302         Rewrite /proc handling to use *at functions.
73304 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73306         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73307         specifies first scope to show.
73308         (dl_open_worker): Update callers.  Move printing scope of new
73309         object to before the relocation.
73310         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73311         * sysdeps/generic/ldsodefs.h: Update declaration.
73313         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73314         string for the scope number.
73316 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
73318         * nscd/servicescache.c (cache_addserv): Make sure written is always
73319         initialized.
73321 2011-08-14  Roland McGrath  <roland@hack.frob.com>
73323         * sysdeps/i386/i486/bits/atomic.h
73324         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73325         statement expression, so as to suppress "set but not used" warning.
73326         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73328         * string/strncat.c (STRNCAT): Use prototype definition.
73330         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73331         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73332         -Iprograms here.
73333         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73334         (localedef-modules): Add localedef.
73335         (locale-modules): Add locale.
73337         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73338         * elf/rtld.c (dl_main): Invert order of assignment in last change,
73339         to avoid a warning.
73341 2011-08-14  David S. Miller  <davem@davemloft.net>
73343         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73344         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73346 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
73348         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73349         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73350         * elf/rtld.c (dl_main): Set l_name of vDSO.
73351         Call _dl_show_scope when DL_DEBUG_SCOPES.
73352         (process_dl_debug): Recognize scopes flag and also set it for all.
73353         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73354         Declare _dl_show_scope.
73356         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73357         (do_dlopen): Pass caller_dlopen to dl_open.
73358         (__libc_dlopen_mode): Initialize caller_dlopen.
73360         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73361         of libc.  Make tolower call locale-independent.  Optimize a bit by
73362         using isdigit instead of isalnum.
73363         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73365 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
73367         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73368         was a dependency or dynamically loaded.
73370 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
73372         * intl/l10nflist.c: Allow architecture-specific pop function.
73373         * sysdeps/x86_64/l10nflist.c: New file.
73375         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73376         classification.
73378 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73380         * include/dirent.h: Add libc_hidden_proto for scandirat and
73381         scandirat64.  Don't declare __scandirat64.
73382         * dirent/scandirat.c: Add libc_hidden_def.
73383         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73384         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73386 2011-08-10  David S. Miller  <davem@davemloft.net>
73388         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73389         enum.
73390         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73391         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73392         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73394 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73396         * Versions.def [libc]: Add GLIBC_2.15.
73397         * dirent/Makefile (routines): Add scandirat and scandirat64.
73398         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73399         GLIBC_2.15.
73400         * dirent/dirent.h: Declare scandirat and scandirat64.
73401         * dirent/scandirat.c: New file.
73402         * dirent/scandirat64.c: New file.
73403         * sysdeps/wordsize-64/scandirat.c: New file.
73404         * sysdeps/wordsize-64/scandirat64.c: New file.
73405         * dirent/opendir.c: Define opendirat.
73406         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73407         using scandirat.
73408         * dirent/scandir64.c: Adjust for scandir.c change.
73409         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73410         __scandirat64, and __scandir_cancel_handler.
73411         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73412         additional parameter and use openat instead of open (outside of ld.so).
73413         Add new __opendir as wrapper around __opendirat.
73414         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73415         here without requiring old scandirat implementation.
73417 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73419         * dirent/scandir.c (cancel_handler): Renamed to
73420         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73421         defined.  Adjust users.
73422         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73423         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73425 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73427         * string/test-string.h (IMPL): Use __STRING to expand name and then
73428         stringify it.
73430         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73431         of cleanups.
73433 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73435         * string/Makefile: Update.
73436         (strop-tests): Append strncat.
73437         * string/test-wcscmp.c: New file.
73438         New comprehensive test for wcscmp.
73439         * string/test-strcmp.c: Update.
73440         (WIDE): New define.
73442 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73444         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73445         line.
73447 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73450         encoding to ACE if AI_IDN.
73452 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73454         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73455         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73457 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73459         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73460         Fix overflow bug in strncat.
73461         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73463         * string/test-strncat.c: Update.
73464         Add new tests for checking overflow bugs.
73466 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73468         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73469         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73470         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73471         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73472         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73473         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73474         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73475         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73476         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73478         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73479         (USE_AS_STRCAT): Define.
73480         Add strcat and strncat support.
73481         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73483 2011-07-25  Andreas Schwab  <schwab@redhat.com>
73485         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73486         __n bigger than INT_MAX+1.
73487         (__strncmp_g): Likewise.
73489 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
73491         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73492         * libio/stido.h: Likewise.
73494         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73495         (AF_NFC): Define.
73496         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73497         (AF_NFC): Define.
73499         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73500         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73501         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73502         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73503         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73505         [BZ #13021]
73506         * scripts/test-installation.pl: Don't expect libnss_test1 to be
73507         installed.
73509         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73510         typo.
73511         (_dl_x86_64_save_sse): Likewise.
73513 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
73515         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73516         OSXSAVE.
73517         (_dl_x86_64_save_sse): Likewise.
73519         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73521         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73523 2011-07-21  Andreas Schwab  <schwab@redhat.com>
73525         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73526         change.
73527         (_dl_x86_64_save_sse): Use correct AVX check.
73529 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73531         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73532         bug in strncpy/strncat.
73533         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73535 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
73537         * string/tester.c (test_strcat): Add tests for different alignments
73538         of source and destination.
73539         (test_strncat): Likewise.
73541 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73543         [BZ #12852]
73544         * posix/glob.c (glob): Check passed in values before using them in
73545         expressions to avoid some overflows.
73546         (glob_in_dir): Likewise.
73548         [BZ #13007]
73549         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73550         check for AVX enablement so that we don't crash with old kernels and
73551         new hardware.
73552         * elf/tst-audit4.c: Add same checks here.
73553         * elf/tst-audit6.c: Likewise.
73555         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73557 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
73559         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73561 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73563         * po/cs.po: Update from translation team.
73564         * po/bg.po: Likewise.
73566 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
73568         * misc/sys/cdefs.h: Add support for const attribute.
73569         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73570         to gnu_dev_{major,minor,makedev} functions.
73572 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
73574         * intl/dcigettext.c (get_output_charset): Add missing bracket.
73576 2011-07-20  Andreas Schwab  <schwab@redhat.com>
73578         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73579         strlen results.
73581 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73583         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73584         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73585         register in order to avoid conflicts with the soft frame pointer
73586         being held in r11 when necessary.
73587         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73588         (INTERNAL_VSYSCALL_NCS): Likewise.
73590 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
73592         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73593         * elf/dl-fini.c (_dl_fini): Adjust caller.
73594         * elf/dl-close.c (_dl_close_worker): Likewise.
73595         * sysdeps/generic/ldsodefs.h: Adjust declaration.
73597 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73599         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73600         "aux_cache->nlibs < 0".
73602         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73603         in the reload-count case.
73605 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73607         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73608         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73609         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73610         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73611         * sysdeps/x86_64/multiarch/strcat.S: New file.
73612         * sysdeps/x86_64/multiarch/strncat.S: New file.
73613         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73614         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73615         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73616         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73617         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73618         (USE_AS_STRCAT): Define.
73619         Add strcat and strncat support.
73620         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73621         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73622         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73623         * string/strncat.c: Update.
73624         (USE_AS_STRNCAT): Define.
73625         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73626         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73627         and i7.
73628         * sysdeps/x86_64/multiarch/init-arch.h
73629         (bit_Prefer_PMINUB_for_stringop): New.
73630         (index_Prefer_PMINUB_for_stringop): Likewise.
73631         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73632         bit_Prefer_PMINUB_for_stringop.
73634 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73636         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73637         buffer64.
73638         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73639         of casting of buffer.
73640         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73641         buffer32 and buffer64.
73642         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73643         writes instead of casting of buffer.
73644         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73645         buffer32.
73646         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73647         casting of buffer.
73649 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73651         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73653 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73655         * nscd/nscd.c (termination_handler): Don't do anything for a database
73656         if it has not yet been initialized.
73658 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73660         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73662 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73664         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73666 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73668         * po/nl.po: Update from translation team.
73669         * po/sv.po: Likewise.
73671 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73673         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73674         now disallowed by GCC.
73676         * configure.in (use-default-link): Default to yes if a test -shared
73677         link meets our qualifications.
73678         * configure: Regenerated.
73680         * config.make.in (output-format): New variable.
73681         * configure.in: Check for ld --print-output-format support.
73682         * configure: Regenerated.
73683         * Makerules ($(common-objpfx)format.lds)
73684         [$(output-format) != unknown]: Just use $(output-format),
73685         instead of the linker-script munging.
73687 2011-07-14  Roland McGrath  <roland@hack.frob.com>
73689         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73690         of $(common-objpfx)shlib.lds.
73691         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73693         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73694         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73696         * configure.in (-z relro check): Adjust test code to add a large
73697         writable data section after it.
73698         * configure: Regenerated.
73700 2011-07-11  Roland McGrath  <roland@hack.frob.com>
73702         * configure.in (-z relro check): Fix test code to make the variable
73703         truly const.
73704         * configure: Regenerated.
73706 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
73708         * nscd/nscd.h (struct traced_file): Define.
73709         (struct database_dyn): Remove inotify_descr, reset_res, and filename
73710         elements.  Add traced_files.
73711         (inotify_fd): Declare.
73712         (register_traced_file): Declare.
73713         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73714         (inotify_fd): Export.
73715         (resolv_conf_descr): Remove.
73716         (nscd_init): Move inotify descriptor creation to main.
73717         Don't register files for notification here.
73718         (register_traced_file): New function.
73719         (invalidate_cache): Don't use reset_res to determine whether to call
73720         res_init, go through the list of registered files.
73721         (main_loop_poll): The inotify descriptors are now stored in the
73722         structures for the traced files.
73723         (main_loop_epoll): Likewise.
73724         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
73725         to __nss_disable_nscd.
73726         * nscd/cache.c (prune_cache): There is no single inotify descriptor
73727         for a database anymore.  Check the records for all the registered
73728         files instead.
73729         * nss/Makefile (libnss_files-routines): Add files-init.
73730         (libnss_db-routines): Add db-init.
73731         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73732         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73733         * nss/nss_db/db-init.c: New file.
73734         * nss/nss_files/files-init.c: New file.
73735         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
73736         __nss_lookup_function.
73737         (__nss_lookup_function): Call nss_load_library.
73738         (nss_load_all_libraries): New function.
73739         (__nss_disable_nscd): Take parameter with callback function for files
73740         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
73741         used for the cached services.
73742         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
73743         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
73744         options for features to all the files in nscd.
73746         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
73748 2011-07-10  Roland McGrath  <roland@hack.frob.com>
73750         * csu/elf-init.c (__libc_csu_init): Comment typo.
73752 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
73754         * po/pl.po: Update from translation team.
73755         * po/ja.po: Likewise.
73756         * po/ru.po: Likewise.
73757         * po/ko.po: Likewise.
73758         * po/fr.po: Likewise.
73760 2011-07-09  Roland McGrath  <roland@hack.frob.com>
73762         * configure.in (.ctors/.dtors header and trailer check):
73763         Use an empirical test on a built program.
73764         * configure: Regenerated.
73766         * configure.in (-z relro check): Use an empirical test on a built DSO.
73767         Detect, but do not require, on ia64.
73768         * configure: Regenerated.
73770         * configure.in (READELF): Find it with AC_CHECK_TOOL.
73771         Update tests that use readelf to use $READELF instead.
73772         * configure: Regenerated.
73774 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
73776         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
73777         if the result is not used.
73779 2011-07-05  Andreas Jaeger  <aj@suse.de>
73781         [BZ#9696]
73782         * stdlib/tst-strtod.c: Add testcase.
73784 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
73786         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
73787         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
73788         The latter has a higher limit.  Take additional parameter to pass to
73789         the new function.
73790         (__pathconf): Pass file to __statfs_link_max.
73791         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
73792         __statfs_link_max.
73793         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
73794         __statfs_link_max.
73796         [BZ #12868]
73797         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
73798         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73799         Handle Lustre.
73800         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
73801         (__statfs_filesize_max): Likewise.
73802         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
73804 2011-07-05  Andreas Jaeger  <aj@suse.de>
73806         * resolv/res_comp.c (dn_skipname): Remove unused variable.
73808 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
73810         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
73811         `status' variable.
73812         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
73813         Likewise.
73815 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
73817         * Makefile (strop-tests): Add strncat.
73818         * string/test-strncat.c: New file.
73820 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
73822         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
73824 2011-06-21  Andreas Jaeger  <aj@suse.de>
73826         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
73827         Copy rule from iconvdata/Makefile.
73829 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73831         [BZ #12922]
73832         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
73833         but no long options are defined, just return 'W'.
73835 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
73837         [BZ #9696]
73838         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
73840 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73842         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
73843         netgroups to read.
73844         (innetgr): Likewise.
73846 2011-07-05  Roland McGrath  <roland@hack.frob.com>
73848         * config.make.in (install_root): Default to $(DESTDIR).
73850 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
73852         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
73854 2011-07-02  Roland McGrath  <roland@hack.frob.com>
73856         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
73858         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
73859         containing directory rather than embedding absolute directory names.
73861         * scripts/check-local-headers.sh: Rewritten using awk.
73862         Match by word, not by line.  Print error messages for matches.
73863         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
73865         * Makerules [shlib-lds-flags empty]:
73866         ($(common-objpfx)libc_pic.opts): New target.
73867         ($(common-objpfx)libc_pic.os.clean): New target.
73868         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
73870         * config.make.in (OBJCOPY): New variable.
73871         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
73872         * configure: Regenerated.
73874         * config.make.in (use-default-link): New variable.
73875         * configure.in (use_default_link): Grok --with-default-link to set it.
73876         * configure: Regenerated.
73877         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
73878         (shlib-lds, shlib-lds-flags): Define to empty.
73880         * Makerules (shlib-lds): New variable.
73881         (shlib-lds-flags): New variable.
73882         (build-shlib, build-moduile, build-module-asneeded): Use it.
73883         ($(common-objpfx)libc.so): Use $(shlib-lds).
73884         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
73885         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
73887         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
73888         DT_FLAGS/DT_FLAGS_1 with zero flags.
73890         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
73891         linker script munging.
73893 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
73895         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
73896         as 128-bit value.
73897         * crypt/sha512.c (sha512_process_block): Perform total addition using
73898         128-bit if possible.
73899         (__sha512_finish_ctx): Likewise.
73900         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
73901         as 64-bit value.
73902         * crypt/sha256.c (SWAP64): Define.
73903         (sha256_process_block): Perform total addition using 64-bit if
73904         possible.
73905         (__sha256_finish_ctx): Likewise.
73907 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
73909         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
73910         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73911         * nscd/hstcache.c (cache_addhst): Likewise.
73912         * nscd/grpcache.c (cache_addgr): Likewise.
73913         * nscd/aicache.c (addhstaiX): Likewise.
73914         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
73916 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
73918         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
73919         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73920         * nscd/hstcache.c (cache_addhst): Likewise.
73921         * nscd/grpcache.c (cache_addgr): Likewise.
73922         * nscd/aicache.c (addhstaiX): Likewise.
73924 2011-07-01  Andreas Schwab  <schwab@redhat.com>
73926         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
73927         domain only when needed.
73929 2011-06-30  Andreas Schwab  <schwab@redhat.com>
73931         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
73932         is always restored.
73934 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
73936         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
73937         are re-adding the entry.
73938         * nscd/servicescache.c (cache_addserv): Likewise.
73940 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
73942         * sysdeps/generic/dl-irel.h: fix protection against multiple
73943         inclusions.
73944         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73946 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
73948         [BZ #12935]
73949         * malloc/memusage.sh: Fix quoting in message.
73950         * debug/xtrace.sh: Likewise.
73952         * configure.in: Remove support for --experimental-malloc option, make
73953         it the default.
73954         * config.make.in: Likewise.
73955         * malloc/Makefile: Likewise.
73957 2011-06-27  Andreas Schwab  <schwab@redhat.com>
73959         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73960         two-byte characters.
73962 2011-06-27  Roland McGrath  <roland@hack.frob.com>
73964         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73965         AC_CACHE_CHECK invocation.
73966         * configure: Regenerated.
73968         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73970 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
73972         [BZ #12350]
73973         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
73974         bit from old_res_options.
73976         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73978         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73979         value type for setfct.
73981 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
73983         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73984         __gettimeofday instead of gettimeofday.
73986 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
73988         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73990 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
73992         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73994         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73995         info.
73997 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74000         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74001         strcpy-sse2-unaligned strncpy-sse2-unaligned
74002         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74003         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74004         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74005         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74006         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74007         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74008         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74009         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74010         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74011         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74012         (STRCPY): Support SSE2 and SSSE3 versions.
74014 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74016         [BZ #12874]
74017         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74018         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74019         kernels which artificially limit size of requests.
74021 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74023         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74024         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74025         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74026         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74027         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74028         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74029         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74030         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74031         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74032         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74033         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74034         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74035         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74036         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74037         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74039         Enable unaligned load optimization for Intel Core i3, i5 and i7
74040         processors.
74041         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74042         Define.
74043         (index_Fast_Unaligned_Load): Define.
74044         (HAS_FAST_UNALIGNED_LOAD): Define.
74046 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74048         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74050 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74052         [BZ #12907]
74053         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74054         until it is clear that the information is realy needed.
74055         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74057 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74059         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74061 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74063         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74064         /sys/devices/system/cpu/online if it is usable.
74066         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74067         reading the information from the /proc filesystem to once a second.
74069 2011-06-21  Andreas Jaeger  <aj@suse.de>
74071         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74072         NULL after inclusion of kernel headers.
74074 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74076         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74077         calls to internal_setent.
74079         [BZ #12885]
74080         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74081         addresses using gethostbyname4_r ignore IPv4 addresses.
74083         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74084         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74086         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74088 2011-06-20  David S. Miller  <davem@davemloft.net>
74090         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74091         inclusions.
74092         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74094         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74095         (elf_irel): Use it.
74096         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74097         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74098         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74099         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74100         * sysdeps/x86_64/dl-irel.h: Likewise.
74102         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74103         * elf/dl-sym.c: Likewise.
74105 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74107         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74108         need to dereference resplen2.
74110 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74112         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74114 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74116         * Makeconfig: Define vardbdir and inst_vardbdir.
74117         * nss/Makefile: Add rules to install db-Makefile.
74119         * nss/nss_db/db-XXX.c: Cleanup.
74121         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74122         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74123         GLIBC_PRIVATE.
74124         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74125         * nss/makedb.c: Implement -g option to specify that value strings
74126         are generated and should not be added to table iterated over for
74127         get*ent calls.
74128         * nss/nss_db/db-initgroups.c: New file.
74130         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74131         interface.
74133         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74134         (internal_getgrouplist): Adjust to name change.
74135         Update use_initgroups_entry if this is not the first call.
74136         * nss/databases.def: Add initgroups entry.
74138         * nss/makedb.c (compute_tables): Check result of multiple hash table
74139         sizes to minimize maximum chain length.
74141 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74143         * Versions.def: Add entry for libnss_db.
74144         * shlib-versions: Likewise.
74145         * nss/Makefile: Add rules to build libnss_db.
74146         * nss/Versions: Add libnss_db information.  Organize libnss_files
74147         entries better.
74148         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74149         makedb progra.  Some minor improvements to generate smaller files.
74150         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74151         here from...
74152         * nss/makedb.c: ...here.
74153         Improve database format to be smaller and require less memory at
74154         runtime.
74155         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74156         db anymore.
74157         * nss/nss_db/db-netgrp.c: Likewise.
74158         * nss/nss_db/db-open.c: Likewise.
74159         * nss/nss_files/flies-XXX.x: Adjust comments.
74160         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74161         * nss/nss_files/files-grp.c: Likewise.
74162         * nss/nss_files/files-hosts.c: Likewise.
74163         * nss/nss_files/files-network.c: Likewise.
74164         * nss/nss_files/files-proto.c: Likewise.
74165         * nss/nss_files/files-pwd.c: Likewise.
74166         * nss/nss_files/files-rpc.c: Likewise.
74167         * nss/nss_files/files-service.c: Likewise.
74168         * nss/nss_files/files-sgrp.c: Likewise.
74169         * nss/nss_files/files-spwd.c: Likewise.
74170         * nss/nss_db/db-alias.c: Removed.
74171         * nss/nss_db/dummy-db.h: Removed.
74173 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74175         * nss/makedb.c: Rewritten to not use database library.
74176         * nss/Makefile: Update to build new makedb program.
74178 2011-06-14  Andreas Jaeger  <aj@suse.de>
74180         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74181         memset declaration.
74183 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74185         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74186         tmpbuf.
74188 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74190         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74191         * elf/Makefile ($(objpfx)ld.so): Likewise.
74193         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74194         Don't list ld.so twice in dependencies.
74196         * posix/bug-regex31.c: Include <stdlib.h>.
74198         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74200         * nis/nss_compat/compat-spwd.c
74201         (getspent_next_nss_netgr): Remove unused variable.
74202         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74204         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74205         nonmembers" output to use the right array.
74207         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74209         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74211         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74212         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74213         * catgets/gencat.c (read_input_file): Likewise.
74214         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74216         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74217         variable definition inside #if's controlling its use.
74219         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74221         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74223         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74225         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74226         unreachable code.
74228         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74230         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74231         * configure: Regenerated.
74233         * Makerules: Revert last change.
74234         * elf/Makefile: Likewise.
74236 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74238         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74239         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74240         (reloc-link): Likewise.
74242 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74244         * elf/Makefile: Add rules to build pldd.
74245         * elf/pldd.c: New file.
74246         * elf/pldd-xx.c: New file.
74248 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74250         * version.h: Update for 2.15 development version.
74252 2011-06-07  David S. Miller  <davem@davemloft.net>
74254         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74255         ifuncs.
74256         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74257         elf_machine_lazy_rel): Likewise.
74258         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74259         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74260         elf_machine_lazy_rel): Likewise.
74261         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74262         dl_hwcap via passed in argument.
74263         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74264         Likewise.
74266 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74268         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74270 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74272         [BZ #12849]
74273         * manual/fdl-1.1.texi: New file, verbatim from:
74274         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74275         * manual/lgpl-2.1.texi: New file, verbatim from:
74276         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74277         * manual/Makefile (licenses): New variable, list those new file names.
74278         (texis): Use it.
74279         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74281         * manual/fdl.texi: File removed.
74282         * manual/lesser.texi: File removed.
74283         * manual/libc.texinfo (Copying, Documentation License):
74284         Use new @include file names, put @appendix directive before @include.
74286 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74288         [BZ #12841]
74289         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74290         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74291         (mq_open): Add __NTH.
74293 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74296         Assume Intel Core i3/i5/i7 processor if AVX is available.
74298 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74300         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74301         typo.
74303 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74305         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74306         memory.  Use alloca_account.  Fix memory leak when retrying.
74308 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74310         * version.h (RELEASE): Bump for 2.14 release.
74311         * include/features.h (__GLIBC_MINOR__): Bump to 14.
74313         * config.make.in (RANLIB): Remove entry.
74315 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
74317         * po/Makefile (po-sed-cmd): Add ksh to extensions.
74318         (libc.pot): Work around missing support for .ksh extension in xgettext.
74320         [BZ #12684]
74321         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74322         if both request failed.
74323         (send_dg): In case of server errors clear resplen or *resplen2.
74325         [BZ #12454]
74326         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74327         when there are multiple maps.
74328         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74329         (_dl_fini): Remove test here.
74331         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74333 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
74335         [BZ #12350]
74336         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74337         bit from old_res_options.
74338         (gaih_inet): Likewise.
74340         [BZ #11099]
74341         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74342         as signed.
74344         * resolv/res_init.c (res_setoptions): Make the code more compact.
74346         [BZ #11558]
74347         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74348         set RES_USEVC.
74350         [BZ #11634]
74351         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74353         * malloc/malloc.h: Mark malloc hook variables as deprecated.
74355         [BZ #11781]
74356         * malloc/malloc.h: Declare malloc hook variables as volatile.
74358         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74359         in last patch.
74361         [BZ #11799]
74362         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74363         raise in the comment.
74364         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74365         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74366         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74368 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
74370         [BZ #12811]
74371         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74372         grow the buffers more if it already has to be sufficient.
74373         (build_wcs_upper_buffer): Likewise.
74374         * posix/regexec.c (check_matching): Likewise.
74375         (clean_state_log_if_needed): Likewise.
74376         (extend_buffers): Don't enlarge buffers beyond size of the input
74377         buffer.
74378         Patches mostly by Emil Wojak <emil@wojak.eu>.
74379         * posix/bug-regex32.c: New file.
74380         * posix/Makefile (tests): Add bug-regex32.
74382         * locale/findlocale.c (_nl_find_locale): Return right away if
74383         _nl_explode_name failed.
74384         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74386         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74388         * debug/xtrace.sh: Unify messages.
74389         * malloc/memusage.sh: Likewise.
74391         [BZ #12813]
74392         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74393         time symbol from vDSO.  Substitute with vsyscall if not available.
74394         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74395         __vdso_time.
74397         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74398         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74399         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74400         Add sendmmsg and internal_sendmmsg.
74401         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74402         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74403         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74405         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74406         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74407         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74409 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74411         [BZ #12813]
74412         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74413         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74414         available.
74415         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74416         __vdso_getcpu.
74418         [BZ #12814]
74419         * iconvdata/Makefile (tests): Add bug-iconv9.
74420         * iconvdata/bug-iconv9.c: New file.
74422 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74424         [BZ #12814]
74425         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74427 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74429         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74430         (struct user_regs_struct): Change intcs field back to cs.
74432 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74434         * po/ja.po: Update from translation team.
74436 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74438         [BZ #12795]
74439         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74440         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74442 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74444         * stdlib/longlong.h: Update from GCC.
74446 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74448         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74449         parameter name.
74450         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74451         Add parameter name.
74452         (__sysconf): Pass it down.
74454 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74456         [BZ #12671]
74457         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74458         some situations.
74459         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74460         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74461         add in in __libc_use_alloca calls.  Adjust callers.
74462         (glob): Use malloc in some situations.
74464         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74465         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74466         pltexit.
74468 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74470         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74471         and CLOCK_BOOTTIME_ALARM.
74473         [BZ #12782]
74474         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74475         is returned.
74477         * string/_strerror.c (__strerror_r): Print negative errors as signed
74478         numbers.
74480         [BZ #12777]
74481         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74482         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74483         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74485         * configure.in: Fix typo in redirection and correct removal of test
74486         files in two cases.
74488         [BZ #12788]
74489         * locale/setlocale.c (new_composite_name): Fix test to check for
74490         identical name of all categories.
74492         [BZ #12792]
74493         * libio/filedoalloc.c (local_isatty): New function.
74494         (_IO_file_doallocate): Use local_isatty.
74495         * stdio-common/perror.c (perror): In case a new stream is used
74496         forward the stream error.
74497         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74498         error flag.
74500 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
74502         [BZ #11884]
74503         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74504         alloca.
74505         * include/alloca.h (extend_alloca_account): Define.
74507         [BZ #11857]
74508         * posix/regex.h: Fix comments with documentation of user-accessible
74509         fields after compilation and describe correct free'ing of pattern
74510         after re_compile_pattern.
74511         Patch by Reuben Thomas <rrt@sc3d.org>.
74513 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
74515         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74516         and -mno-altivec to prevent the compiler from using Altivec and/or
74517         VSX instructions when the corresponding registers are not available.
74519 2011-05-19  Andreas Schwab  <schwab@redhat.com>
74521         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74523 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
74525         * libio/freopen.c (freopen): Use __dup2, not dup2.
74526         * libio/freopen64.c (freopen64): Likewise.
74528 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74530         [BZ #12775]
74531         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74532         * math/Makefile (tests): Add test-powl.
74533         (CFLAGS-test-powl.c): Define.
74534         * math/test-powl.c: New file.
74536 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74538         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74540 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
74542         [BZ #11837]
74543         * iconvdata/gb18030.c: Update to GB18020-2005.
74545 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
74547         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74548         RE_SYNTAX_POSIX_AWK): Update to match recent development.
74549         Patch by Aharon Robbins <arnold@skeeve.com>.
74551         [BZ #11892]
74552         * stdlib/putenv.c (putenv): Don't always create copy of the variable
74553         on the stack.
74555         [BZ #11895]
74556         * misc/pselect.c (__pselect): Handle timeout value errors hidden
74557         through underflows.
74559         [BZ #12766]
74560         * misc/error.c (error_at_line): Ensure file_name and old_file_name
74561         point to strings before performing equality test for error_one_per_line
74562         mode.
74564         [BZ #11697]
74565         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74567         [BZ #11820]
74568         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74569         (struct user_fpregs_struct): Avoid __uint*_t types.
74571         [BZ #6420]
74572         * malloc/mtrace.c (tr_where): Add additional parameter to point to
74573         symbol info.  Use it instead of calling _dl_addr locally.
74574         (lock_and_info): New function.
74575         (tr_freehook): Call lock_and_info and pass symbol info as additional
74576         parameter to tr_where.
74577         (tr_mallochook): Likewise.
74578         (tr_reallochook): Likewise.
74579         (tr_memalignhook): Likewise.
74581         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
74582         used and couldn't be at all thread-safe.
74584 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
74586         * libio/freopen.c (freopen): Don't close old file descriptor
74587         before the new one is opened.  Instead dup the new file descriptor
74588         to the old one after the new stream is created.
74589         * libio/freopen64.c (freopen64): Likewise.
74590         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74591         * libio/fileops.c (_IO_new_file_close_it): Handle new
74592         _IO_FLAGS2_NOCLOSE flag.
74593         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74594         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74595         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74596         _IO_FLAGS2_NOCLOSE flag.
74597         * include/unistd.h: Add hidden_proto for dup3.
74598         Define __have_dup3.
74599         * io/dup3.c: Define hidden symbol.
74600         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74602         [BZ #7101]
74603         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74604         when an incomplete long option is used.
74605         * posix/tst-getopt_long1.c: New file.
74606         * posix/Makefile (tests): Add tst-getopt_long1.
74608         [BZ #10138]
74609         * scripts/config.guess: Update from autoconf-2.68.
74610         * scripts/config.sub: Likewise.
74612         [BZ #10157]
74613         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74614         tests into ...
74615         (has_cpuclock): ...this.  New function.
74616         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74617         macro here based on has_cpuclock code.
74619         [BZ #10149]
74620         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74621         First byte (not low byte) is now always NUL.
74622         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74624         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74625         Use non-cancelable interfaces.
74627         [BZ #9809]
74628         * locale/iso-639.def: Add entry for Sorani.
74630         [BZ #11901]
74631         * include/stdlib.h: Move include protection to the right place.
74632         Define abort_msg_s.  Declare __abort_msg with it.
74633         * stdlib/abort.c (__abort_msg): Adjust type.
74634         * assert/assert.c (__assert_fail_base): New function.  Majority
74635         of code from __assert_fail.  Allocate memory for __abort_msg with
74636         mmap.
74637         (__assert_fail): Now call __assert_fail_base.
74638         * assert/assert-perr.c: Remove bulk of implementation.  Use
74639         __assert_fail_base.
74640         * include/assert.hL Declare __assert_fail_base.
74641         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74642         mmap.
74643         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74645 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74647         [BZ #11952]
74648         [BZ #12453]
74649         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74650         until all modules are registered in the DTV.
74651         * elf/Makefile: Add rules to build and run tst-tls19.
74652         * elf/tst-tls19.c: New file.
74653         * elf/tst-tls19mod1.c: New file.
74654         * elf/tst-tls19mod2.c: New file.
74655         * elf/tst-tls19mod3.c: New file.
74656         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74658         [BZ #12083]
74659         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74660         correctly.
74662         [BZ #12601]
74663         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74664         two-byte sequence errors.
74665         * iconvdata/Makefile (tests): Add bug-iconv8.
74666         * iconvdata/bug-iconv8.c: New file.
74668         [BZ #12626]
74669         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74670         buf2 definition.
74672         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74674         [BZ #12432]
74675         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74676         (dummy_getcfa): New function.
74677         (init): Get _Unwind_GetCFA address, use dummy if not found.
74678         (backtrace_helper): In recursion check, also check whether CFA changes.
74679         (__backtrace): Completely initialize arg.
74681         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74682         storing incomplete byte sequence in state object.  Avoid testing for
74683         guaranteed too small input if we know there is enough data available.
74685 2011-05-11  Andreas Schwab  <schwab@redhat.com>
74687         * Makeconfig (+link-pie): Indent.
74688         * Rules (binaries-pie): Define if $(have-fpie) and
74689         $(build-shared).
74690         (binaries-shared): Also filter out $(binaries-pie).
74691         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74692         * nscd/Makefile (others-pie): Add nscd.
74693         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74694         ($(objpfx)nscd): Remove command override.
74695         * login/Makefile (others-pie): Add pt_chown.
74696         ($(objpfx)pt_chown): Remove command override.
74697         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74698         remove command overrides.
74700 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
74702         * libio/tst_putwc.c: Fix error messages.
74704         [BZ #12724]
74705         * libio/fileops.c (_IO_new_file_close_it): Always flush when
74706         currently writing and seek to current position when not.
74707         * libio/Makefile (tests): Add bug-fclose1.
74708         * libio/bug-fclose1.c: New file.
74710 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
74712         [BZ #12511]
74713         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74714         don't set DF_1_NODELETE here.
74715         (do_lookup_x): When entering new entry test for copy relocation
74716         and if necessary set DF_1_NODELETE flag.
74717         * elf/tst-unique4.cc: New file.
74718         * elf/tst-unique4.h: New file.
74719         * elf/tst-unique4lib.cc: New file.
74720         * elf/Makefile: Add rules to build and run tst-unique4.
74721         Patch by Piotr Bury <pbury@goahead.com>.
74723 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
74725         [BZ #12052]
74726         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74728         [BZ #12625]
74729         * misc/mntent_r.c (addmntent): Flush the stream after the output
74731         [BZ #12393]
74732         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74733         (is_trusted_path_normalize): Skip initial colon.  Append slash
74734         to empty buffer.  Duplicate is_trusted_path code but allow
74735         constructed patch to be prefix.
74736         (is_dst): Allow $ORIGIN followed by /.
74737         (_dl_dst_substitute): Correct clearing of check_for_trusted.
74738         Correct testing of result of is_trusted_path_normalize
74739         (decompose_rpath): Fix warning.
74741 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
74743         [BZ #11257]
74744         * grp/initgroups.c (internal_getgrouplist): When we found the service
74745         list through the initgroups entry in nsswitch.conf do not always
74746         continue on a successful lookup.  Don't always use the
74747         __nss_group_database value if it is set.
74748         * nss/nsswitch.conf (initgroups): Change action for successful db
74749         lookup to continue for compatibility.
74751 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
74753         [BZ #11532]
74754         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
74755         and CP774 modules.
74756         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
74757         and CP774 modules.
74758         * iconvdata/tst-tables.sh: Likewise.
74759         * iconvdata/cp770.c: New file.
74760         * iconvdata/cp771.c: New file.
74761         * iconvdata/cp772.c: New file.
74762         * iconvdata/cp773.c: New file.
74763         * iconvdata/cp774.c: New file.
74764         * iconvdata/testdata/CP770: New file.
74765         * iconvdata/testdata/CP770..UTF8: New file.
74766         * iconvdata/testdata/CP771: New file.
74767         * iconvdata/testdata/CP771..UTF8: New file.
74768         * iconvdata/testdata/CP772: New file.
74769         * iconvdata/testdata/CP772..UTF8: New file.
74770         * iconvdata/testdata/CP773: New file.
74771         * iconvdata/testdata/CP773..UTF8: New file.
74772         * iconvdata/testdata/CP774: New file.
74773         * iconvdata/testdata/CP774..UTF8: New file.
74775         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
74776         END CHARMAP line.
74777         * iconvdata/gen-8bit-gap.sh: Likewise.
74778         * iconvdata/gen-8bit.sh: Likewise.
74780         * locale/iso-639.def: Add ary entry.
74782         [BZ #11258]
74783         * locale/C-translit.h.in: Add U20A1 transliteration.
74785         [BZ #12178]
74786         * locale/iso-639.def: Add wae entry.
74787         Patch by Kevin Bortis <bortis@translate-wae.ch>.
74789         [BZ #12545]
74790         * locale/programs/localedef.c (construct_output_path): Use ssize_t
74791         for n.
74793         [BZ #12711]
74794         * locale/C-translit.h.in: Add entry for U20B9.
74795         Patch by pravin.d.s@gmail.com.
74797 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
74799         [BZ #12713]
74800         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
74801         ENAMETOOLONG use generic getcwd.
74802         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
74803         in rtld.  Use *stat64.
74804         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
74805         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
74806         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
74807         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
74808         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
74809         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
74810         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
74811         __fstatat64 macros.
74812         * include/dirent.h: Add libc_hidden_proto for rewinddir.
74813         * dirent/rewinddir.c: Add libc_hidden_def.
74814         * sysdeps/mach/hurd/rewinddir.c: Likewise.
74815         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
74817         * include/dirent.h (__alloc_dir): Add flags parameter.
74818         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
74819         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
74820         __alloc_dir.
74821         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
74822         from fdopendir if O_CLOEXEC is already set.
74824 2011-03-15  Alan Modra  <amodra@gmail.com>
74826         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
74827         l_tls_firstbyte_offset non-zero.  Save padding offset in
74828         l_tls_firstbyte_offset for later use.
74829         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
74830         freeing static tls block.
74832 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
74834         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
74835         where #ifdef was intended.  The intent is to prevent ARG_MAX from
74836         being defined by the kernel headers.
74838 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
74840         [BZ #12734]
74841         * resolv/resolv.h: Define RES_NOTLDQUERY.
74842         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
74843         no-tld-query and set RES_NOTLDQUERY.
74844         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
74845         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
74846         modern BIND to search name as TLD unless forbidden.
74848 2011-05-07  Petr Baudis  <pasky@suse.cz>
74849             Ulrich Drepper  <drepper@gmail.com>
74851         [BZ #12393]
74852         * elf/dl-load.c (fillin_rpath): Move trusted path check...
74853         (is_trusted_path): ...to here.
74854         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
74855         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
74856         using is_trusted_path_normalize() in setuid scripts.
74858 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74860         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
74861         __BEGIN/__END_DECLS.
74863 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
74865         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
74866         NSS_STATUS_NOTFOUND if no record was found.
74868 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74870         * sunrpc/Makefile (headers): Add rpc/netdb.h.
74871         (headers-not-in-tirpc): Remove rpc/netdb.h
74872         * resolv/netdb.h: Revert last change.
74874 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74876         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
74877         circular dependency between libgcc.a and libc.a.
74879 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74881         * resolv/netdb.h: Don't include <rpc/netdb.h>.
74882         * nis/Makefile: Don't install rpcsvc/*.
74883         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
74884         instead of <rpc/types.h>.
74885         (MAXHOSTNAMELEN): Define.
74887 2011-05-03  Andreas Schwab  <schwab@redhat.com>
74889         * elf/ldconfig.c (add_dir): Don't crash on empty path.
74891 2011-04-28  Maciej Babinski  <mbabinski@google.com>
74893         [BZ #12714]
74894         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
74895         gethostbyname4_r when IPv6 results are possible.
74897 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
74899         [BZ #12723]
74900         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
74901         _PC_PIPE_BUF handling.
74903 2011-04-30  Bruno Haible  <bruno@clisp.org>
74905         [BZ #12717]
74906         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
74907         * resolv/netdb.h (getnameinfo): Change type of flags parameter
74908         to 'int'.
74909         * inet/getnameinfo.c (getnameinfo): Likewise.
74911 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
74913         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
74914         to groups setting in database lookup.
74915         * nss/nsswitch.conf: Add initgroups entry.
74917 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
74919         [BZ #12685]
74920         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
74921         mode string.
74922         Patch by Eric Blake <eblake@redhat.com>.
74924 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
74926         * sunrpc/Makefile (need-export-routines): Add svc_run.
74927         (routines): Remove svc_run.
74928         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
74929         * sunrpc/clnt_perr.c (clnt_perrno): Export.
74930         * sunrpc/svc_run.c (svc_run): Likewise.
74931         * sunrpc/svc_udp.c (svcudp_create): Likewise.
74933 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
74935         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
74936         problem in reallocation in last patch.
74938 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
74940         * sunrpc/Makefile: Move inclusion of Rules.
74942 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74944         * nss/nss_files/files-initgroups.c: New file.
74945         * nss/Makefile (libnss_files-routines): Add files-initgroups.
74946         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74947         _nss_files_initgroups_dyn.
74949 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
74951         * elf/elf.h (R_ARM_IRELATIVE): Define.
74953 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74955         * po/ru.po: Update from translation team.
74957 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74959         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74960         dependencies.
74962 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
74964         [BZ #12653]
74965         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74966         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74967         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74968         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74969         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74971 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
74973         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74974         differing bytes.
74975         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74976         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74977         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74979 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74981         [BZ #12420]
74982         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74983         storing it.
74984         * stdlib/bug-getcontext.c: New file.
74985         * stdlib/Makefile: Add rules to build and run bug-getcontext.
74987 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74989         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74990         instructions into .machine "z9-109".
74991         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74992         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74994 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74996         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74997         between environment variables and auxiliary vector.
74999 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75001         * Makefile: Add rules to build linkobj/libc.so.
75002         * include/libc-symbols.h: Define libc_hidden_nolink.
75003         * include/rpc/auth.h: Mark functions which are to be hidden.
75004         * include/rpc/auth_des.h: Likewise.
75005         * include/rpc/auth_unix.h: Likewise.
75006         * include/rpc/clnt.h: Likewise.
75007         * include/rpc/des_crypt.h: Likewise.
75008         * include/rpc/key_prot.h: Likewise.
75009         * include/rpc/pmap_clnt.h: Likewise.
75010         * include/rpc/pmap_prot.h: Likewise.
75011         * include/rpc/pmap_rmt.h: Likewise.
75012         * include/rpc/rpc_msg.h: Likewise.
75013         * include/rpc/svc.h: Likewise.
75014         * include/rpc/svc_auth.h: Likewise.
75015         * include/rpc/xdr.h: Likewise.
75016         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75017         * nss/Makefile: Likewise.
75018         * sunrpc/Makefile: Don't install headers.  Build library with normal
75019         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75020         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75021         for the compat linking library.  Remove use of INTDEF/INTUSE.
75022         * sunrpc/auth_none.c: Likewise.
75023         * sunrpc/auth_unix.c: Likewise.
75024         * sunrpc/authdes_prot.c: Likewise.
75025         * sunrpc/authuxprot.c: Likewise.
75026         * sunrpc/clnt_gen.c: Likewise.
75027         * sunrpc/clnt_perr.c: Likewise.
75028         * sunrpc/clnt_raw.c: Likewise.
75029         * sunrpc/clnt_simp.c: Likewise.
75030         * sunrpc/clnt_tcp.c: Likewise.
75031         * sunrpc/clnt_udp.c: Likewise.
75032         * sunrpc/clnt_unix.c: Likewise.
75033         * sunrpc/des_crypt.c: Likewise.
75034         * sunrpc/des_soft.c: Likewise.
75035         * sunrpc/get_myaddr.c: Likewise.
75036         * sunrpc/key_call.c: Likewise.
75037         * sunrpc/key_prot.c: Likewise.
75038         * sunrpc/netname.c: Likewise.
75039         * sunrpc/pm_getmaps.c: Likewise.
75040         * sunrpc/pm_getport.c: Likewise.
75041         * sunrpc/pmap_clnt.c: Likewise.
75042         * sunrpc/pmap_prot.c: Likewise.
75043         * sunrpc/pmap_prot2.c: Likewise.
75044         * sunrpc/pmap_rmt.c: Likewise.
75045         * sunrpc/publickey.c: Likewise.
75046         * sunrpc/rpc_cmsg.c: Likewise.
75047         * sunrpc/rpc_common.c: Likewise.
75048         * sunrpc/rpc_dtable.c: Likewise.
75049         * sunrpc/rpc_prot.c: Likewise.
75050         * sunrpc/rpc_thread.c: Likewise.
75051         * sunrpc/rtime.c: Likewise.
75052         * sunrpc/svc.c: Likewise.
75053         * sunrpc/svc_auth.c: Likewise.
75054         * sunrpc/svc_authux.c: Likewise.
75055         * sunrpc/svc_raw.c: Likewise.
75056         * sunrpc/svc_run.c: Likewise.
75057         * sunrpc/svc_simple.c: Likewise.
75058         * sunrpc/svc_tcp.c: Likewise.
75059         * sunrpc/svc_udp.c: Likewise.
75060         * sunrpc/svc_unix.c: Likewise.
75061         * sunrpc/svcauth_des.c: Likewise.
75062         * sunrpc/xcrypt.c: Likewise.
75063         * sunrpc/xdr.c: Likewise.
75064         * sunrpc/xdr_array.c: Likewise.
75065         * sunrpc/xdr_float.c: Likewise.
75066         * sunrpc/xdr_intXX_t.c: Likewise.
75067         * sunrpc/xdr_mem.c: Likewise.
75068         * sunrpc/xdr_rec.c: Likewise.
75069         * sunrpc/xdr_ref.c: Likewise.
75070         * sunrpc/xdr_sizeof.c: Likewise.
75071         * sunrpc/xdr_stdio.c: Likewise.
75073 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75075         [BZ #12650]
75076         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75077         * sysdeps/ia64/dl-tls.h: Likewise.
75078         * sysdeps/powerpc/dl-tls.h: Likewise.
75079         * sysdeps/s390/dl-tls.h: Likewise.
75080         * sysdeps/sh/dl-tls.h: Likewise.
75081         * sysdeps/sparc/dl-tls.h: Likewise.
75082         * sysdeps/x86_64/dl-tls.h: Likewise.
75083         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75085 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75087         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75088         rpath element also skip the following colon.
75089         (expand_dynamic_string_token): Add is_path parameter and pass
75090         down to DL_DST_REQUIRED and _dl_dst_substitute.
75091         (decompose_rpath): Call expand_dynamic_string_token with
75092         non-zero is_path.  Ignore empty rpaths.
75093         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75094         with zero is_path.
75096 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75099         Make cancelable.
75101 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75103         [BZ #12655]
75104         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75105         Patch by Filipe David Manana <fdmanana@apache.org>.
75107 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75109         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75110         Maintain aligned stack.
75111         (CHECK_RSP): Remove unused macro.
75113 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75115         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75116         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75118 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75120         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75122         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75124 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75126         [BZ #12518]
75127         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75128         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75129         * sysdeps/x86_64/memmove.c: New file.
75130         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75131         (memcpy): Renamed to ...
75132         (__new_memcpy): This.
75133         (memcpy): Provide GLIBC_2_14 memcpy.
75134         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75135         (memcpy): Provide GLIBC_2_2_5 memcpy.
75137 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75139         [BZ #12631]
75140         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75142 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75144         * misc/syncfs.c: New file.
75145         * misc/Makefile (routines): Add syncfs.
75146         * posix/unistd.h: Declare syncfs.
75147         * sysdeps/unix/syscalls.list: Add syncfs.
75149 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75151         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75152         open_by_handle_at.
75153         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75154         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75155         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75156         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75157         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75158         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75159         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75161 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75163         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75164         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75165         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75166         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75167         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75168         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75169         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75171         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75172         sync_file_range.c with -fexceptions.
75173         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75174         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75175         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75176         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75177         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75178         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75179         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75180         sync_file_range as cancellation point
75181         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75182         now a wrapper around __call_sync_file_range with cancellation handling.
75183         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75184         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75185         function name to __call_sync_file_range.
75186         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75187         Add call_sync_file_range.
75189 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75191         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75192         bits/timex.h.
75194 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75196         * iconv/iconv.h: Fix typo in comment.
75197         * io/fcntl.h: Likewise.
75198         * libio/stdio.h: Likewise.
75199         * posix/spawn.h: Likewise.
75200         * posix/unistd.h: Likewise.
75201         * stdlib/stdlib.h: Likewise.
75202         * time/time.h: Likewise.
75203         * wcsmbs/wchar.h: Likewise.
75205         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75206         open_by_handle): Add.
75207         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75208         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75209         Augment a few comments.
75210         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75211         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75212         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75213         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75214         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75215         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75216         open_by_handle.
75218         * io/fcntl.h (AT_EMPTY_PATH): Define.
75220 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75222         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75223         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75224         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75225         to...
75226         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75227         * Versions.def: Add GLIBC_2.14.
75228         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75229         Export.
75231 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75233         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75234         round counter.
75235         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75237 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75239         [BZ #12597]
75240         * string/test-strncmp.c (do_page_test): New function.
75241         (check2): Likewise.
75242         (test_main): Call check2.
75243         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75245 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75247         [BZ #12587]
75248         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75249         Handle cache information in CPU leaf 4.
75250         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75252 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75254         [BZ #12583]
75255         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75256         character representation.
75257         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75259 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75261         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75262         END(__isnan) to END(__isnanf) to match function entry point/label
75263         EALIGN(__isnanf,...).
75265 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75267         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75269 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75271         [BZ #12510]
75272         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75273         copy from the symbol referenced in the relocation to initialize the
75274         used variable.
75275         Patch by Piotr Bury <pbury@goahead.com>.
75276         * elf/Makefile: Add rules to build and tst-unique3.
75277         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75278         * elf/tst-unique3.cc: New file.
75279         * elf/tst-unique3.h: New file.
75280         * elf/tst-unique3lib.cc: New file.
75281         * elf/tst-unique3lib2.cc: New file.
75283         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75285 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75287         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75288         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75289         to _start.
75291 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75293         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75294         to-be-loaded object along a path to loader is ld.so.
75296 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75297             Ulrich Drepper  <drepper@gmail.com>
75299         * sysdeps/x86_64/memset.S: After aligning destination, code
75300         branches to different locations depending on the value of
75301         misalignment, when multiarch is enabled. Fix this.
75303 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75305         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75306         Set _x86_64_preferred_memory_instruction for AMD processsors.
75307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75308         Set bit_Prefer_SSE_for_memop for AMD processors.
75310 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
75312         * libio/fmemopen.c (fmemopen): Optimize a bit.
75314 2011-03-03  Andreas Schwab  <schwab@redhat.com>
75316         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75318 2011-03-03  Roland McGrath  <roland@redhat.com>
75320         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75322 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
75324         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75325         __bzero_ultra1 instead of __memset_ultra1.
75327 2011-02-23  Andreas Schwab  <schwab@redhat.com>
75328             Ulrich Drepper  <drepper@gmail.com>
75330         [BZ #12509]
75331         * include/link.h (struct link_map): Add l_orig_initfini.
75332         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75333         returning unsuccessfully.
75334         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75335         close of a file loaded at startup, restore the original l_initfini
75336         list.
75337         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75338         list, store the pointer.
75339         * elf/Makefile ($(objpfx)noload-mem): New rule.
75340         (noload-ENV): Define.
75341         (tests): Add $(objpfx)noload-mem.
75342         * elf/noload.c: Include <memcheck.h>.
75343         (main): Call mtrace.  Close all opened handles.
75345 2011-02-17  Andreas Schwab  <schwab@redhat.com>
75347         [BZ #12454]
75348         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75349         dependencies are missing.
75351 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75353         Fix __if_freereq crash: Unlike the generic version which uses free,
75354         Hurd needs munmap.
75355         * sysdeps/mach/hurd/ifreq.h: New file.
75357 2011-01-27  Petr Baudis  <pasky@suse.cz>
75358             Ulrich Drepper  <drepper@gmail.com>
75360         [BZ 12445]#
75361         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75362         to extend_alloca().
75363         * stdio-common/bug23.c: New file.
75364         * stdio-common/Makefile (tests): Add bug23.
75366 2010-09-28  Andreas Schwab  <schwab@redhat.com>
75367             Ulrich Drepper  <drepper@gmail.com>
75369         [BZ #12489]
75370         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75371         before performing relro protection.  At old place add assertion
75372         to make sure nothing changed.
75374 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
75375             Glauber de Oliveira Costa  <glommer@gmail.com>
75377         * elf/elf.h: Add new ARM TLS relocs.
75379 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75382         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75383         cast from r3.
75384         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75385         'tests' variable.
75386         * sysdeps/wordsize-64/tst-writev.c: New file.
75388 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75390         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75391         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75392         insns in _dl_start to prevent a TOC reference before relocs are
75393         resolved.
75395 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75397         [BZ #12469]
75398         * Makeconfig: Remove RANLIB definition.
75399         * Makerules: Don't use RANLIB.
75400         * aclocal.m4: Remove ranlib test.
75401         * configure.in: No need to check for ranlib.
75402         * elf/rtld-Rules: Don't use RANLIB.
75404 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75406         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75407         protection macro.
75408         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75409         inclusion protection macro.
75411         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75412         SIGRTMIN and SIGRTMAX and print information in that case only when
75413         SIGRTMIN is defined.
75415 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75417         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75418         arginfo fn returning -1.
75420         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75421         and thousands string is zero terminated.
75423 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75425         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75426         sysdeps/unix/sysv/linux/bits/socket.h.
75428 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75430         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75431         (__CPU_COUNT): Remove old macros.
75432         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75433         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75434         (__CPU_ALLOC, __CPU_FREE): Add macros.
75435         (__sched_cpualloc, __sched_cpufree): Add declarations.
75437 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75439         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75440         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75441         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75442         (readdhstai): Return value of addhstaiX call.
75443         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75444         (addgrbyX): Return value returned by cache_addgr.
75445         (readdgrbyname): Return value returned by addgrbyX.
75446         (readdgrbygid): Likewise.
75447         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75448         (addpwbyX): Return value returned by cache_addpw.
75449         (readdpwbyname): Return value returned by addhstbyX.
75450         (readdpwbyuid): Likewise.
75451         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75452         (addservbyX): Return value returned by cache_addserv.
75453         (readdservbyname): Return value returned by addservbyX:
75454         (readdservbyport): Likewise.
75455         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75456         (addhstbyX): Return value returned by cache_addhst.
75457         (readdhstbyname): Return value returned by addhstbyX.
75458         (readdhstbyaddr): Likewise.
75459         (readdhstbynamev6): Likewise.
75460         (readdhstbyaddrv6): Likewise.
75461         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75462         (readdinitgroups): Return value returned by addinitgroupsX.
75463         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75464         (prune_cache): Keep track of timeout value of re-added entries.
75465         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75466         * nscd/nscd.h: Adjust prototypes of readd* functions.
75468 2011-02-04  Roland McGrath  <roland@redhat.com>
75470         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75471         (nis_stats): Likewise.
75472         * nis/nis_modify.c (nis_modify): Likewise.
75473         * nis/nis_remove.c (nis_remove): Likewise.
75474         * nis/nis_add.c (nis_add): Likewise.
75476         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75478         * posix/fnmatch_loop.c: Add some consts.
75480         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75482 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
75484         [BZ #12460]
75485         * config.make.in (config-cflags-novzeroupper): Define.
75486         * configure.in: Substitute libc_cv_cc_novzeroupper.
75487         * elf/Makefile (AVX-CFLAGS): Define.
75488         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75489         (CFLAGS-tst-auditmod4a.c): Likewise.
75490         (CFLAGS-tst-auditmod4b.c): Likewise.
75491         (CFLAGS-tst-auditmod6b.c): Likewise.
75492         (CFLAGS-tst-auditmod6c.c): Likewise.
75493         (CFLAGS-tst-auditmod7b.c): Likewise.
75494         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75496 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
75498         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75499         function to the callback.
75500         Patch partly by Jiri Olsa <jolsa@redhat.com>.
75502 2011-02-02  Andreas Schwab  <schwab@redhat.com>
75504         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75505         of errno.
75507 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
75509         [BZ #11724]
75510         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75511         of constructors.
75512         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75513         of destructors.
75514         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75516         [BZ #11724]
75517         * elf/Makefile: Add rules to build and run new test.
75518         * elf/tst-initorder.c: New file.
75519         * elf/tst-initorder.exp: New file.
75520         * elf/tst-initordera1.c: New file.
75521         * elf/tst-initordera2.c: New file.
75522         * elf/tst-initordera3.c: New file.
75523         * elf/tst-initordera4.c: New file.
75524         * elf/tst-initorderb1.c: New file.
75525         * elf/tst-initorderb2.c: New file.
75526         * elf/tst-order-a1.c: New file.
75527         * elf/tst-order-a2.c: New file.
75528         * elf/tst-order-a3.c: New file.
75529         * elf/tst-order-a4.c: New file.
75530         * elf/tst-order-b1.c: New file.
75531         * elf/tst-order-b2.c: New file.
75532         * elf/tst-order-main.c: New file.
75533         New test case by George Gensure <werkt0@gmail.com>.
75535 2010-10-01  Andreas Schwab  <schwab@redhat.com>
75537         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75538         decoding ACE if AI_CANONIDN.
75540 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
75542         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75544 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
75546         * version.h (RELEASE): Bump for 2.13 release.
75547         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75549         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75551         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75552         MADV_NOHUGEPAGE.
75553         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75554         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75555         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75556         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75557         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75558         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75560         * posix/getconf.c: Update copyright year.
75561         * catgets/gencat.c: Likewise.
75562         * csu/version.c: Likewise.
75563         * debug/catchsegv.sh: Likewise.
75564         * debug/xtrace.sh: Likewise.
75565         * elf/ldconfig.c: Likewise.
75566         * elf/ldd.bash.in: Likewise.
75567         * elf/sprof.c (print_version): Likewise.
75568         * iconv/iconv_prog.c: Likewise.
75569         * iconv/iconvconfig.c: Likewise.
75570         * locale/programs/locale.c: Likewise.
75571         * locale/programs/localedef.c: Likewise.
75572         * malloc/memusage.sh: Likewise.
75573         * malloc/mtrace.pl: Likewise.
75574         * nscd/nscd.c (print_version): Likewise.
75575         * nss/getent.c: Likewise.
75577         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75578         PF_CAIF, and PF_ALG.
75579         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75581 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
75583         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75584         (modules-names): Use them.
75585         (ifunc-test-modules, ifunc-pie-tests): Define.
75586         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75587         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75588         (test-extras): Likewise.
75589         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75590         $(compile-command.c).
75591         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75592         (all-built-dso): Define.
75593         (check-textrel.out, check-execstack.out): Depend on it.
75595         * configure.in: Don't override --enable-multi-arch.
75597 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
75599         [BZ #6812]
75600         * nscd/hstcache.c (tryagain): Define.
75601         (cache_addhst): Return tryagain not notfound for temporary errors.
75602         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75603         failed.
75605 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
75607         [BZ #10563]
75608         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75609         to make the syscall.
75610         * sysdeps/unix/sysv/linux/setgroups.c: New file.
75612         [BZ #12378]
75613         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75614         and fall back to matching as normal character if the string ends before
75615         the matching ']' is found.  This is what POSIX requires.
75616         * posix/testfnm.c: Adjust test result.
75617         * posix/globtest.sh: Adjust test result.  Add new test.
75618         * posix/tst-fnmatch.input: Likewise.
75619         * posix/tst-fnmatch2.c: Add new test.
75621 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
75623         * elf/Makefile (check-execstack): Revert last change.  Depend on
75624         check-execstack.h.
75625         (check-execstack.h): New target.
75626         (generated): Add check-execstack.h.
75627         * elf/check-execstack.c: Include "check-execstack.h".
75628         (main): Revert last change.
75629         (handle_file): Return zero if GNU_STACK is absent and
75630         DEFAULT_STACK_PERMS doesn't include PF_X.
75632 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75634         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75635         in child fails because the descriptor is already closed.
75636         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75637         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75638         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75640         [BZ #12397]
75641         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75642         syscall.
75644         [BZ #10484]
75645         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75646         temporary buffer used to handle multi lookups locally.
75647         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75649 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75651         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75652         loader is ld.so.
75654 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75656         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75657         alignment for SSE2.
75659 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75661         [BZ #12394]
75662         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75663         characters.  When rounding increased number of integer digits recompute
75664         number of groups.
75665         * stdio-common/tst-grouping.c: New file.
75666         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75668 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75670         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75671         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75673         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75674         void.
75675         * bits/select.h: Likewise.
75677 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75679         * po/ja.po: Update from translation team.
75681 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
75683         [BZ #11155]
75684         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75685         implementation just like for lxstat, fxstatat, et al.
75687 2010-12-27  Jim Meyering  <meyering@redhat.com>
75689         [BZ #12348]
75690         * posix/regexec.c (build_trtable): Return failure indication upon
75691         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
75693 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
75695         [BZ #12201]
75696         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75697         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75698         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75699         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75701         [BZ #12207]
75702         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75704         [BZ #12204]
75705         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75706         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75708 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75710         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75711         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75712         script has SORT_BY_INIT_PRIORITY.
75713         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75714         NO_CTORS_DTORS_SECTIONS is defined.
75715         * elf/soinit.c: Likewise.
75716         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75717         NO_CTORS_DTORS_SECTIONS is defined.
75718         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75719         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75720         * sysdeps/sh/init-first.c: Likewise.
75721         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75723 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
75725         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75726         always use the slow path.
75728 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
75730         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75731         similar rule which adds the sysdep directories to the header search in
75732         order to pick up the correct platform stackinfo.h.
75733         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75734         perform test if it is, otherwise return successfully without testing.
75735         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75736         DEFAULT_STACK_PERMS define in stackinfo.h.
75737         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
75738         defined in stackinfo.h.
75739         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
75740         DEFAULT_STACK_PERMS defined in stackinfo.h.
75741         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
75742         * sysdeps/ia64/stackinfo.h: Likewise.
75743         * sysdeps/s390/stackinfo.h: Likewise.
75744         * sysdeps/sh/stackinfo.h: Likewise.
75745         * sysdeps/sparc/stackinfo.h: Likewise.
75746         * sysdeps/x86_64/stackinfo.h: Likewise.
75747         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
75748         PF_X for powerpc64.  Retain PF_X for powerpc32.
75750 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
75752         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
75753         accurately.
75754         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
75755         GETDENTS_64BIT_ALIGNED.
75757 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
75759         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
75761 2010-12-10  Andreas Schwab  <schwab@redhat.com>
75763         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
75764         _GNU_SOURCE.
75766         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
75767         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
75768         Remove __restrict.
75769         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
75770         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
75772 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
75774         [BZ #11655]
75775         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
75776         are initialized.
75778 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
75780         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
75782 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
75784         * po/it.po: Update from translation team.
75786 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
75788         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
75789         unused codes.
75791 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
75793         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
75795 2010-11-24  Andreas Schwab  <schwab@redhat.com>
75797         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
75798         specially.
75799         (gaih_getanswer_slice): Likewise.
75801 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
75803         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
75805 2010-05-31  Petr Baudis  <pasky@suse.cz>
75807         [BZ #11149]
75808         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
75809         silently even in the chroot mode.
75811 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
75813         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
75814         last patch a bit.  Pretty printing
75816 2010-05-31  Petr Baudis <pasky@suse.cz>
75818         [BZ #10085]
75819         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
75820         initialization of skip_initgroups_dyn.
75822 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
75824         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
75825         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75827 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
75829         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
75831 2010-11-11  Andreas Schwab  <schwab@redhat.com>
75833         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
75834         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
75835         (tst-fnmatch-ENV): Set MALLOC_TRACE.
75836         ($(objpfx)tst-fnmatch-mem): New rule.
75837         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
75838         * posix/tst-fnmatch.c (main): Call mtrace.
75840 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
75842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75843         Support Intel processor model 6 and model 0x2c.
75845 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
75847         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
75848           signed comparison.
75850 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
75852         [BZ #12205]
75853         * string/test-strncasecmp.c (check_result): New function.
75854         (do_one_test): Use it.
75855         (check1): New function.
75856         (test_main): Use it.
75857         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
75858         Support strcasecmp and strncasecmp.
75860 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
75862         [BZ #12194]
75863         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
75864         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75866 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
75868         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
75869         IFUNC support.
75870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75871         memset-x86-64.
75872         * sysdeps/x86_64/multiarch/bzero.S: New file.
75873         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
75874         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
75875         * sysdeps/x86_64/multiarch/memset.S: New file.
75876         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
75877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75878         Set bit_Prefer_SSE_for_memop for Intel processors.
75879         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
75880         Define.
75881         (index_Prefer_SSE_for_memop): Define.
75882         (HAS_PREFER_SSE_FOR_MEMOP): Define.
75884 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
75886         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
75887         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
75889 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
75891         [BZ #12191]
75892         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75893         (__x86_64_raw_data_cache_size_half): Likewise.
75894         (__x86_64_raw_shared_cache_size): Likewise.
75895         (__x86_64_raw_shared_cache_size_half): Likewise.
75897         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75898         (__x86_64_raw_data_cache_size_half): Likewise.
75899         (__x86_64_raw_shared_cache_size): Likewise.
75900         (__x86_64_raw_shared_cache_size_half): Likewise.
75901         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
75902         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
75903         and __x86_64_raw_shared_cache_size_half.  Round
75904         __x86_64_data_cache_size_half, __x86_64_data_cache_size
75905         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
75906         to multiple of 256 bytes.
75908 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
75910         [BZ #12167]
75911         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
75912         of inacessible symlinks.  Verify result of symlink before returning it.
75913         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
75914         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
75916 2010-10-28  Erich Ritz  <erichritz@gmail.com>
75918         * math/math.h (isinf): Fix typo in comment.
75920 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
75922         * po/da.po: Update from translation team.
75924 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
75926         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
75927         is added to the list.
75929 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75930             Ulrich Drepper  <drepper@gmail.com>
75932         * elf/dl-object.c (_dl_new_object): Don't append the new object to
75933         the global list here.  Move code to...
75934         (_dl_add_to_namespace_list): ...here.  New function.
75935         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
75936         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
75937         * elf/dl-load.c (lose): Don't remove the element from the list.
75938         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
75939         (_dl_map_object): Likewise.
75941 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
75943         [BZ #12159]
75944         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75945         into all bytes of SSE register.
75946         Patch by Richard Li <richardpku@gmail.com>.
75948 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
75950         [BZ #12140]
75951         * malloc/malloc.c (_int_free): Fill correct number of bytes when
75952         perturbing.
75954 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
75956         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75957         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75958         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75959         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75961         submachine.
75962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75964 2010-10-22  Andreas Schwab  <schwab@redhat.com>
75966         * include/dlfcn.h (__RTLD_SECURE): Define.
75967         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
75968         mode & __RTLD_SECURE instead.
75969         (open_path): Rename preloaded parameter to secure.
75970         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75971         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75972         * elf/dl-deps.c (openaux): Likewise.
75973         * elf/rtld.c (struct map_args): Remove is_preloaded.
75974         (map_doit): Don't use it.
75975         (dl_main): Likewise.
75976         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75977         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75979 2010-09-09  Andreas Schwab  <schwab@redhat.com>
75981         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75982         (sysd-rules-targets): Remove duplicates.
75983         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75984         rtld-%.$o dependency.
75986 2010-10-18  Andreas Schwab  <schwab@redhat.com>
75988         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75989         _dl_map_object do it.
75991 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
75993         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75994         fast fma builtins, define the macros in the C99 standard.
75995         (FP_FAST_FMAF): Likewise.
75996         (FP_FAST_FMAL): Likewise.
75997         * sysdeps/x86_64/bits/mathdef.h: Likewise.
75999         * bits/mathdef.h: Update copyright year.
76000         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76002 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76004         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76005         builtins, define the macros in the C99 standard.
76006         (FP_FAST_FMAF): Likewise.
76007         (FP_FAST_FMAL): Likewise.
76008         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76009         multiply/add.
76010         (FP_FAST_FMAF): Likewise.
76012 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76014         [BZ #3268]
76015         * math/libm-test.inc (fma_test): Some new testcases.
76016         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76017         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76018         y and infinite z.  Do multiplication by C already in long double.
76019         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76020         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76021         y and infinite z.  Do bitwise or of inexact bit into u.d.
76022         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76023         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76024         * sysdeps/i386/fpu/s_fma.S: Removed.
76025         * sysdeps/i386/fpu/s_fmal.S: Removed.
76027 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76029         [BZ #3268]
76030         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76031         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76032         computation is not scheduled after fetestexcept.  Fix value
76033         of minimum denormal long double.
76035 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76037         [BZ #3268]
76038         * math/libm-test.inc (fma_test): Add some more tests.
76039         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76040         correctly.
76042 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76044         * scripts/data/localplt-s390-linux-gnu.data: New file.
76045         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76047 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76049         [BZ #3268]
76050         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76051         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76052         instead of dbl-64.
76053         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76054         inlines.
76055         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76056         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76057         if one of x and y is very large and the other is subnormal.
76058         * sysdeps/s390/fpu/s_fmaf.c: New file.
76059         * sysdeps/s390/fpu/s_fma.c: New file.
76060         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76061         * sysdeps/powerpc/fpu/s_fma.S: New file.
76062         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76063         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76064         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76066 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76068         [BZ #3268]
76069         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76070         fma tests.
76071         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76072         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76073         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76074         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76075         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76076         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76077         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76079 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76081         [BZ #12078]
76082         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76083         * posix/bug-regex31.input: Add test case.
76085 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76087         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76088         * posix/bug-regex31.input: New file.
76090         [BZ #12078]
76091         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76092         (parse_sub_exp): Fix last change, use postorder.
76094         * posix/bug-regex31.c: New file.
76095         * posix/Makefile: Add rules to build and run bug-regex31.
76097         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76099         [BZ #12078]
76100         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76102         [BZ #12108]
76103         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76104         to have entries in sys_siglist.
76106         [BZ #12093]
76107         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76108         be NULL.
76110 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76112         [BZ #3268]
76113         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76114         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76115         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76116         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76117         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76118         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76119         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76120         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76121         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76122         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76123         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76124         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76125         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76126         * math/ftestexcept.c (fetestexcept): Likewise.
76127         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76128         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76129         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76130         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76131         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76132         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76133         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76135 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76137         [BZ #12107]
76138         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76139         newline.
76141 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76143         * string/bug-strstr1.c: New file.
76144         * string/Makefile: Add rules to build and run bug-strstr1.
76146 2010-10-05  Eric Blake  <eblake@redhat.com>
76148         [BZ #12092]
76149         * string/str-two-way.h (two_way_long_needle): Always clear memory
76150         when skipping input due to the shift table.
76152 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76154         [BZ #12005]
76155         * malloc/mcheck.c: Handle large requests.
76157         [BZ #12077]
76158         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76159         for strncmp and strncasecmp.
76160         * string/stratcliff.c: Add tests for strcmp and strncmp.
76161         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76163 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76165         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76166         __set_fpscr.
76168 2010-09-30  Andreas Jaeger  <aj@suse.de>
76170         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76171         (CGROUP_SUPER_MAGIC): Define.
76172         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76173         Handle btrfs and cgroup file systems.
76174         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76175         Likewise.
76177 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76179         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76180         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76182 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76184         [BZ #12067]
76185         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76186         trying to locate the ELF header.
76188 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76190         [BZ #11611]
76191         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76192         Mask out sign-bit copies when constructing f_fsid.
76194 2010-09-24  Petr Baudis <pasky@suse.cz>
76196         * debug/stack_chk_fail_local.c: Add missing licence exception.
76197         * debug/warning-nop.c: Likewise.
76199 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76201         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76202         implementing getdents64 using getdents syscall, set d_type if
76203         __ASSUME_GETDENTS32_D_TYPE.
76205 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76207         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76208         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76210 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76212         [BZ #12037]
76213         * posix/unistd.h: Undo change of feature selection for ftruncate from
76214         2010-01-11.
76216 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76218         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76219         detection.
76221 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76223         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76224         fanotify_mark.
76225         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76227 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76229         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76230         variables after CHECK_SP call.
76231         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76233 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76234             Ulrich Drepper  <drepper@redhat.com>
76236         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76237         re-relocationg ld.so.
76238         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76239         _dl_init_paths call.
76240         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76241         here anymore.
76243 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76245         * resolv/res_init.c (__res_vinit): Count the default server we added.
76247 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76248             Ulrich Drepper  <drepper@redhat.com>
76250         [BZ #11968]
76251         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76252         (____longjmp_chk): Use %ebx for saving value across system call.
76253         Add unwind info.
76255 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76257         * manual/Makefile: Don't mix pattern rules with normal rules.
76259 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76261         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76262         operation.
76263         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76264         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76265         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76266         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76267         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76268         Likewise.
76270 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76272         [BZ #11979]
76273         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76274         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76276 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76278         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76279         * sysdeps/x86_64/addmul_1.S: Likewise.
76280         * sysdeps/x86_64/lshift.S: Likewise.
76281         * sysdeps/x86_64/mul_1.S: Likewise.
76282         * sysdeps/x86_64/rshift.S: Likewise.
76283         * sysdeps/x86_64/sub_n.S: Likewise.
76284         * sysdeps/x86_64/submul_1.S: Likewise.
76286 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76288         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76289         Define __sched_param instead of SCHED_* and sched_param when
76290         <bits/sched.h> is included with __need_schedparam defined.
76291         * bits/sched.h [__need_schedparam]
76292         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76293         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76294         (__defined_schedparam): Define to 1.
76295         (__sched_param): New structure, identical to sched_param.
76296         (__need_schedparam): Undefine.
76298 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76300         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76301         (epoll_create1): Declare.
76303         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76305 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76307         [BZ #7066]
76308         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76309         shifting retval into place.
76311 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
76313         * nis/rpcsvc/nis.h: Update copyright notice.
76314         * nis/rpcsvc/nis.x: Likewise.
76315         * nis/rpcsvc/nis_callback.h: Likewise.
76316         * nis/rpcsvc/nis_callback.x: Likewise.
76317         * nis/rpcsvc/nis_object.x: Likewise.
76318         * nis/rpcsvc/nis_tags.h: Likewise.
76319         * nis/rpcsvc/yp.h: Likewise.
76320         * nis/rpcsvc/yp.x: Likewise.
76321         * nis/rpcsvc/ypupd.h: Likewise.
76322         * nis/yp_xdr.c: Likewise.
76323         * nis/ypupdate_xdr.c: Likewise.
76325         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
76326         mainly the body of pmap_getport.  Add parameters to specify timeouts.
76327         (pmap_getport): Use __libc_rpc_getport.
76328         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76329         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76330         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76332 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
76334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76335         fanotify_mark.
76337 2010-08-27  Roland McGrath  <roland@redhat.com>
76339         * sysdeps/i386/i686/multiarch/Makefile
76340         (CFLAGS-varshift.c): New variable.
76342 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
76344         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76345         * sysdeps/i386/i686/multiarch/varshift.c: New file.
76347         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76349         * sysdeps/x86_64/strlen.S: Minimal code improvement.
76351 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
76353         * sysdeps/x86_64/strlen.S: Unroll the loop.
76354         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76355         strlen-sse2 strlen-sse2-bsf.
76356         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76357         __strlen_no_bsf if bit_Slow_BSF is set.
76358         (__strlen_sse42): Removed.
76359         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76360         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76362 2010-08-25  Roland McGrath  <roland@redhat.com>
76364         * sysdeps/x86_64/multiarch/varshift.S: File removed.
76365         * sysdeps/x86_64/multiarch/varshift.c: New file.
76366         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76367         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76368         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76369         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76371 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
76373         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76374         strlen-sse2 strlen-sse2-bsf.
76375         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76376         __strlen_sse2_bsf if bit_Slow_BSF is unset.
76377         (__strlen_sse2): Removed.
76378         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76379         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76380         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76381         bit_Slow_BSF for Atom.
76382         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76383         (index_Slow_BSF): Define.
76384         (HAS_SLOW_BSF): Define.
76386 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76388         [BZ #10851]
76389         * resolv/res_init.c (__res_vinit): When no server address at all
76390         is given default to loopback.
76392 2010-08-24  Roland McGrath  <roland@redhat.com>
76394         * configure.in: Remove config-name.h generation.
76395         * configure: Regenerated.
76396         * config-name.in: File removed.
76397         * scripts/config-uname.sh: New file.
76398         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76399         ($(objdir)config-name.h): New target.
76401         * sunrpc/rpc_parse.h: Avoid nested comment.
76403 2010-08-24  Richard Henderson  <rth@redhat.com>
76404             Ulrich Drepper  <drepper@redhat.com>
76405             H.J. Lu  <hongjiu.lu@intel.com>
76407         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76409         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76410         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76411         _mm_alignr_epi8 with _mm_loadu_si128.
76412         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76413         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76414         (__m128i_shift_right): Removed.
76415         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76416         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76417         * sysdeps/x86_64/multiarch/varshift.h: New file.
76418         * sysdeps/x86_64/multiarch/varshift.S: New file.
76420 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76422         * configure.in: Move assembler checks to before sysdep dir checking.
76424 2010-08-20  Petr Baudis  <pasky@suse.cz>
76426         * LICENSES: Sync the sunrpc license.
76428 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76430         * sunrpc/auth_des.c: Update copyright notice once again.
76431         * sunrpc/auth_none.c: Likewise.
76432         * sunrpc/auth_unix.c: Likewise.
76433         * sunrpc/authdes_prot.c: Likewise.
76434         * sunrpc/authuxprot.c: Likewise.
76435         * sunrpc/bindrsvprt.c: Likewise.
76436         * sunrpc/clnt_gen.c: Likewise.
76437         * sunrpc/clnt_perr.c: Likewise.
76438         * sunrpc/clnt_raw.c: Likewise.
76439         * sunrpc/clnt_simp.c: Likewise.
76440         * sunrpc/clnt_tcp.c: Likewise.
76441         * sunrpc/clnt_udp.c: Likewise.
76442         * sunrpc/clnt_unix.c: Likewise.
76443         * sunrpc/des_crypt.c: Likewise.
76444         * sunrpc/des_soft.c: Likewise.
76445         * sunrpc/get_myaddr.c: Likewise.
76446         * sunrpc/getrpcport.c: Likewise.
76447         * sunrpc/key_call.c: Likewise.
76448         * sunrpc/key_prot.c: Likewise.
76449         * sunrpc/openchild.c: Likewise.
76450         * sunrpc/pm_getmaps.c: Likewise.
76451         * sunrpc/pm_getport.c: Likewise.
76452         * sunrpc/pmap_clnt.c: Likewise.
76453         * sunrpc/pmap_prot.c: Likewise.
76454         * sunrpc/pmap_prot2.c: Likewise.
76455         * sunrpc/pmap_rmt.c: Likewise.
76456         * sunrpc/rpc/auth.h: Likewise.
76457         * sunrpc/rpc/auth_unix.h: Likewise.
76458         * sunrpc/rpc/clnt.h: Likewise.
76459         * sunrpc/rpc/des_crypt.h: Likewise.
76460         * sunrpc/rpc/key_prot.h: Likewise.
76461         * sunrpc/rpc/netdb.h: Likewise.
76462         * sunrpc/rpc/pmap_clnt.h: Likewise.
76463         * sunrpc/rpc/pmap_prot.h: Likewise.
76464         * sunrpc/rpc/pmap_rmt.h: Likewise.
76465         * sunrpc/rpc/rpc.h: Likewise.
76466         * sunrpc/rpc/rpc_des.h: Likewise.
76467         * sunrpc/rpc/rpc_msg.h: Likewise.
76468         * sunrpc/rpc/svc.h: Likewise.
76469         * sunrpc/rpc/svc_auth.h: Likewise.
76470         * sunrpc/rpc/types.h: Likewise.
76471         * sunrpc/rpc/xdr.h: Likewise.
76472         * sunrpc/rpc_clntout.c: Likewise.
76473         * sunrpc/rpc_cmsg.c: Likewise.
76474         * sunrpc/rpc_common.c: Likewise.
76475         * sunrpc/rpc_cout.c: Likewise.
76476         * sunrpc/rpc_dtable.c: Likewise.
76477         * sunrpc/rpc_hout.c: Likewise.
76478         * sunrpc/rpc_main.c: Likewise.
76479         * sunrpc/rpc_parse.c: Likewise.
76480         * sunrpc/rpc_parse.h: Likewise.
76481         * sunrpc/rpc_prot.c: Likewise.
76482         * sunrpc/rpc_sample.c: Likewise.
76483         * sunrpc/rpc_scan.c: Likewise.
76484         * sunrpc/rpc_scan.h: Likewise.
76485         * sunrpc/rpc_svcout.c: Likewise.
76486         * sunrpc/rpc_tblout.c: Likewise.
76487         * sunrpc/rpc_util.c: Likewise.
76488         * sunrpc/rpc_util.h: Likewise.
76489         * sunrpc/rpcinfo.c: Likewise.
76490         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76491         * sunrpc/rpcsvc/key_prot.x: Likewise.
76492         * sunrpc/rpcsvc/klm_prot.x: Likewise.
76493         * sunrpc/rpcsvc/mount.x: Likewise.
76494         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76495         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76496         * sunrpc/rpcsvc/rex.x: Likewise.
76497         * sunrpc/rpcsvc/rstat.x: Likewise.
76498         * sunrpc/rpcsvc/rusers.x: Likewise.
76499         * sunrpc/rpcsvc/sm_inter.x: Likewise.
76500         * sunrpc/rpcsvc/spray.x: Likewise.
76501         * sunrpc/rpcsvc/yppasswd.x: Likewise.
76502         * sunrpc/rtime.c: Likewise.
76503         * sunrpc/svc.c: Likewise.
76504         * sunrpc/svc_auth.c: Likewise.
76505         * sunrpc/svc_authux.c: Likewise.
76506         * sunrpc/svc_raw.c: Likewise.
76507         * sunrpc/svc_run.c: Likewise.
76508         * sunrpc/svc_simple.c: Likewise.
76509         * sunrpc/svc_tcp.c: Likewise.
76510         * sunrpc/svc_udp.c: Likewise.
76511         * sunrpc/svc_unix.c: Likewise.
76512         * sunrpc/svcauth_des.c: Likewise.
76513         * sunrpc/xcrypt.c: Likewise.
76514         * sunrpc/xdr.c: Likewise.
76515         * sunrpc/xdr_array.c: Likewise.
76516         * sunrpc/xdr_float.c: Likewise.
76517         * sunrpc/xdr_mem.c: Likewise.
76518         * sunrpc/xdr_rec.c: Likewise.
76519         * sunrpc/xdr_ref.c: Likewise.
76520         * sunrpc/xdr_sizeof.c: Likewise.
76521         * sunrpc/xdr_stdio.c: Likewise.
76523         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76524         handling.
76526 2010-08-19  Andreas Schwab  <schwab@redhat.com>
76528         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76530 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
76532         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76533         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76534         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76535         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76536         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76537         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76538         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76539         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76540         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76541         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76542         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76543         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76544         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76545         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76547 2010-07-26  Anton Blanchard  <anton@samba.org>
76549         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76550         * malloc/arena.c (heap_trim): Likewise.
76552 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
76554         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76555         here.  Not...
76556         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76557         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76559 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
76561         * sysdeps/i386/elf/Makefile: New file.
76563 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76565         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76566         from fanotify_init.
76567         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76568         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76570 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
76572         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76573         of strncasecmp_l.
76574         * sysdeps/multiarch/strcmp.S: Likewise.
76576 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
76578         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76579         strncase_l-nonascii.
76580         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76581         Add strncase_l-ssse3.
76582         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76583         * sysdeps/x86_64/strcmp.S: Likewise.
76584         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76585         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76586         * sysdeps/x86_64/strncase.S: New file.
76587         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76588         * sysdeps/x86_64/strncase_l.S: New file.
76589         * string/Makefile (strop-tests): Add strncasecmp.
76590         * string/test-strncasecmp.c: New file.
76592         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76593         warning.
76595         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76596         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76598 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76600         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76602 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
76604         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76605         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76606         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76608 2010-05-01  Alan Modra  <amodra@gmail.com>
76610         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76611         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76612         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76613         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76614         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76615         tidying.  Don't tail-call __sigjmp_save for static lib.
76616         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76617         save location.
76618         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76619         (CALL_MCOUNT): Add eh info, and nop after bl.
76620         (TAIL_CALL_SYSCALL_ERROR): New macro.
76621         (PSEUDO_RET): Use it.
76622         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76623         Correct save location of integer regs and cr.
76624         (_dl_profile_resolve): Correct cr save location.  Delete nops
76625         after bl when SHARED.  Reduce cfi size a little by better
76626         placement of cfi directives.
76627         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76628         make a stack frame.  Instead use parm save area as a temp.
76629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76630         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76632         Don't make a stack frame for parent, use parm save area.
76633         Increase child stack frame to 112 bytes.  Don't save unused reg,
76634         and adjust reg usage.  Set up cfi on error recovery and
76635         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76637         (__makecontext): Add dummy nop after jump to exit.
76638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76639         Use correct parm save area and cr save, reduce stack frame.
76640         Correct cfi for possible PSEUDO_RET frame setup.
76641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76642         Branch to local label emitted by PSEUDO_RET rather than
76643         __syscall_error.
76645 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76647         [BZ #11904]
76648         * locale/programs/locale.c (print_assignment): New function.
76649         (show_locale_vars): Use it.
76651 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76653         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76654         field.
76655         (struct statfs64): Likewise.
76656         (_STATFS_F_FLAGS): Define.
76657         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76658         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76659         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76660         (ST_VALID): Define locally.
76661         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76662         __statvfs_getflags, use the provided value.
76663         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76664         __ASSUME_STATFS_F_FLAGS.
76666         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76668         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76669         Add sys/fanotify.h.
76670         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76671         fanotify_mask for GLIBC_2.13.
76672         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76673         fanotify_init and fanotify_mark.
76674         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76675         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76677         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76678         Add prlimit.
76679         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76680         prlimit64 for GLIBC_2.13.
76681         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76682         prlimit64.
76683         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76684         syscall.
76685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76686         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76687         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76688         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76689         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
76690         add prlimit alias.
76691         * sysdeps/unix/sysv/linux/prlimit.c: New file.
76693         [BZ #11903]
76694         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76695         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76697         * nss/Makefile: Add rules to build and run tst-nss-test1.
76698         * shlib-versions: Add entry for libnss_test1.
76699         * nss/nss_test1.c: New file.
76700         * nss/tst-nss-test1.c: New file.
76702         * nss/nsswitch.c (__nss_database_custom): Define new variable.
76703         (__nss_configure_lookup): Set appropriate entry in
76704         __nss_configure_lookup to true.
76705         * nss/nsswitch.h: Define enum with indeces of databases in
76706         databases and __nss_database_custom arrays.  Declare
76707         __nss_database_custom.
76708         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76709         to avoid using nscd when custom rules are installed.
76710         * nss/getXXbyYY_r.c: Likewise.
76711         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76713         * nss/nss_files/files-parse.c: Whitespace fixes.
76715 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
76717         [BZ #11883]
76718         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76719         * posix/fnmatch_loop.c: Likewise.
76721 2010-07-17  Andi Kleen  <ak@linux.intel.com>
76723         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76724         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76725         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76726         * Versions.def [GLIBC_2.13]: Add.
76728 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
76730         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76731         Also fail if tpwd after pwuid call is NULL.
76733 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76735         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76736         when converting to ms.
76738 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76740         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
76741         EOPNOTSUPP errors with ENOTTY.
76742         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
76743         EOPNOTSUPP errors with ENOTTY.
76745 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
76747         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76748         Add strcasecmp_l-ssse3.
76749         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
76750         strcasecmp.
76751         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
76752         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
76753         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
76755 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
76757         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
76759         * string/Makefile (strop-tests): Add strcasecmp.
76760         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76761         strcasecmp_l-nonascii.
76762         (gen-as-const-headers): Add locale-defines.sym.
76763         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
76764         * sysdeps/x86_64/strcasecmp.S: New file.
76765         * sysdeps/x86_64/strcasecmp_l.S: New file.
76766         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
76767         * sysdeps/x86_64/locale-defines.sym: New file.
76768         * string/test-strcasecmp.c: New file.
76770         * string/test-strcasestr.c: Test both ends of the range of characters.
76771         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
76773 2010-07-29  Roland McGrath  <roland@redhat.com>
76775         [BZ #11856]
76776         * manual/locale.texi (Yes-or-No Questions): Fix example code.
76778 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
76780         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
76781         for ld.so.
76783 2010-07-27  Andreas Schwab  <schwab@redhat.com>
76785         * manual/memory.texi (Malloc Tunable Parameters): Document
76786         M_PERTURB.
76788 2010-07-26  Roland McGrath  <roland@redhat.com>
76790         [BZ #11840]
76791         * configure.in (-fgnu89-inline check): Set and substitute
76792         gnu89_inline, not libc_cv_gnu89_inline.
76793         * configure: Regenerated.
76794         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
76796 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
76798         * string/test-strnlen.c: New file.
76799         * string/Makefile (strop-tests): Add strnlen.
76800         * string/tester.c (test_strnlen): Add a few more test cases.
76801         * string/tst-strlen.c: Better error reporting.
76803         * sysdeps/x86_64/strnlen.S: New file.
76805 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
76807         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
76808         lower-latency instructions.
76810 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
76812         * string/test-strcasestr.c: New file.
76813         * string/test-strstr.c: New file.
76814         * string/Makefile (strop-tests): Add strstr and strcasestr.
76815         * string/str-two-way.h: Don't undefine MAX.
76816         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
76818 2010-07-21  Andreas Schwab  <schwab@redhat.com>
76820         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76821         strcasestr-nonascii.
76822         (CFLAGS-strcasestr-nonascii.c): Define.
76823         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
76824         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
76825         Remove unused attribute.
76827 2010-07-20  Roland McGrath  <roland@redhat.com>
76829         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
76830         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
76831         ld.so.cache was broken.  With it, there is no way to disable dsocaps
76832         like LD_HWCAP_MASK can disable hwcaps.
76834 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76836         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
76838 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
76840         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
76841         call in strcasestr.
76842         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
76843         __strcasestr_sse42_nonascii.
76844         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
76845         strcasestr-nonascii.c.
76846         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
76848 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
76850         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
76851         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
76852         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
76853         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
76855 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
76857         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
76858         fcntl.
76860 2010-07-06  Andreas Schwab  <schwab@redhat.com>
76862         [BZ #11577]
76863         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
76864         dl_signal_cerror.
76866 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
76868         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
76869         _PC_PIPE_BUF using F_GETPIPE_SZ.
76871 2010-07-05  Roland McGrath  <roland@redhat.com>
76873         * manual/arith.texi (Rounding Functions): Fix rint description
76874         implicit in round description.
76876 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
76878         * elf/Makefile: Fix linking for a few tests to make recent linker
76879         happy.
76881 2010-06-30  Andreas Schwab  <schwab@redhat.com>
76883         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76884         $(common-objpfx)libc_nonshared.a.
76886 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
76888         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
76889         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
76890         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76891         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76892         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
76893         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
76894         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76895         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
76897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
76898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
76899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
76901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
76903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
76904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
76905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
76906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
76908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
76910         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
76911         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
76912         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
76913         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
76914         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
76915         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
76916         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
76917         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
76918         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
76919         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
76920         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
76921         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
76922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
76923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
76924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
76925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
76926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
76927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
76928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
76929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
76930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
76931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
76932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
76933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
76934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
76935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
76937 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
76939         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
76940         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
76941         * string/memmove.c (memmove): Renamed to ...
76942         (MEMMOVE): ...this.  Default to memmove.
76943         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76944         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76945         (END_CHK): Define.
76946         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76947         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76948         mempcpy-ssse3-back memmove-ssse3-back.
76949         * sysdeps/x86_64/multiarch/bcopy.S: New file .
76950         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76951         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76952         * sysdeps/x86_64/multiarch/memcpy.S: New file.
76953         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76954         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76955         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76956         * sysdeps/x86_64/multiarch/memmove.c: New file.
76957         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76958         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76959         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76960         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76961         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76962         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76963         Define.
76964         (index_Fast_Copy_Backward): Define.
76965         (HAS_ARCH_FEATURE): Define.
76966         (HAS_FAST_REP_STRING): Define.
76967         (HAS_FAST_COPY_BACKWARD): Define.
76969 2010-06-21  Andreas Schwab  <schwab@redhat.com>
76971         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76972         Restore proper fallback handling.
76974 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
76976         [BZ #11701]
76977         * posix/group_member.c (__group_member): Correct checking loop.
76979         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76980         OOM in getpwuid_r correctly.  Return error number when the caller
76981         should return, otherwise -1.
76982         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76983         call returning > 0 value.
76984         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76986 2010-06-07  Andreas Schwab  <schwab@redhat.com>
76988         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76989         libc_nonshared.a from targets in modules-names.
76991 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
76993         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76994         requires it.
76996 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
76998         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76999         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77000         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77001         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77003 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77005         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77007 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77009         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77010         and F_GETPIPE_SZ.
77011         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77012         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77013         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77014         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77015         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77016         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77018 2010-06-14  Roland McGrath  <roland@redhat.com>
77020         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77022 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77024         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77025         __REDIRECT followed by __THROW.
77026         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77027         * posix/getopt.h (getopt): Likewise.
77029 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77031         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77032         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77033         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77034         in AT_FLAGS.
77035         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77036         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77038 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77040         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77042 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77044         [BZ #11640]
77045         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77046         Properly check family and model.
77048 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77050         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77052 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77054         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77056 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77058         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77059         symbol reference.
77061 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77063         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77064         symbol reference.
77066 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77068         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77069         and internal_recvmmsg.
77070         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77071         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77072         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77073         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77075         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77076         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77077         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77079 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77081         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77083 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77085         POWER7 optimizations.
77086         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77087         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77089 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77091         * version.h: Update for 2.13 development version.
77093 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77095         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77096         exceptions.  Return 0.
77098 2010-05-07  Roland McGrath  <roland@redhat.com>
77100         * elf/ldconfig.c (main): Add a const.
77102 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77104         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77105         (args_options): Add no-idn option.
77106         (ahosts_keys_int): Add idn_flags to ai_flags.
77107         (parse_option): Handle 'i' option to clear idn_flags.
77109         * malloc/malloc.c (_int_free): Possible race in the most recently
77110         added check.  Only act on the data if no current modification
77111         happened.
77113 See ChangeLog.17 for earlier changes.